class Google::Apis::DisplayvideoV1::Site

A single site. Sites are apps or websites belonging to a channel.

Attributes

name[RW]

Output only. The resource name of the site. Corresponds to the JSON property `name` @return [String]

url_or_app_id[RW]

Required. The app ID or URL of the site. Must be UTF-8 encoded with a maximum length of 240 bytes. Corresponds to the JSON property `urlOrAppId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 8816
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/displayvideo_v1/classes.rb, line 8821
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @url_or_app_id = args[:url_or_app_id] if args.key?(:url_or_app_id)
end