google-api-client 0.9.11 → 0.9.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile +1 -1
- data/README.md +1 -1
- data/api_names.yaml +55 -117
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +76 -8
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +23 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +10 -4
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
- data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
- data/generated/google/apis/admin_directory_v1/classes.rb +6 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +1 -0
- data/generated/google/apis/admin_directory_v1/service.rb +2 -2
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +2 -2
- data/generated/google/apis/admin_reports_v1.rb +3 -3
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +371 -1
- data/generated/google/apis/analytics_v3/representations.rb +135 -0
- data/generated/google/apis/analytics_v3/service.rb +218 -0
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +18 -8
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +208 -37
- data/generated/google/apis/androidenterprise_v1/representations.rb +83 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +469 -20
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +9 -8
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +379 -297
- data/generated/google/apis/appengine_v1beta5/representations.rb +55 -10
- data/generated/google/apis/appengine_v1beta5/service.rb +281 -35
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +50 -2
- data/generated/google/apis/bigquery_v2/representations.rb +6 -0
- data/generated/google/apis/bigquery_v2/service.rb +8 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +6 -0
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +2 -1
- data/generated/google/apis/civicinfo_v2.rb +3 -2
- data/generated/google/apis/classroom_v1/classes.rb +176 -37
- data/generated/google/apis/classroom_v1/representations.rb +73 -9
- data/generated/google/apis/classroom_v1/service.rb +392 -37
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +190 -12
- data/generated/google/apis/cloudbuild_v1/representations.rb +73 -2
- data/generated/google/apis/cloudbuild_v1/service.rb +170 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/service.rb +2 -2
- data/generated/google/apis/clouddebugger_v2.rb +3 -6
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +599 -77
- data/generated/google/apis/compute_beta/representations.rb +240 -0
- data/generated/google/apis/compute_beta/service.rb +1999 -710
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +140 -58
- data/generated/google/apis/compute_v1/representations.rb +17 -0
- data/generated/google/apis/compute_v1/service.rb +462 -521
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +689 -1
- data/generated/google/apis/content_v2/representations.rb +316 -0
- data/generated/google/apis/content_v2/service.rb +244 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +48 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +5 -0
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/dfareporting_v2_6/classes.rb +11585 -0
- data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
- data/generated/google/apis/dfareporting_v2_6/service.rb +9006 -0
- data/generated/google/apis/dfareporting_v2_6.rb +40 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +8 -0
- data/generated/google/apis/fitness_v1/representations.rb +1 -0
- data/generated/google/apis/fitness_v1/service.rb +2 -2
- data/generated/google/apis/fitness_v1.rb +7 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +13 -2
- data/generated/google/apis/genomics_v1/representations.rb +1 -0
- data/generated/google/apis/genomics_v1/service.rb +2 -3
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +8 -11
- data/generated/google/apis/gmail_v1/service.rb +5 -5
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +38 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +6 -0
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +340 -421
- data/generated/google/apis/monitoring_v3/representations.rb +0 -17
- data/generated/google/apis/monitoring_v3/service.rb +136 -168
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
- data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
- data/generated/google/apis/qpx_express_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +6 -0
- data/generated/google/apis/script_v1/representations.rb +1 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +35 -0
- data/generated/google/apis/sheets_v4/representations.rb +16 -0
- data/generated/google/apis/sheets_v4/service.rb +55 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +12 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +41 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +36 -1
- data/generated/google/apis/storage_v1/representations.rb +16 -0
- data/generated/google/apis/storage_v1/service.rb +18 -3
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +6 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +2 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +15 -3
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/lib/google/apis/generator/annotator.rb +6 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -3
@@ -673,8 +673,8 @@ module Google
|
|
673
673
|
|
674
674
|
# List all the deals for a given proposal
|
675
675
|
# @param [String] proposal_id
|
676
|
-
# The proposalId to get deals for. To search across proposals specify
|
677
|
-
# '-' as part of the URL.
|
676
|
+
# The proposalId to get deals for. To search across all proposals specify
|
677
|
+
# order_id = '-' as part of the URL.
|
678
678
|
# @param [String] pql_query
|
679
679
|
# Query string to retrieve specific deals.
|
680
680
|
# @param [String] fields
|
@@ -788,7 +788,12 @@ module Google
|
|
788
788
|
|
789
789
|
# Get all the notes associated with a proposal
|
790
790
|
# @param [String] proposal_id
|
791
|
-
# The proposalId to get notes for.
|
791
|
+
# The proposalId to get notes for. To search across all proposals specify
|
792
|
+
# order_id = '-' as part of the URL.
|
793
|
+
# @param [String] pql_query
|
794
|
+
# Query string to retrieve specific notes. To search the text contents of notes,
|
795
|
+
# please use syntax like "WHERE note.note = "foo" or "WHERE note.note LIKE "%bar%
|
796
|
+
# "
|
792
797
|
# @param [String] fields
|
793
798
|
# Selector specifying which fields to include in a partial response.
|
794
799
|
# @param [String] quota_user
|
@@ -810,11 +815,12 @@ module Google
|
|
810
815
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
811
816
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
812
817
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
813
|
-
def list_marketplacenotes(proposal_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
818
|
+
def list_marketplacenotes(proposal_id, pql_query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
814
819
|
command = make_simple_command(:get, 'proposals/{proposalId}/notes', options)
|
815
820
|
command.response_representation = Google::Apis::AdexchangebuyerV1_4::GetOrderNotesResponse::Representation
|
816
821
|
command.response_class = Google::Apis::AdexchangebuyerV1_4::GetOrderNotesResponse
|
817
822
|
command.params['proposalId'] = proposal_id unless proposal_id.nil?
|
823
|
+
command.query['pqlQuery'] = pql_query unless pql_query.nil?
|
818
824
|
command.query['fields'] = fields unless fields.nil?
|
819
825
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
820
826
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/ad-exchange/buyer-rest
|
27
27
|
module AdexchangebuyerV1_4
|
28
28
|
VERSION = 'V1_4'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20160721'
|
30
30
|
|
31
31
|
# Manage your Ad Exchange buyer account configuration
|
32
32
|
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
@@ -22,8 +22,7 @@ module Google
|
|
22
22
|
module AdexchangesellerV2_0
|
23
23
|
# Ad Exchange Seller API
|
24
24
|
#
|
25
|
-
#
|
26
|
-
# generate reports
|
25
|
+
# Accesses the inventory of Ad Exchange seller users and generates reports.
|
27
26
|
#
|
28
27
|
# @example
|
29
28
|
# require 'google/apis/adexchangeseller_v2_0'
|
@@ -20,13 +20,12 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Ad Exchange Seller API
|
22
22
|
#
|
23
|
-
#
|
24
|
-
# generate reports
|
23
|
+
# Accesses the inventory of Ad Exchange seller users and generates reports.
|
25
24
|
#
|
26
25
|
# @see https://developers.google.com/ad-exchange/seller-rest/
|
27
26
|
module AdexchangesellerV2_0
|
28
27
|
VERSION = 'V2_0'
|
29
|
-
REVISION = '
|
28
|
+
REVISION = '20160805'
|
30
29
|
|
31
30
|
# View and manage your Ad Exchange data
|
32
31
|
AUTH_ADEXCHANGE_SELLER = 'https://www.googleapis.com/auth/adexchange.seller'
|
@@ -1064,6 +1064,11 @@ module Google
|
|
1064
1064
|
# @return [String]
|
1065
1065
|
attr_accessor :role
|
1066
1066
|
|
1067
|
+
# Status of member (Immutable)
|
1068
|
+
# Corresponds to the JSON property `status`
|
1069
|
+
# @return [String]
|
1070
|
+
attr_accessor :status
|
1071
|
+
|
1067
1072
|
# Type of member (Immutable)
|
1068
1073
|
# Corresponds to the JSON property `type`
|
1069
1074
|
# @return [String]
|
@@ -1080,6 +1085,7 @@ module Google
|
|
1080
1085
|
@id = args[:id] if args.key?(:id)
|
1081
1086
|
@kind = args[:kind] if args.key?(:kind)
|
1082
1087
|
@role = args[:role] if args.key?(:role)
|
1088
|
+
@status = args[:status] if args.key?(:status)
|
1083
1089
|
@type = args[:type] if args.key?(:type)
|
1084
1090
|
end
|
1085
1091
|
end
|
@@ -382,7 +382,7 @@ module Google
|
|
382
382
|
execute_or_queue_command(command, &block)
|
383
383
|
end
|
384
384
|
|
385
|
-
#
|
385
|
+
# Retrieves a customer.
|
386
386
|
# @param [String] customer_key
|
387
387
|
# Id of the customer to be retrieved
|
388
388
|
# @param [String] fields
|
@@ -679,7 +679,7 @@ module Google
|
|
679
679
|
execute_or_queue_command(command, &block)
|
680
680
|
end
|
681
681
|
|
682
|
-
#
|
682
|
+
# Retrieves a domain of the customer.
|
683
683
|
# @param [String] customer
|
684
684
|
# Immutable id of the Google Apps account.
|
685
685
|
# @param [String] domain_name
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/admin-sdk/directory/
|
27
27
|
module AdminDirectoryV1
|
28
28
|
VERSION = 'DirectoryV1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20160715'
|
30
30
|
|
31
31
|
# View and manage customer related information
|
32
32
|
AUTH_ADMIN_DIRECTORY_CUSTOMER = 'https://www.googleapis.com/auth/admin.directory.customer'
|
@@ -22,8 +22,8 @@ module Google
|
|
22
22
|
module AdminReportsV1
|
23
23
|
# Admin Reports API
|
24
24
|
#
|
25
|
-
#
|
26
|
-
# usage, collaboration, security and risk for their users.
|
25
|
+
# Fetches reports for the administrators of Google Apps customers about the
|
26
|
+
# usage, collaboration, security, and risk for their users.
|
27
27
|
#
|
28
28
|
# @example
|
29
29
|
# require 'google/apis/admin_reports_v1'
|
@@ -20,13 +20,13 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Admin Reports API
|
22
22
|
#
|
23
|
-
#
|
24
|
-
# usage, collaboration, security and risk for their users.
|
23
|
+
# Fetches reports for the administrators of Google Apps customers about the
|
24
|
+
# usage, collaboration, security, and risk for their users.
|
25
25
|
#
|
26
26
|
# @see https://developers.google.com/admin-sdk/reports/
|
27
27
|
module AdminReportsV1
|
28
28
|
VERSION = 'ReportsV1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20160704'
|
30
30
|
|
31
31
|
# View audit reports of Google Apps for your domain
|
32
32
|
AUTH_ADMIN_REPORTS_AUDIT_READONLY = 'https://www.googleapis.com/auth/admin.reports.audit.readonly'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/adsense/management/
|
26
26
|
module AdsenseV1_4
|
27
27
|
VERSION = 'V1_4'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160815'
|
29
29
|
|
30
30
|
# View and manage your AdSense data
|
31
31
|
AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/adsense/host/
|
27
27
|
module AdsensehostV4_1
|
28
28
|
VERSION = 'V4_1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20160815'
|
30
30
|
|
31
31
|
# View and manage your AdSense host data and associated accounts
|
32
32
|
AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
|
@@ -3187,6 +3187,133 @@ module Google
|
|
3187
3187
|
end
|
3188
3188
|
end
|
3189
3189
|
|
3190
|
+
# JSON template for an Analytics Remarketing Include Conditions.
|
3191
|
+
class IncludeConditions
|
3192
|
+
include Google::Apis::Core::Hashable
|
3193
|
+
|
3194
|
+
# The look-back window lets you specify a time frame for evaluating the behavior
|
3195
|
+
# that qualifies users for your audience. For example, if your filters include
|
3196
|
+
# users from Central Asia, and Transactions Greater than 2, and you set the look-
|
3197
|
+
# back window to 14 days, then any user from Central Asia whose cumulative
|
3198
|
+
# transactions exceed 2 during the last 14 days is added to the audience.
|
3199
|
+
# Corresponds to the JSON property `daysToLookBack`
|
3200
|
+
# @return [Fixnum]
|
3201
|
+
attr_accessor :days_to_look_back
|
3202
|
+
|
3203
|
+
# Boolean indicating whether this segment is a smart list. https://support.
|
3204
|
+
# google.com/analytics/answer/4628577
|
3205
|
+
# Corresponds to the JSON property `isSmartList`
|
3206
|
+
# @return [Boolean]
|
3207
|
+
attr_accessor :is_smart_list
|
3208
|
+
alias_method :is_smart_list?, :is_smart_list
|
3209
|
+
|
3210
|
+
# Resource type for include conditions.
|
3211
|
+
# Corresponds to the JSON property `kind`
|
3212
|
+
# @return [String]
|
3213
|
+
attr_accessor :kind
|
3214
|
+
|
3215
|
+
# Number of days a user remains in the audience. Use any integer from 1-540. In
|
3216
|
+
# remarketing audiences for search ads, membership duration is truncated to 180
|
3217
|
+
# days.
|
3218
|
+
# Corresponds to the JSON property `membershipDurationDays`
|
3219
|
+
# @return [Fixnum]
|
3220
|
+
attr_accessor :membership_duration_days
|
3221
|
+
|
3222
|
+
# The segment condition that will cause a user to be added to an audience.
|
3223
|
+
# Corresponds to the JSON property `segment`
|
3224
|
+
# @return [String]
|
3225
|
+
attr_accessor :segment
|
3226
|
+
|
3227
|
+
def initialize(**args)
|
3228
|
+
update!(**args)
|
3229
|
+
end
|
3230
|
+
|
3231
|
+
# Update properties of this object
|
3232
|
+
def update!(**args)
|
3233
|
+
@days_to_look_back = args[:days_to_look_back] if args.key?(:days_to_look_back)
|
3234
|
+
@is_smart_list = args[:is_smart_list] if args.key?(:is_smart_list)
|
3235
|
+
@kind = args[:kind] if args.key?(:kind)
|
3236
|
+
@membership_duration_days = args[:membership_duration_days] if args.key?(:membership_duration_days)
|
3237
|
+
@segment = args[:segment] if args.key?(:segment)
|
3238
|
+
end
|
3239
|
+
end
|
3240
|
+
|
3241
|
+
# JSON template for an Analytics Remarketing Audience Foreign Link.
|
3242
|
+
class LinkedForeignAccount
|
3243
|
+
include Google::Apis::Core::Hashable
|
3244
|
+
|
3245
|
+
# Account ID to which this linked foreign account belongs.
|
3246
|
+
# Corresponds to the JSON property `accountId`
|
3247
|
+
# @return [String]
|
3248
|
+
attr_accessor :account_id
|
3249
|
+
|
3250
|
+
# Boolean indicating whether this is eligible for search.
|
3251
|
+
# Corresponds to the JSON property `eligibleForSearch`
|
3252
|
+
# @return [Boolean]
|
3253
|
+
attr_accessor :eligible_for_search
|
3254
|
+
alias_method :eligible_for_search?, :eligible_for_search
|
3255
|
+
|
3256
|
+
# Entity ad account link ID.
|
3257
|
+
# Corresponds to the JSON property `id`
|
3258
|
+
# @return [String]
|
3259
|
+
attr_accessor :id
|
3260
|
+
|
3261
|
+
# Internal ID for the web property to which this linked foreign account belongs.
|
3262
|
+
# Corresponds to the JSON property `internalWebPropertyId`
|
3263
|
+
# @return [String]
|
3264
|
+
attr_accessor :internal_web_property_id
|
3265
|
+
|
3266
|
+
# Resource type for linked foreign account.
|
3267
|
+
# Corresponds to the JSON property `kind`
|
3268
|
+
# @return [String]
|
3269
|
+
attr_accessor :kind
|
3270
|
+
|
3271
|
+
# The foreign account ID. For example the an AdWords `linkedAccountId` has the
|
3272
|
+
# following format XXX-XXX-XXXX.
|
3273
|
+
# Corresponds to the JSON property `linkedAccountId`
|
3274
|
+
# @return [String]
|
3275
|
+
attr_accessor :linked_account_id
|
3276
|
+
|
3277
|
+
# Remarketing audience ID to which this linked foreign account belongs.
|
3278
|
+
# Corresponds to the JSON property `remarketingAudienceId`
|
3279
|
+
# @return [String]
|
3280
|
+
attr_accessor :remarketing_audience_id
|
3281
|
+
|
3282
|
+
# The status of this foreign account link.
|
3283
|
+
# Corresponds to the JSON property `status`
|
3284
|
+
# @return [String]
|
3285
|
+
attr_accessor :status
|
3286
|
+
|
3287
|
+
# The type of the foreign account. For example `ADWORDS_LINKS`.
|
3288
|
+
# Corresponds to the JSON property `type`
|
3289
|
+
# @return [String]
|
3290
|
+
attr_accessor :type
|
3291
|
+
|
3292
|
+
# Web property ID of the form UA-XXXXX-YY to which this linked foreign account
|
3293
|
+
# belongs.
|
3294
|
+
# Corresponds to the JSON property `webPropertyId`
|
3295
|
+
# @return [String]
|
3296
|
+
attr_accessor :web_property_id
|
3297
|
+
|
3298
|
+
def initialize(**args)
|
3299
|
+
update!(**args)
|
3300
|
+
end
|
3301
|
+
|
3302
|
+
# Update properties of this object
|
3303
|
+
def update!(**args)
|
3304
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
3305
|
+
@eligible_for_search = args[:eligible_for_search] if args.key?(:eligible_for_search)
|
3306
|
+
@id = args[:id] if args.key?(:id)
|
3307
|
+
@internal_web_property_id = args[:internal_web_property_id] if args.key?(:internal_web_property_id)
|
3308
|
+
@kind = args[:kind] if args.key?(:kind)
|
3309
|
+
@linked_account_id = args[:linked_account_id] if args.key?(:linked_account_id)
|
3310
|
+
@remarketing_audience_id = args[:remarketing_audience_id] if args.key?(:remarketing_audience_id)
|
3311
|
+
@status = args[:status] if args.key?(:status)
|
3312
|
+
@type = args[:type] if args.key?(:type)
|
3313
|
+
@web_property_id = args[:web_property_id] if args.key?(:web_property_id)
|
3314
|
+
end
|
3315
|
+
end
|
3316
|
+
|
3190
3317
|
# Multi-Channel Funnels data for a given view (profile).
|
3191
3318
|
class McfData
|
3192
3319
|
include Google::Apis::Core::Hashable
|
@@ -4267,6 +4394,246 @@ module Google
|
|
4267
4394
|
end
|
4268
4395
|
end
|
4269
4396
|
|
4397
|
+
# JSON template for an Analytics remarketing audience.
|
4398
|
+
class RemarketingAudience
|
4399
|
+
include Google::Apis::Core::Hashable
|
4400
|
+
|
4401
|
+
# Account ID to which this remarketing audience belongs.
|
4402
|
+
# Corresponds to the JSON property `accountId`
|
4403
|
+
# @return [String]
|
4404
|
+
attr_accessor :account_id
|
4405
|
+
|
4406
|
+
# The simple audience definition that will cause a user to be added to an
|
4407
|
+
# audience.
|
4408
|
+
# Corresponds to the JSON property `audienceDefinition`
|
4409
|
+
# @return [Google::Apis::AnalyticsV3::RemarketingAudience::AudienceDefinition]
|
4410
|
+
attr_accessor :audience_definition
|
4411
|
+
|
4412
|
+
# The type of audience, either SIMPLE or STATE_BASED.
|
4413
|
+
# Corresponds to the JSON property `audienceType`
|
4414
|
+
# @return [String]
|
4415
|
+
attr_accessor :audience_type
|
4416
|
+
|
4417
|
+
# Time this remarketing audience was created.
|
4418
|
+
# Corresponds to the JSON property `created`
|
4419
|
+
# @return [DateTime]
|
4420
|
+
attr_accessor :created
|
4421
|
+
|
4422
|
+
# The description of this remarketing audience.
|
4423
|
+
# Corresponds to the JSON property `description`
|
4424
|
+
# @return [String]
|
4425
|
+
attr_accessor :description
|
4426
|
+
|
4427
|
+
# Remarketing Audience ID.
|
4428
|
+
# Corresponds to the JSON property `id`
|
4429
|
+
# @return [String]
|
4430
|
+
attr_accessor :id
|
4431
|
+
|
4432
|
+
# Internal ID for the web property to which this remarketing audience belongs.
|
4433
|
+
# Corresponds to the JSON property `internalWebPropertyId`
|
4434
|
+
# @return [String]
|
4435
|
+
attr_accessor :internal_web_property_id
|
4436
|
+
|
4437
|
+
# Collection type.
|
4438
|
+
# Corresponds to the JSON property `kind`
|
4439
|
+
# @return [String]
|
4440
|
+
attr_accessor :kind
|
4441
|
+
|
4442
|
+
# The linked ad accounts associated with this remarketing audience. A
|
4443
|
+
# remarketing audience can have only one linkedAdAccount currently.
|
4444
|
+
# Corresponds to the JSON property `linkedAdAccounts`
|
4445
|
+
# @return [Array<Google::Apis::AnalyticsV3::LinkedForeignAccount>]
|
4446
|
+
attr_accessor :linked_ad_accounts
|
4447
|
+
|
4448
|
+
# The views (profiles) that this remarketing audience is linked to.
|
4449
|
+
# Corresponds to the JSON property `linkedViews`
|
4450
|
+
# @return [Array<String>]
|
4451
|
+
attr_accessor :linked_views
|
4452
|
+
|
4453
|
+
# The name of this remarketing audience.
|
4454
|
+
# Corresponds to the JSON property `name`
|
4455
|
+
# @return [String]
|
4456
|
+
attr_accessor :name
|
4457
|
+
|
4458
|
+
# A state based audience definition that will cause a user to be added or
|
4459
|
+
# removed from an audience.
|
4460
|
+
# Corresponds to the JSON property `stateBasedAudienceDefinition`
|
4461
|
+
# @return [Google::Apis::AnalyticsV3::RemarketingAudience::StateBasedAudienceDefinition]
|
4462
|
+
attr_accessor :state_based_audience_definition
|
4463
|
+
|
4464
|
+
# Time this remarketing audience was last modified.
|
4465
|
+
# Corresponds to the JSON property `updated`
|
4466
|
+
# @return [DateTime]
|
4467
|
+
attr_accessor :updated
|
4468
|
+
|
4469
|
+
# Web property ID of the form UA-XXXXX-YY to which this remarketing audience
|
4470
|
+
# belongs.
|
4471
|
+
# Corresponds to the JSON property `webPropertyId`
|
4472
|
+
# @return [String]
|
4473
|
+
attr_accessor :web_property_id
|
4474
|
+
|
4475
|
+
def initialize(**args)
|
4476
|
+
update!(**args)
|
4477
|
+
end
|
4478
|
+
|
4479
|
+
# Update properties of this object
|
4480
|
+
def update!(**args)
|
4481
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
4482
|
+
@audience_definition = args[:audience_definition] if args.key?(:audience_definition)
|
4483
|
+
@audience_type = args[:audience_type] if args.key?(:audience_type)
|
4484
|
+
@created = args[:created] if args.key?(:created)
|
4485
|
+
@description = args[:description] if args.key?(:description)
|
4486
|
+
@id = args[:id] if args.key?(:id)
|
4487
|
+
@internal_web_property_id = args[:internal_web_property_id] if args.key?(:internal_web_property_id)
|
4488
|
+
@kind = args[:kind] if args.key?(:kind)
|
4489
|
+
@linked_ad_accounts = args[:linked_ad_accounts] if args.key?(:linked_ad_accounts)
|
4490
|
+
@linked_views = args[:linked_views] if args.key?(:linked_views)
|
4491
|
+
@name = args[:name] if args.key?(:name)
|
4492
|
+
@state_based_audience_definition = args[:state_based_audience_definition] if args.key?(:state_based_audience_definition)
|
4493
|
+
@updated = args[:updated] if args.key?(:updated)
|
4494
|
+
@web_property_id = args[:web_property_id] if args.key?(:web_property_id)
|
4495
|
+
end
|
4496
|
+
|
4497
|
+
# The simple audience definition that will cause a user to be added to an
|
4498
|
+
# audience.
|
4499
|
+
class AudienceDefinition
|
4500
|
+
include Google::Apis::Core::Hashable
|
4501
|
+
|
4502
|
+
# JSON template for an Analytics Remarketing Include Conditions.
|
4503
|
+
# Corresponds to the JSON property `includeConditions`
|
4504
|
+
# @return [Google::Apis::AnalyticsV3::IncludeConditions]
|
4505
|
+
attr_accessor :include_conditions
|
4506
|
+
|
4507
|
+
def initialize(**args)
|
4508
|
+
update!(**args)
|
4509
|
+
end
|
4510
|
+
|
4511
|
+
# Update properties of this object
|
4512
|
+
def update!(**args)
|
4513
|
+
@include_conditions = args[:include_conditions] if args.key?(:include_conditions)
|
4514
|
+
end
|
4515
|
+
end
|
4516
|
+
|
4517
|
+
# A state based audience definition that will cause a user to be added or
|
4518
|
+
# removed from an audience.
|
4519
|
+
class StateBasedAudienceDefinition
|
4520
|
+
include Google::Apis::Core::Hashable
|
4521
|
+
|
4522
|
+
# Defines the conditions to exclude users from the audience.
|
4523
|
+
# Corresponds to the JSON property `excludeConditions`
|
4524
|
+
# @return [Google::Apis::AnalyticsV3::RemarketingAudience::StateBasedAudienceDefinition::ExcludeConditions]
|
4525
|
+
attr_accessor :exclude_conditions
|
4526
|
+
|
4527
|
+
# JSON template for an Analytics Remarketing Include Conditions.
|
4528
|
+
# Corresponds to the JSON property `includeConditions`
|
4529
|
+
# @return [Google::Apis::AnalyticsV3::IncludeConditions]
|
4530
|
+
attr_accessor :include_conditions
|
4531
|
+
|
4532
|
+
def initialize(**args)
|
4533
|
+
update!(**args)
|
4534
|
+
end
|
4535
|
+
|
4536
|
+
# Update properties of this object
|
4537
|
+
def update!(**args)
|
4538
|
+
@exclude_conditions = args[:exclude_conditions] if args.key?(:exclude_conditions)
|
4539
|
+
@include_conditions = args[:include_conditions] if args.key?(:include_conditions)
|
4540
|
+
end
|
4541
|
+
|
4542
|
+
# Defines the conditions to exclude users from the audience.
|
4543
|
+
class ExcludeConditions
|
4544
|
+
include Google::Apis::Core::Hashable
|
4545
|
+
|
4546
|
+
# Whether to make the exclusion TEMPORARY or PERMANENT.
|
4547
|
+
# Corresponds to the JSON property `exclusionDuration`
|
4548
|
+
# @return [String]
|
4549
|
+
attr_accessor :exclusion_duration
|
4550
|
+
|
4551
|
+
# The segment condition that will cause a user to be removed from an audience.
|
4552
|
+
# Corresponds to the JSON property `segment`
|
4553
|
+
# @return [String]
|
4554
|
+
attr_accessor :segment
|
4555
|
+
|
4556
|
+
def initialize(**args)
|
4557
|
+
update!(**args)
|
4558
|
+
end
|
4559
|
+
|
4560
|
+
# Update properties of this object
|
4561
|
+
def update!(**args)
|
4562
|
+
@exclusion_duration = args[:exclusion_duration] if args.key?(:exclusion_duration)
|
4563
|
+
@segment = args[:segment] if args.key?(:segment)
|
4564
|
+
end
|
4565
|
+
end
|
4566
|
+
end
|
4567
|
+
end
|
4568
|
+
|
4569
|
+
# A remarketing audience collection lists Analytics remarketing audiences to
|
4570
|
+
# which the user has access. Each resource in the collection corresponds to a
|
4571
|
+
# single Analytics remarketing audience.
|
4572
|
+
class RemarketingAudiences
|
4573
|
+
include Google::Apis::Core::Hashable
|
4574
|
+
|
4575
|
+
# A list of remarketing audiences.
|
4576
|
+
# Corresponds to the JSON property `items`
|
4577
|
+
# @return [Array<Google::Apis::AnalyticsV3::RemarketingAudience>]
|
4578
|
+
attr_accessor :items
|
4579
|
+
|
4580
|
+
# The maximum number of resources the response can contain, regardless of the
|
4581
|
+
# actual number of resources returned. Its value ranges from 1 to 1000 with a
|
4582
|
+
# value of 1000 by default, or otherwise specified by the max-results query
|
4583
|
+
# parameter.
|
4584
|
+
# Corresponds to the JSON property `itemsPerPage`
|
4585
|
+
# @return [Fixnum]
|
4586
|
+
attr_accessor :items_per_page
|
4587
|
+
|
4588
|
+
# Collection type.
|
4589
|
+
# Corresponds to the JSON property `kind`
|
4590
|
+
# @return [String]
|
4591
|
+
attr_accessor :kind
|
4592
|
+
|
4593
|
+
# Link to next page for this remarketing audience collection.
|
4594
|
+
# Corresponds to the JSON property `nextLink`
|
4595
|
+
# @return [String]
|
4596
|
+
attr_accessor :next_link
|
4597
|
+
|
4598
|
+
# Link to previous page for this view (profile) collection.
|
4599
|
+
# Corresponds to the JSON property `previousLink`
|
4600
|
+
# @return [String]
|
4601
|
+
attr_accessor :previous_link
|
4602
|
+
|
4603
|
+
# The starting index of the resources, which is 1 by default or otherwise
|
4604
|
+
# specified by the start-index query parameter.
|
4605
|
+
# Corresponds to the JSON property `startIndex`
|
4606
|
+
# @return [Fixnum]
|
4607
|
+
attr_accessor :start_index
|
4608
|
+
|
4609
|
+
# The total number of results for the query, regardless of the number of results
|
4610
|
+
# in the response.
|
4611
|
+
# Corresponds to the JSON property `totalResults`
|
4612
|
+
# @return [Fixnum]
|
4613
|
+
attr_accessor :total_results
|
4614
|
+
|
4615
|
+
# Email ID of the authenticated user
|
4616
|
+
# Corresponds to the JSON property `username`
|
4617
|
+
# @return [String]
|
4618
|
+
attr_accessor :username
|
4619
|
+
|
4620
|
+
def initialize(**args)
|
4621
|
+
update!(**args)
|
4622
|
+
end
|
4623
|
+
|
4624
|
+
# Update properties of this object
|
4625
|
+
def update!(**args)
|
4626
|
+
@items = args[:items] if args.key?(:items)
|
4627
|
+
@items_per_page = args[:items_per_page] if args.key?(:items_per_page)
|
4628
|
+
@kind = args[:kind] if args.key?(:kind)
|
4629
|
+
@next_link = args[:next_link] if args.key?(:next_link)
|
4630
|
+
@previous_link = args[:previous_link] if args.key?(:previous_link)
|
4631
|
+
@start_index = args[:start_index] if args.key?(:start_index)
|
4632
|
+
@total_results = args[:total_results] if args.key?(:total_results)
|
4633
|
+
@username = args[:username] if args.key?(:username)
|
4634
|
+
end
|
4635
|
+
end
|
4636
|
+
|
4270
4637
|
# JSON template for an Analytics segment.
|
4271
4638
|
class Segment
|
4272
4639
|
include Google::Apis::Core::Hashable
|
@@ -4425,7 +4792,10 @@ module Google
|
|
4425
4792
|
# @return [String]
|
4426
4793
|
attr_accessor :dimensions
|
4427
4794
|
|
4428
|
-
# The type of download you need to use for the report data file.
|
4795
|
+
# The type of download you need to use for the report data file. Possible values
|
4796
|
+
# include `GOOGLE_DRIVE` and `GOOGLE_CLOUD_STORAGE`. If the value is `
|
4797
|
+
# GOOGLE_DRIVE`, see the `driveDownloadDetails` field. If the value is `
|
4798
|
+
# GOOGLE_CLOUD_STORAGE`, see the `cloudStorageDownloadDetails` field.
|
4429
4799
|
# Corresponds to the JSON property `downloadType`
|
4430
4800
|
# @return [String]
|
4431
4801
|
attr_accessor :download_type
|