google-api-client 0.14.1 → 0.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +33 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +0 -18
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +0 -6
- data/generated/google/apis/adexperiencereport_v1/representations.rb +0 -1
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +46 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +19 -2
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +14 -12
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +7 -5
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +8 -9
- data/generated/google/apis/androidpublisher_v2/service.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -2
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +3 -0
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +93 -0
- data/generated/google/apis/container_v1/representations.rb +58 -0
- data/generated/google/apis/container_v1/service.rb +42 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +119 -0
- data/generated/google/apis/container_v1beta1/representations.rb +62 -0
- data/generated/google/apis/container_v1beta1/service.rb +77 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +184 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +70 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +105 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +63 -64
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +51 -50
- data/generated/google/apis/deploymentmanager_v2/service.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +62 -62
- data/generated/google/apis/dlp_v2beta1.rb +1 -1
- data/generated/google/apis/dlp_v2beta1/classes.rb +23 -17
- data/generated/google/apis/dlp_v2beta1/service.rb +10 -10
- data/generated/google/apis/dns_v1/service.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +1 -1
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/oauth2_v2/service.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha.rb +7 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -1
- data/generated/google/apis/oslogin_v1alpha/representations.rb +2 -2
- data/generated/google/apis/oslogin_v1beta.rb +43 -0
- data/generated/google/apis/oslogin_v1beta/classes.rb +202 -0
- data/generated/google/apis/oslogin_v1beta/representations.rb +105 -0
- data/generated/google/apis/oslogin_v1beta/service.rb +228 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +906 -0
- data/generated/google/apis/sheets_v4/representations.rb +389 -0
- data/generated/google/apis/sheets_v4/service.rb +230 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +73 -2
- data/generated/google/apis/spanner_v1/representations.rb +32 -0
- data/generated/google/apis/spanner_v1/service.rb +52 -1
- data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +15 -13
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +0 -1
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +181 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +75 -0
- data/generated/google/apis/testing_v1.rb +38 -0
- data/generated/google/apis/testing_v1/classes.rb +1616 -0
- data/generated/google/apis/testing_v1/representations.rb +688 -0
- data/generated/google/apis/testing_v1/service.rb +221 -0
- data/generated/google/apis/videointelligence_v1beta1.rb +3 -3
- data/generated/google/apis/videointelligence_v1beta1/service.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +9 -0
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/generated/google/apis/youtube_v3/service.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +11 -3
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/storage/docs/json_api/
|
|
26
26
|
module StorageV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20170915'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -447,6 +447,8 @@ module Google
|
|
|
447
447
|
# @param [String] projection
|
|
448
448
|
# Set of properties to return. Defaults to noAcl, unless the bucket resource
|
|
449
449
|
# specifies acl or defaultObjectAcl properties, when it defaults to full.
|
|
450
|
+
# @param [String] user_project
|
|
451
|
+
# The project to be billed for this request, for Requester Pays buckets.
|
|
450
452
|
# @param [String] fields
|
|
451
453
|
# Selector specifying which fields to include in a partial response.
|
|
452
454
|
# @param [String] quota_user
|
|
@@ -468,7 +470,7 @@ module Google
|
|
|
468
470
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
469
471
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
470
472
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
471
|
-
def insert_bucket(project, bucket_object = nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
473
|
+
def insert_bucket(project, bucket_object = nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
472
474
|
command = make_simple_command(:post, 'b', options)
|
|
473
475
|
command.request_representation = Google::Apis::StorageV1::Bucket::Representation
|
|
474
476
|
command.request_object = bucket_object
|
|
@@ -478,6 +480,7 @@ module Google
|
|
|
478
480
|
command.query['predefinedDefaultObjectAcl'] = predefined_default_object_acl unless predefined_default_object_acl.nil?
|
|
479
481
|
command.query['project'] = project unless project.nil?
|
|
480
482
|
command.query['projection'] = projection unless projection.nil?
|
|
483
|
+
command.query['userProject'] = user_project unless user_project.nil?
|
|
481
484
|
command.query['fields'] = fields unless fields.nil?
|
|
482
485
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
483
486
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
@@ -497,6 +500,8 @@ module Google
|
|
|
497
500
|
# Filter results to buckets whose names begin with this prefix.
|
|
498
501
|
# @param [String] projection
|
|
499
502
|
# Set of properties to return. Defaults to noAcl.
|
|
503
|
+
# @param [String] user_project
|
|
504
|
+
# The project to be billed for this request, for Requester Pays buckets.
|
|
500
505
|
# @param [String] fields
|
|
501
506
|
# Selector specifying which fields to include in a partial response.
|
|
502
507
|
# @param [String] quota_user
|
|
@@ -518,7 +523,7 @@ module Google
|
|
|
518
523
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
519
524
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
520
525
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
521
|
-
def list_buckets(project, max_results: nil, page_token: nil, prefix: nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
526
|
+
def list_buckets(project, max_results: nil, page_token: nil, prefix: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
522
527
|
command = make_simple_command(:get, 'b', options)
|
|
523
528
|
command.response_representation = Google::Apis::StorageV1::Buckets::Representation
|
|
524
529
|
command.response_class = Google::Apis::StorageV1::Buckets
|
|
@@ -527,6 +532,7 @@ module Google
|
|
|
527
532
|
command.query['prefix'] = prefix unless prefix.nil?
|
|
528
533
|
command.query['project'] = project unless project.nil?
|
|
529
534
|
command.query['projection'] = projection unless projection.nil?
|
|
535
|
+
command.query['userProject'] = user_project unless user_project.nil?
|
|
530
536
|
command.query['fields'] = fields unless fields.nil?
|
|
531
537
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
532
538
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
@@ -2011,7 +2017,7 @@ module Google
|
|
|
2011
2017
|
execute_or_queue_command(command, &block)
|
|
2012
2018
|
end
|
|
2013
2019
|
|
|
2014
|
-
#
|
|
2020
|
+
# Updates an object's metadata. This method supports patch semantics.
|
|
2015
2021
|
# @param [String] bucket
|
|
2016
2022
|
# Name of the bucket in which the object resides.
|
|
2017
2023
|
# @param [String] object
|
|
@@ -2051,8 +2057,6 @@ module Google
|
|
|
2051
2057
|
# @param [String] user_ip
|
|
2052
2058
|
# IP address of the site where the request originates. Use this if you want to
|
|
2053
2059
|
# enforce per-user limits.
|
|
2054
|
-
# @param [IO, String] download_dest
|
|
2055
|
-
# IO stream or filename to receive content download
|
|
2056
2060
|
# @param [Google::Apis::RequestOptions] options
|
|
2057
2061
|
# Request-specific options
|
|
2058
2062
|
#
|
|
@@ -2065,13 +2069,8 @@ module Google
|
|
|
2065
2069
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2066
2070
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2067
2071
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2068
|
-
def patch_object(bucket, object, object_object = nil, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil,
|
|
2069
|
-
|
|
2070
|
-
command = make_simple_command(:patch, 'b/{bucket}/o/{object}', options)
|
|
2071
|
-
else
|
|
2072
|
-
command = make_download_command(:patch, 'b/{bucket}/o/{object}', options)
|
|
2073
|
-
command.download_dest = download_dest
|
|
2074
|
-
end
|
|
2072
|
+
def patch_object(bucket, object, object_object = nil, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2073
|
+
command = make_simple_command(:patch, 'b/{bucket}/o/{object}', options)
|
|
2075
2074
|
command.request_representation = Google::Apis::StorageV1::Object::Representation
|
|
2076
2075
|
command.request_object = object_object
|
|
2077
2076
|
command.response_representation = Google::Apis::StorageV1::Object::Representation
|
|
@@ -2465,6 +2464,8 @@ module Google
|
|
|
2465
2464
|
# Get the email address of this project's Google Cloud Storage service account.
|
|
2466
2465
|
# @param [String] project_id
|
|
2467
2466
|
# Project ID
|
|
2467
|
+
# @param [String] user_project
|
|
2468
|
+
# The project to be billed for this request, for Requester Pays buckets.
|
|
2468
2469
|
# @param [String] fields
|
|
2469
2470
|
# Selector specifying which fields to include in a partial response.
|
|
2470
2471
|
# @param [String] quota_user
|
|
@@ -2486,11 +2487,12 @@ module Google
|
|
|
2486
2487
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2487
2488
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2488
2489
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2489
|
-
def get_project_service_account(project_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2490
|
+
def get_project_service_account(project_id, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2490
2491
|
command = make_simple_command(:get, 'projects/{projectId}/serviceAccount', options)
|
|
2491
2492
|
command.response_representation = Google::Apis::StorageV1::ServiceAccount::Representation
|
|
2492
2493
|
command.response_class = Google::Apis::StorageV1::ServiceAccount
|
|
2493
2494
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
2495
|
+
command.query['userProject'] = user_project unless user_project.nil?
|
|
2494
2496
|
command.query['fields'] = fields unless fields.nil?
|
|
2495
2497
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2496
2498
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/storage/transfer
|
|
27
27
|
module StoragetransferV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20170918'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://developers.google.com/streetview/publish/
|
|
28
28
|
module StreetviewpublishV1
|
|
29
29
|
VERSION = 'V1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20170920'
|
|
31
31
|
|
|
32
32
|
# Publish and manage your 360 photos on Google Street View
|
|
33
33
|
AUTH_STREETVIEWPUBLISH = 'https://www.googleapis.com/auth/streetviewpublish'
|
|
@@ -454,7 +454,7 @@ module Google
|
|
|
454
454
|
class Place
|
|
455
455
|
include Google::Apis::Core::Hashable
|
|
456
456
|
|
|
457
|
-
#
|
|
457
|
+
# Place identifier, as described in
|
|
458
458
|
# https://developers.google.com/places/place-id.
|
|
459
459
|
# Corresponds to the JSON property `placeId`
|
|
460
460
|
# @return [String]
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/tag-manager/api/v2/
|
|
26
26
|
module TagmanagerV2
|
|
27
27
|
VERSION = 'V2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20170915'
|
|
29
29
|
|
|
30
30
|
# Delete your Google Tag Manager containers
|
|
31
31
|
AUTH_TAGMANAGER_DELETE_CONTAINERS = 'https://www.googleapis.com/auth/tagmanager.delete.containers'
|
|
@@ -365,6 +365,11 @@ module Google
|
|
|
365
365
|
# @return [Array<Google::Apis::TagmanagerV2::Variable>]
|
|
366
366
|
attr_accessor :variable
|
|
367
367
|
|
|
368
|
+
# The zones in the container that this version was taken from.
|
|
369
|
+
# Corresponds to the JSON property `zone`
|
|
370
|
+
# @return [Array<Google::Apis::TagmanagerV2::Zone>]
|
|
371
|
+
attr_accessor :zone
|
|
372
|
+
|
|
368
373
|
def initialize(**args)
|
|
369
374
|
update!(**args)
|
|
370
375
|
end
|
|
@@ -386,6 +391,7 @@ module Google
|
|
|
386
391
|
@tag_manager_url = args[:tag_manager_url] if args.key?(:tag_manager_url)
|
|
387
392
|
@trigger = args[:trigger] if args.key?(:trigger)
|
|
388
393
|
@variable = args[:variable] if args.key?(:variable)
|
|
394
|
+
@zone = args[:zone] if args.key?(:zone)
|
|
389
395
|
end
|
|
390
396
|
end
|
|
391
397
|
|
|
@@ -444,6 +450,11 @@ module Google
|
|
|
444
450
|
# @return [String]
|
|
445
451
|
attr_accessor :num_variables
|
|
446
452
|
|
|
453
|
+
# Number of zones in the container version.
|
|
454
|
+
# Corresponds to the JSON property `numZones`
|
|
455
|
+
# @return [String]
|
|
456
|
+
attr_accessor :num_zones
|
|
457
|
+
|
|
447
458
|
# GTM Container Versions's API relative path.
|
|
448
459
|
# Corresponds to the JSON property `path`
|
|
449
460
|
# @return [String]
|
|
@@ -465,6 +476,7 @@ module Google
|
|
|
465
476
|
@num_tags = args[:num_tags] if args.key?(:num_tags)
|
|
466
477
|
@num_triggers = args[:num_triggers] if args.key?(:num_triggers)
|
|
467
478
|
@num_variables = args[:num_variables] if args.key?(:num_variables)
|
|
479
|
+
@num_zones = args[:num_zones] if args.key?(:num_zones)
|
|
468
480
|
@path = args[:path] if args.key?(:path)
|
|
469
481
|
end
|
|
470
482
|
end
|
|
@@ -1847,6 +1859,11 @@ module Google
|
|
|
1847
1859
|
# @return [String]
|
|
1848
1860
|
attr_accessor :notes
|
|
1849
1861
|
|
|
1862
|
+
# Additional parameters.
|
|
1863
|
+
# Corresponds to the JSON property `parameter`
|
|
1864
|
+
# @return [Array<Google::Apis::TagmanagerV2::Parameter>]
|
|
1865
|
+
attr_accessor :parameter
|
|
1866
|
+
|
|
1850
1867
|
# Parent folder id.
|
|
1851
1868
|
# Corresponds to the JSON property `parentFolderId`
|
|
1852
1869
|
# @return [String]
|
|
@@ -1944,6 +1961,7 @@ module Google
|
|
|
1944
1961
|
@max_timer_length_seconds = args[:max_timer_length_seconds] if args.key?(:max_timer_length_seconds)
|
|
1945
1962
|
@name = args[:name] if args.key?(:name)
|
|
1946
1963
|
@notes = args[:notes] if args.key?(:notes)
|
|
1964
|
+
@parameter = args[:parameter] if args.key?(:parameter)
|
|
1947
1965
|
@parent_folder_id = args[:parent_folder_id] if args.key?(:parent_folder_id)
|
|
1948
1966
|
@path = args[:path] if args.key?(:path)
|
|
1949
1967
|
@selector = args[:selector] if args.key?(:selector)
|
|
@@ -2430,6 +2448,169 @@ module Google
|
|
|
2430
2448
|
@type = args[:type] if args.key?(:type)
|
|
2431
2449
|
end
|
|
2432
2450
|
end
|
|
2451
|
+
|
|
2452
|
+
# Represents a Google Tag Manager Zone's contents.
|
|
2453
|
+
class Zone
|
|
2454
|
+
include Google::Apis::Core::Hashable
|
|
2455
|
+
|
|
2456
|
+
# GTM Account ID.
|
|
2457
|
+
# Corresponds to the JSON property `accountId`
|
|
2458
|
+
# @return [String]
|
|
2459
|
+
attr_accessor :account_id
|
|
2460
|
+
|
|
2461
|
+
# Represents a Zone's boundaries.
|
|
2462
|
+
# Corresponds to the JSON property `boundary`
|
|
2463
|
+
# @return [Google::Apis::TagmanagerV2::ZoneBoundary]
|
|
2464
|
+
attr_accessor :boundary
|
|
2465
|
+
|
|
2466
|
+
# Containers that are children of this Zone.
|
|
2467
|
+
# Corresponds to the JSON property `childContainer`
|
|
2468
|
+
# @return [Array<Google::Apis::TagmanagerV2::ZoneChildContainer>]
|
|
2469
|
+
attr_accessor :child_container
|
|
2470
|
+
|
|
2471
|
+
# GTM Container ID.
|
|
2472
|
+
# Corresponds to the JSON property `containerId`
|
|
2473
|
+
# @return [String]
|
|
2474
|
+
attr_accessor :container_id
|
|
2475
|
+
|
|
2476
|
+
# The fingerprint of the GTM Zone as computed at storage time. This value is
|
|
2477
|
+
# recomputed whenever the zone is modified.
|
|
2478
|
+
# Corresponds to the JSON property `fingerprint`
|
|
2479
|
+
# @return [String]
|
|
2480
|
+
attr_accessor :fingerprint
|
|
2481
|
+
|
|
2482
|
+
# Zone display name.
|
|
2483
|
+
# Corresponds to the JSON property `name`
|
|
2484
|
+
# @return [String]
|
|
2485
|
+
attr_accessor :name
|
|
2486
|
+
|
|
2487
|
+
# User notes on how to apply this zone in the container.
|
|
2488
|
+
# Corresponds to the JSON property `notes`
|
|
2489
|
+
# @return [String]
|
|
2490
|
+
attr_accessor :notes
|
|
2491
|
+
|
|
2492
|
+
# GTM Zone's API relative path.
|
|
2493
|
+
# Corresponds to the JSON property `path`
|
|
2494
|
+
# @return [String]
|
|
2495
|
+
attr_accessor :path
|
|
2496
|
+
|
|
2497
|
+
# Auto generated link to the tag manager UI
|
|
2498
|
+
# Corresponds to the JSON property `tagManagerUrl`
|
|
2499
|
+
# @return [String]
|
|
2500
|
+
attr_accessor :tag_manager_url
|
|
2501
|
+
|
|
2502
|
+
# Represents a Zone's type restrictions.
|
|
2503
|
+
# Corresponds to the JSON property `typeRestriction`
|
|
2504
|
+
# @return [Google::Apis::TagmanagerV2::ZoneTypeRestriction]
|
|
2505
|
+
attr_accessor :type_restriction
|
|
2506
|
+
|
|
2507
|
+
# GTM Workspace ID.
|
|
2508
|
+
# Corresponds to the JSON property `workspaceId`
|
|
2509
|
+
# @return [String]
|
|
2510
|
+
attr_accessor :workspace_id
|
|
2511
|
+
|
|
2512
|
+
# The Zone ID uniquely identifies the GTM Zone.
|
|
2513
|
+
# Corresponds to the JSON property `zoneId`
|
|
2514
|
+
# @return [String]
|
|
2515
|
+
attr_accessor :zone_id
|
|
2516
|
+
|
|
2517
|
+
def initialize(**args)
|
|
2518
|
+
update!(**args)
|
|
2519
|
+
end
|
|
2520
|
+
|
|
2521
|
+
# Update properties of this object
|
|
2522
|
+
def update!(**args)
|
|
2523
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
|
2524
|
+
@boundary = args[:boundary] if args.key?(:boundary)
|
|
2525
|
+
@child_container = args[:child_container] if args.key?(:child_container)
|
|
2526
|
+
@container_id = args[:container_id] if args.key?(:container_id)
|
|
2527
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
|
2528
|
+
@name = args[:name] if args.key?(:name)
|
|
2529
|
+
@notes = args[:notes] if args.key?(:notes)
|
|
2530
|
+
@path = args[:path] if args.key?(:path)
|
|
2531
|
+
@tag_manager_url = args[:tag_manager_url] if args.key?(:tag_manager_url)
|
|
2532
|
+
@type_restriction = args[:type_restriction] if args.key?(:type_restriction)
|
|
2533
|
+
@workspace_id = args[:workspace_id] if args.key?(:workspace_id)
|
|
2534
|
+
@zone_id = args[:zone_id] if args.key?(:zone_id)
|
|
2535
|
+
end
|
|
2536
|
+
end
|
|
2537
|
+
|
|
2538
|
+
# Represents a Zone's boundaries.
|
|
2539
|
+
class ZoneBoundary
|
|
2540
|
+
include Google::Apis::Core::Hashable
|
|
2541
|
+
|
|
2542
|
+
# The conditions that, when conjoined, make up the boundary.
|
|
2543
|
+
# Corresponds to the JSON property `condition`
|
|
2544
|
+
# @return [Array<Google::Apis::TagmanagerV2::Condition>]
|
|
2545
|
+
attr_accessor :condition
|
|
2546
|
+
|
|
2547
|
+
# Custom evaluation trigger IDs. A zone will evaluate its boundary conditions
|
|
2548
|
+
# when any of the listed triggers are true.
|
|
2549
|
+
# Corresponds to the JSON property `customEvaluationTriggerId`
|
|
2550
|
+
# @return [Array<String>]
|
|
2551
|
+
attr_accessor :custom_evaluation_trigger_id
|
|
2552
|
+
|
|
2553
|
+
def initialize(**args)
|
|
2554
|
+
update!(**args)
|
|
2555
|
+
end
|
|
2556
|
+
|
|
2557
|
+
# Update properties of this object
|
|
2558
|
+
def update!(**args)
|
|
2559
|
+
@condition = args[:condition] if args.key?(:condition)
|
|
2560
|
+
@custom_evaluation_trigger_id = args[:custom_evaluation_trigger_id] if args.key?(:custom_evaluation_trigger_id)
|
|
2561
|
+
end
|
|
2562
|
+
end
|
|
2563
|
+
|
|
2564
|
+
# Represents a child container of a Zone.
|
|
2565
|
+
class ZoneChildContainer
|
|
2566
|
+
include Google::Apis::Core::Hashable
|
|
2567
|
+
|
|
2568
|
+
# The zone's nickname for the child container.
|
|
2569
|
+
# Corresponds to the JSON property `nickname`
|
|
2570
|
+
# @return [String]
|
|
2571
|
+
attr_accessor :nickname
|
|
2572
|
+
|
|
2573
|
+
# The child container's public id.
|
|
2574
|
+
# Corresponds to the JSON property `publicId`
|
|
2575
|
+
# @return [String]
|
|
2576
|
+
attr_accessor :public_id
|
|
2577
|
+
|
|
2578
|
+
def initialize(**args)
|
|
2579
|
+
update!(**args)
|
|
2580
|
+
end
|
|
2581
|
+
|
|
2582
|
+
# Update properties of this object
|
|
2583
|
+
def update!(**args)
|
|
2584
|
+
@nickname = args[:nickname] if args.key?(:nickname)
|
|
2585
|
+
@public_id = args[:public_id] if args.key?(:public_id)
|
|
2586
|
+
end
|
|
2587
|
+
end
|
|
2588
|
+
|
|
2589
|
+
# Represents a Zone's type restrictions.
|
|
2590
|
+
class ZoneTypeRestriction
|
|
2591
|
+
include Google::Apis::Core::Hashable
|
|
2592
|
+
|
|
2593
|
+
# True if type restrictions have been enabled for this Zone.
|
|
2594
|
+
# Corresponds to the JSON property `enable`
|
|
2595
|
+
# @return [Boolean]
|
|
2596
|
+
attr_accessor :enable
|
|
2597
|
+
alias_method :enable?, :enable
|
|
2598
|
+
|
|
2599
|
+
# List of type public ids that have been whitelisted for use in this Zone.
|
|
2600
|
+
# Corresponds to the JSON property `whitelistedTypeId`
|
|
2601
|
+
# @return [Array<String>]
|
|
2602
|
+
attr_accessor :whitelisted_type_id
|
|
2603
|
+
|
|
2604
|
+
def initialize(**args)
|
|
2605
|
+
update!(**args)
|
|
2606
|
+
end
|
|
2607
|
+
|
|
2608
|
+
# Update properties of this object
|
|
2609
|
+
def update!(**args)
|
|
2610
|
+
@enable = args[:enable] if args.key?(:enable)
|
|
2611
|
+
@whitelisted_type_id = args[:whitelisted_type_id] if args.key?(:whitelisted_type_id)
|
|
2612
|
+
end
|
|
2613
|
+
end
|
|
2433
2614
|
end
|
|
2434
2615
|
end
|
|
2435
2616
|
end
|
|
@@ -340,6 +340,30 @@ module Google
|
|
|
340
340
|
include Google::Apis::Core::JsonObjectSupport
|
|
341
341
|
end
|
|
342
342
|
|
|
343
|
+
class Zone
|
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
345
|
+
|
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
347
|
+
end
|
|
348
|
+
|
|
349
|
+
class ZoneBoundary
|
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
351
|
+
|
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
353
|
+
end
|
|
354
|
+
|
|
355
|
+
class ZoneChildContainer
|
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
357
|
+
|
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
359
|
+
end
|
|
360
|
+
|
|
361
|
+
class ZoneTypeRestriction
|
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
363
|
+
|
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
365
|
+
end
|
|
366
|
+
|
|
343
367
|
class Account
|
|
344
368
|
# @private
|
|
345
369
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -428,6 +452,8 @@ module Google
|
|
|
428
452
|
|
|
429
453
|
collection :variable, as: 'variable', class: Google::Apis::TagmanagerV2::Variable, decorator: Google::Apis::TagmanagerV2::Variable::Representation
|
|
430
454
|
|
|
455
|
+
collection :zone, as: 'zone', class: Google::Apis::TagmanagerV2::Zone, decorator: Google::Apis::TagmanagerV2::Zone::Representation
|
|
456
|
+
|
|
431
457
|
end
|
|
432
458
|
end
|
|
433
459
|
|
|
@@ -444,6 +470,7 @@ module Google
|
|
|
444
470
|
property :num_tags, as: 'numTags'
|
|
445
471
|
property :num_triggers, as: 'numTriggers'
|
|
446
472
|
property :num_variables, as: 'numVariables'
|
|
473
|
+
property :num_zones, as: 'numZones'
|
|
447
474
|
property :path, as: 'path'
|
|
448
475
|
end
|
|
449
476
|
end
|
|
@@ -847,6 +874,8 @@ module Google
|
|
|
847
874
|
|
|
848
875
|
property :name, as: 'name'
|
|
849
876
|
property :notes, as: 'notes'
|
|
877
|
+
collection :parameter, as: 'parameter', class: Google::Apis::TagmanagerV2::Parameter, decorator: Google::Apis::TagmanagerV2::Parameter::Representation
|
|
878
|
+
|
|
850
879
|
property :parent_folder_id, as: 'parentFolderId'
|
|
851
880
|
property :path, as: 'path'
|
|
852
881
|
property :selector, as: 'selector', class: Google::Apis::TagmanagerV2::Parameter, decorator: Google::Apis::TagmanagerV2::Parameter::Representation
|
|
@@ -988,6 +1017,52 @@ module Google
|
|
|
988
1017
|
property :type, as: 'type'
|
|
989
1018
|
end
|
|
990
1019
|
end
|
|
1020
|
+
|
|
1021
|
+
class Zone
|
|
1022
|
+
# @private
|
|
1023
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1024
|
+
property :account_id, as: 'accountId'
|
|
1025
|
+
property :boundary, as: 'boundary', class: Google::Apis::TagmanagerV2::ZoneBoundary, decorator: Google::Apis::TagmanagerV2::ZoneBoundary::Representation
|
|
1026
|
+
|
|
1027
|
+
collection :child_container, as: 'childContainer', class: Google::Apis::TagmanagerV2::ZoneChildContainer, decorator: Google::Apis::TagmanagerV2::ZoneChildContainer::Representation
|
|
1028
|
+
|
|
1029
|
+
property :container_id, as: 'containerId'
|
|
1030
|
+
property :fingerprint, as: 'fingerprint'
|
|
1031
|
+
property :name, as: 'name'
|
|
1032
|
+
property :notes, as: 'notes'
|
|
1033
|
+
property :path, as: 'path'
|
|
1034
|
+
property :tag_manager_url, as: 'tagManagerUrl'
|
|
1035
|
+
property :type_restriction, as: 'typeRestriction', class: Google::Apis::TagmanagerV2::ZoneTypeRestriction, decorator: Google::Apis::TagmanagerV2::ZoneTypeRestriction::Representation
|
|
1036
|
+
|
|
1037
|
+
property :workspace_id, as: 'workspaceId'
|
|
1038
|
+
property :zone_id, as: 'zoneId'
|
|
1039
|
+
end
|
|
1040
|
+
end
|
|
1041
|
+
|
|
1042
|
+
class ZoneBoundary
|
|
1043
|
+
# @private
|
|
1044
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1045
|
+
collection :condition, as: 'condition', class: Google::Apis::TagmanagerV2::Condition, decorator: Google::Apis::TagmanagerV2::Condition::Representation
|
|
1046
|
+
|
|
1047
|
+
collection :custom_evaluation_trigger_id, as: 'customEvaluationTriggerId'
|
|
1048
|
+
end
|
|
1049
|
+
end
|
|
1050
|
+
|
|
1051
|
+
class ZoneChildContainer
|
|
1052
|
+
# @private
|
|
1053
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1054
|
+
property :nickname, as: 'nickname'
|
|
1055
|
+
property :public_id, as: 'publicId'
|
|
1056
|
+
end
|
|
1057
|
+
end
|
|
1058
|
+
|
|
1059
|
+
class ZoneTypeRestriction
|
|
1060
|
+
# @private
|
|
1061
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1062
|
+
property :enable, as: 'enable'
|
|
1063
|
+
collection :whitelisted_type_id, as: 'whitelistedTypeId'
|
|
1064
|
+
end
|
|
1065
|
+
end
|
|
991
1066
|
end
|
|
992
1067
|
end
|
|
993
1068
|
end
|