Class: Google::Apis::DisplayvideoV4::Site
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV4::Site
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v4/classes.rb,
lib/google/apis/displayvideo_v4/representations.rb,
lib/google/apis/displayvideo_v4/representations.rb
Overview
A single site. Sites are apps or websites belonging to a channel.
Instance Attribute Summary collapse
-
#name ⇒ String
Output only.
-
#url_or_app_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Site
constructor
A new instance of Site.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Site
Returns a new instance of Site.
13920 13921 13922 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13920 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Output only. The resource name of the site.
Corresponds to the JSON property name
13912 13913 13914 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13912 def name @name end |
#url_or_app_id ⇒ String
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
13918 13919 13920 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13918 def url_or_app_id @url_or_app_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13925 13926 13927 13928 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13925 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 |