class Google::Apis::DfareportingV3_4::Site
Contains properties of a site.
Attributes
Account
ID of this site. This is a read-only field that can be left blank. Corresponds to the JSON property `accountId` @return [Fixnum]
Whether this site is approved. Corresponds to the JSON property `approved` @return [Boolean]
Whether this site is approved. Corresponds to the JSON property `approved` @return [Boolean]
Directory site associated with this site. This is a required field that is read-only after insertion. Corresponds to the JSON property `directorySiteId` @return [Fixnum]
Represents a DimensionValue
resource. Corresponds to the JSON property `directorySiteIdDimensionValue` @return [Google::Apis::DfareportingV3_4::DimensionValue]
ID of this site. This is a read-only, auto-generated field. Corresponds to the JSON property `id` @return [Fixnum]
Represents a DimensionValue
resource. Corresponds to the JSON property `idDimensionValue` @return [Google::Apis::DfareportingV3_4::DimensionValue]
Key name of this site. This is a read-only, auto-generated field. Corresponds to the JSON property `keyName` @return [String]
Identifies what kind of resource this is. Value: the fixed string “ dfareporting#site”. Corresponds to the JSON property `kind` @return [String]
Name of this site.This is a required field. Must be less than 128 characters long. If this site is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this site is a top-level site, and the name must be unique among top-level sites of the same account. Corresponds to the JSON property `name` @return [String]
Site
contacts. Corresponds to the JSON property `siteContacts` @return [Array<Google::Apis::DfareportingV3_4::SiteContact>]
Site
Settings Corresponds to the JSON property `siteSettings` @return [Google::Apis::DfareportingV3_4::SiteSettings]
Subaccount
ID of this site. This is a read-only field that can be left blank. Corresponds to the JSON property `subaccountId` @return [Fixnum]
Video Settings Corresponds to the JSON property `videoSettings` @return [Google::Apis::DfareportingV3_4::SiteVideoSettings]
Public Class Methods
# File lib/google/apis/dfareporting_v3_4/classes.rb, line 11444 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dfareporting_v3_4/classes.rb, line 11449 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @approved = args[:approved] if args.key?(:approved) @directory_site_id = args[:directory_site_id] if args.key?(:directory_site_id) @directory_site_id_dimension_value = args[:directory_site_id_dimension_value] if args.key?(:directory_site_id_dimension_value) @id = args[:id] if args.key?(:id) @id_dimension_value = args[:id_dimension_value] if args.key?(:id_dimension_value) @key_name = args[:key_name] if args.key?(:key_name) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @site_contacts = args[:site_contacts] if args.key?(:site_contacts) @site_settings = args[:site_settings] if args.key?(:site_settings) @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id) @video_settings = args[:video_settings] if args.key?(:video_settings) end