google-api-client 0.9.2 → 0.9.3
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/.travis.yml +1 -0
- data/CHANGELOG.md +9 -0
- data/Gemfile +1 -0
- data/README.md +2 -2
- data/api_names.yaml +19 -0
- data/api_names_out.yaml +843 -269
- data/bin/generate-api +18 -4
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +249 -9
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +208 -1
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +68 -0
- data/generated/google/apis/adexchangeseller_v2_0/representations.rb +38 -0
- data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/representations.rb +12 -0
- data/generated/google/apis/admin_datatransfer_v1/service.rb +1 -1
- data/generated/google/apis/admin_directory_v1/representations.rb +118 -0
- data/generated/google/apis/admin_reports_v1/representations.rb +26 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +0 -7
- data/generated/google/apis/adsense_v1_4/representations.rb +62 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/representations.rb +40 -0
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/representations.rb +188 -0
- data/generated/google/apis/analytics_v3/service.rb +3 -3
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/representations.rb +76 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +6 -2
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/representations.rb +92 -0
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +22 -1
- data/generated/google/apis/appengine_v1beta5/representations.rb +69 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +43 -0
- data/generated/google/apis/appsactivity_v1/representations.rb +22 -0
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/representations.rb +8 -0
- data/generated/google/apis/autoscaler_v1beta2/representations.rb +32 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +31 -0
- data/generated/google/apis/bigquery_v2/representations.rb +98 -0
- data/generated/google/apis/blogger_v3/representations.rb +70 -0
- data/generated/google/apis/books_v1/representations.rb +196 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/representations.rb +64 -0
- data/generated/google/apis/civicinfo_v2/representations.rb +40 -0
- data/generated/google/apis/classroom_v1/representations.rb +28 -0
- data/generated/google/apis/cloudbilling_v1/representations.rb +8 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +24 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +2 -2
- data/generated/google/apis/clouddebugger_v2/representations.rb +54 -0
- data/generated/google/apis/cloudlatencytest_v2/representations.rb +14 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +42 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +15 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +38 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +4 -1
- data/generated/google/apis/cloudtrace_v1/representations.rb +10 -0
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +38 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +512 -0
- data/generated/google/apis/compute_beta/representations.rb +599 -0
- data/generated/google/apis/compute_beta/service.rb +415 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/representations.rb +386 -0
- data/generated/google/apis/container_v1/representations.rb +20 -0
- data/generated/google/apis/content_v2/representations.rb +296 -0
- data/generated/google/apis/coordinate_v1/representations.rb +36 -0
- data/generated/google/apis/customsearch_v1/representations.rb +26 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1415 -0
- data/generated/google/apis/dataproc_v1/representations.rb +569 -0
- data/generated/google/apis/dataproc_v1/service.rb +581 -4
- data/generated/google/apis/datastore_v1beta2/representations.rb +68 -0
- data/generated/google/apis/deploymentmanager_v2/representations.rb +58 -0
- data/generated/google/apis/dfareporting_v2_3/representations.rb +386 -0
- data/generated/google/apis/discovery_v1/representations.rb +40 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +2 -2
- data/generated/google/apis/dns_v1/representations.rb +16 -0
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +42 -0
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +34 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +7 -0
- data/generated/google/apis/drive_v2/representations.rb +83 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +7 -0
- data/generated/google/apis/drive_v3/representations.rb +51 -0
- data/generated/google/apis/fitness_v1/representations.rb +40 -0
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/fusiontables_v2/representations.rb +48 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/representations.rb +22 -0
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/representations.rb +30 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/representations.rb +198 -0
- data/generated/google/apis/gan_v1beta1/representations.rb +34 -0
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +2 -211
- data/generated/google/apis/genomics_v1/representations.rb +119 -84
- data/generated/google/apis/gmail_v1/representations.rb +44 -0
- data/generated/google/apis/groupsmigration_v1/representations.rb +2 -0
- data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +105 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +99 -0
- data/generated/google/apis/identitytoolkit_v3/service.rb +36 -1
- data/generated/google/apis/kgsearch_v1/representations.rb +2 -0
- data/generated/google/apis/licensing_v1/representations.rb +6 -0
- data/generated/google/apis/logging_v2beta1/representations.rb +40 -0
- data/generated/google/apis/manager_v1beta2/representations.rb +70 -0
- data/generated/google/apis/mirror_v1/representations.rb +40 -0
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oauth2_v2/representations.rb +8 -0
- data/generated/google/apis/pagespeedonline_v2/representations.rb +28 -0
- data/generated/google/apis/partners_v2/representations.rb +52 -0
- data/generated/google/apis/people_v1.rb +11 -11
- data/generated/google/apis/people_v1/classes.rb +888 -961
- data/generated/google/apis/people_v1/representations.rb +295 -225
- data/generated/google/apis/people_v1/service.rb +61 -65
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/representations.rb +124 -0
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/representations.rb +102 -0
- data/generated/google/apis/prediction_v1_6/classes.rb +1 -1
- data/generated/google/apis/prediction_v1_6/representations.rb +42 -0
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +38 -0
- data/generated/google/apis/pubsub_v1/representations.rb +42 -0
- data/generated/google/apis/qpx_express_v1/representations.rb +48 -0
- data/generated/google/apis/replicapool_v1beta2/representations.rb +28 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +30 -0
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +6 -0
- data/generated/google/apis/reseller_v1/representations.rb +23 -0
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +32 -0
- data/generated/google/apis/script_v1/representations.rb +12 -0
- data/generated/google/apis/site_verification_v1/representations.rb +12 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +50 -21
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +98 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +3 -3
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/representations.rb +52 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +48 -0
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/classes.rb +110 -0
- data/generated/google/apis/tagmanager_v1/representations.rb +96 -0
- data/generated/google/apis/tagmanager_v1/service.rb +303 -1
- data/generated/google/apis/taskqueue_v1beta2/representations.rb +12 -0
- data/generated/google/apis/tasks_v1/representations.rb +10 -0
- data/generated/google/apis/translate_v2.rb +1 -1
- data/generated/google/apis/translate_v2/representations.rb +12 -0
- data/generated/google/apis/urlshortener_v1/representations.rb +10 -0
- data/generated/google/apis/vision_v1.rb +37 -0
- data/generated/google/apis/vision_v1/classes.rb +1259 -0
- data/generated/google/apis/vision_v1/representations.rb +418 -0
- data/generated/google/apis/vision_v1/service.rb +91 -0
- data/generated/google/apis/webmasters_v3/representations.rb +32 -0
- data/generated/google/apis/youtube_analytics_v1/representations.rb +30 -0
- data/generated/google/apis/youtube_v3/representations.rb +332 -0
- data/generated/google/apis/youtubereporting_v1/representations.rb +16 -0
- data/google-api-client.gemspec +0 -2
- data/lib/google/api_client/client_secrets.rb +3 -4
- data/lib/google/apis/core/api_command.rb +5 -4
- data/lib/google/apis/core/http_command.rb +20 -4
- data/lib/google/apis/core/json_representation.rb +20 -2
- data/lib/google/apis/generator/annotator.rb +1 -1
- data/lib/google/apis/generator/templates/_representation_stub.tmpl +2 -0
- data/lib/google/apis/version.rb +1 -1
- data/script/generate +2 -1
- data/spec/google/api_client/client_secrets_spec.rb +2 -2
- data/spec/google/apis/core/api_command_spec.rb +2 -2
- data/spec/google/apis/core/http_command_spec.rb +19 -0
- data/spec/google/apis/core/json_representation_spec.rb +14 -7
- data/spec/google/apis/generator/generator_spec.rb +52 -0
- metadata +6 -30
|
@@ -181,8 +181,7 @@ module Google
|
|
|
181
181
|
execute_or_queue_command(command, &block)
|
|
182
182
|
end
|
|
183
183
|
|
|
184
|
-
# Deletes a
|
|
185
|
-
# instance.
|
|
184
|
+
# Deletes a database from a Cloud SQL instance.
|
|
186
185
|
# @param [String] project
|
|
187
186
|
# Project ID of the project that contains the instance.
|
|
188
187
|
# @param [String] instance
|
|
@@ -467,7 +466,8 @@ module Google
|
|
|
467
466
|
execute_or_queue_command(command, &block)
|
|
468
467
|
end
|
|
469
468
|
|
|
470
|
-
# Creates a Cloud SQL instance as a clone of the source instance.
|
|
469
|
+
# Creates a Cloud SQL instance as a clone of the source instance. The API is not
|
|
470
|
+
# ready for Second Generation instances yet.
|
|
471
471
|
# @param [String] project
|
|
472
472
|
# Project ID of the source as well as the clone Cloud SQL instance.
|
|
473
473
|
# @param [String] instance
|
|
@@ -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 = '20160210'
|
|
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'
|
|
@@ -27,6 +27,8 @@ module Google
|
|
|
27
27
|
|
|
28
28
|
class CorsConfiguration
|
|
29
29
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
30
|
+
|
|
31
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
30
32
|
end
|
|
31
33
|
|
|
32
34
|
class Lifecycle
|
|
@@ -37,29 +39,47 @@ module Google
|
|
|
37
39
|
|
|
38
40
|
class Action
|
|
39
41
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
42
|
+
|
|
43
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
40
44
|
end
|
|
41
45
|
|
|
42
46
|
class Condition
|
|
43
47
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
48
|
+
|
|
49
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
44
50
|
end
|
|
51
|
+
|
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
45
53
|
end
|
|
54
|
+
|
|
55
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
46
56
|
end
|
|
47
57
|
|
|
48
58
|
class Logging
|
|
49
59
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
60
|
+
|
|
61
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
50
62
|
end
|
|
51
63
|
|
|
52
64
|
class Owner
|
|
53
65
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
66
|
+
|
|
67
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
54
68
|
end
|
|
55
69
|
|
|
56
70
|
class Versioning
|
|
57
71
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
72
|
+
|
|
73
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
58
74
|
end
|
|
59
75
|
|
|
60
76
|
class Website
|
|
61
77
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
78
|
+
|
|
79
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
62
80
|
end
|
|
81
|
+
|
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
63
83
|
end
|
|
64
84
|
|
|
65
85
|
class BucketAccessControl
|
|
@@ -67,19 +87,29 @@ module Google
|
|
|
67
87
|
|
|
68
88
|
class ProjectTeam
|
|
69
89
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
90
|
+
|
|
91
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
70
92
|
end
|
|
93
|
+
|
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
71
95
|
end
|
|
72
96
|
|
|
73
97
|
class BucketAccessControls
|
|
74
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
+
|
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
75
101
|
end
|
|
76
102
|
|
|
77
103
|
class Buckets
|
|
78
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
|
+
|
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
79
107
|
end
|
|
80
108
|
|
|
81
109
|
class Channel
|
|
82
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
|
+
|
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
83
113
|
end
|
|
84
114
|
|
|
85
115
|
class ComposeRequest
|
|
@@ -90,8 +120,14 @@ module Google
|
|
|
90
120
|
|
|
91
121
|
class ObjectPreconditions
|
|
92
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
|
+
|
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
93
125
|
end
|
|
126
|
+
|
|
127
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
94
128
|
end
|
|
129
|
+
|
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
95
131
|
end
|
|
96
132
|
|
|
97
133
|
class Object
|
|
@@ -99,11 +135,17 @@ module Google
|
|
|
99
135
|
|
|
100
136
|
class CustomerEncryption
|
|
101
137
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
138
|
+
|
|
139
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
102
140
|
end
|
|
103
141
|
|
|
104
142
|
class Owner
|
|
105
143
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
144
|
+
|
|
145
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
106
146
|
end
|
|
147
|
+
|
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
107
149
|
end
|
|
108
150
|
|
|
109
151
|
class ObjectAccessControl
|
|
@@ -111,19 +153,29 @@ module Google
|
|
|
111
153
|
|
|
112
154
|
class ProjectTeam
|
|
113
155
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
156
|
+
|
|
157
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
114
158
|
end
|
|
159
|
+
|
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
115
161
|
end
|
|
116
162
|
|
|
117
163
|
class ObjectAccessControls
|
|
118
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
165
|
+
|
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
119
167
|
end
|
|
120
168
|
|
|
121
169
|
class Objects
|
|
122
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
171
|
+
|
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
123
173
|
end
|
|
124
174
|
|
|
125
175
|
class RewriteResponse
|
|
126
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
177
|
+
|
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
127
179
|
end
|
|
128
180
|
|
|
129
181
|
class Bucket
|
|
@@ -24,98 +24,146 @@ module Google
|
|
|
24
24
|
|
|
25
25
|
class GoogleServiceAccount
|
|
26
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
+
|
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
27
29
|
end
|
|
28
30
|
|
|
29
31
|
class TransferJob
|
|
30
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
+
|
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
31
35
|
end
|
|
32
36
|
|
|
33
37
|
class TransferSpec
|
|
34
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
|
+
|
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
35
41
|
end
|
|
36
42
|
|
|
37
43
|
class GcsData
|
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
+
|
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
39
47
|
end
|
|
40
48
|
|
|
41
49
|
class AwsS3Data
|
|
42
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
|
+
|
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
43
53
|
end
|
|
44
54
|
|
|
45
55
|
class AwsAccessKey
|
|
46
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
|
+
|
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
47
59
|
end
|
|
48
60
|
|
|
49
61
|
class HttpData
|
|
50
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
|
+
|
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
51
65
|
end
|
|
52
66
|
|
|
53
67
|
class ObjectConditions
|
|
54
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
|
+
|
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
55
71
|
end
|
|
56
72
|
|
|
57
73
|
class TransferOptions
|
|
58
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
+
|
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
59
77
|
end
|
|
60
78
|
|
|
61
79
|
class Schedule
|
|
62
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
|
+
|
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
63
83
|
end
|
|
64
84
|
|
|
65
85
|
class Date
|
|
66
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
|
+
|
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
67
89
|
end
|
|
68
90
|
|
|
69
91
|
class TimeOfDay
|
|
70
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
+
|
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
71
95
|
end
|
|
72
96
|
|
|
73
97
|
class UpdateTransferJobRequest
|
|
74
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
+
|
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
75
101
|
end
|
|
76
102
|
|
|
77
103
|
class ListTransferJobsResponse
|
|
78
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
|
+
|
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
79
107
|
end
|
|
80
108
|
|
|
81
109
|
class PauseTransferOperationRequest
|
|
82
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
|
+
|
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
83
113
|
end
|
|
84
114
|
|
|
85
115
|
class Empty
|
|
86
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
|
+
|
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
87
119
|
end
|
|
88
120
|
|
|
89
121
|
class ResumeTransferOperationRequest
|
|
90
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
|
+
|
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
91
125
|
end
|
|
92
126
|
|
|
93
127
|
class Operation
|
|
94
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
129
|
+
|
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
95
131
|
end
|
|
96
132
|
|
|
97
133
|
class Status
|
|
98
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
135
|
+
|
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
99
137
|
end
|
|
100
138
|
|
|
101
139
|
class ListOperationsResponse
|
|
102
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
141
|
+
|
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
103
143
|
end
|
|
104
144
|
|
|
105
145
|
class TransferOperation
|
|
106
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
|
+
|
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
107
149
|
end
|
|
108
150
|
|
|
109
151
|
class TransferCounters
|
|
110
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
153
|
+
|
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
111
155
|
end
|
|
112
156
|
|
|
113
157
|
class ErrorSummary
|
|
114
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
159
|
+
|
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
115
161
|
end
|
|
116
162
|
|
|
117
163
|
class ErrorLogEntry
|
|
118
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
165
|
+
|
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
119
167
|
end
|
|
120
168
|
|
|
121
169
|
class GoogleServiceAccount
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/tag-manager/api/v1/
|
|
26
26
|
module TagmanagerV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20160209'
|
|
29
29
|
|
|
30
30
|
# Delete your Google Tag Manager containers
|
|
31
31
|
AUTH_TAGMANAGER_DELETE_CONTAINERS = 'https://www.googleapis.com/auth/tagmanager.delete.containers'
|
|
@@ -457,6 +457,97 @@ module Google
|
|
|
457
457
|
end
|
|
458
458
|
end
|
|
459
459
|
|
|
460
|
+
# Represents a Google Tag Manager Environment. Note that a user can create,
|
|
461
|
+
# delete and update environments of type USER, but can only update the
|
|
462
|
+
# enable_debug and url fields of environments of other types.
|
|
463
|
+
class Environment
|
|
464
|
+
include Google::Apis::Core::Hashable
|
|
465
|
+
|
|
466
|
+
# GTM Account ID.
|
|
467
|
+
# Corresponds to the JSON property `accountId`
|
|
468
|
+
# @return [String]
|
|
469
|
+
attr_accessor :account_id
|
|
470
|
+
|
|
471
|
+
# The environment authorization code.
|
|
472
|
+
# Corresponds to the JSON property `authorizationCode`
|
|
473
|
+
# @return [String]
|
|
474
|
+
attr_accessor :authorization_code
|
|
475
|
+
|
|
476
|
+
# The last update time-stamp for the authorization code.
|
|
477
|
+
# Corresponds to the JSON property `authorizationTimestampMs`
|
|
478
|
+
# @return [String]
|
|
479
|
+
attr_accessor :authorization_timestamp_ms
|
|
480
|
+
|
|
481
|
+
# GTM Container ID.
|
|
482
|
+
# Corresponds to the JSON property `containerId`
|
|
483
|
+
# @return [String]
|
|
484
|
+
attr_accessor :container_id
|
|
485
|
+
|
|
486
|
+
#
|
|
487
|
+
# Corresponds to the JSON property `containerVersionId`
|
|
488
|
+
# @return [String]
|
|
489
|
+
attr_accessor :container_version_id
|
|
490
|
+
|
|
491
|
+
# The environment description. Can be set or changed only on USER type
|
|
492
|
+
# environments.
|
|
493
|
+
# Corresponds to the JSON property `description`
|
|
494
|
+
# @return [String]
|
|
495
|
+
attr_accessor :description
|
|
496
|
+
|
|
497
|
+
# Whether or not to enable debug by default on for the environment.
|
|
498
|
+
# Corresponds to the JSON property `enableDebug`
|
|
499
|
+
# @return [Boolean]
|
|
500
|
+
attr_accessor :enable_debug
|
|
501
|
+
alias_method :enable_debug?, :enable_debug
|
|
502
|
+
|
|
503
|
+
# GTM Environment ID uniquely identifies the GTM Environment.
|
|
504
|
+
# Corresponds to the JSON property `environmentId`
|
|
505
|
+
# @return [String]
|
|
506
|
+
attr_accessor :environment_id
|
|
507
|
+
|
|
508
|
+
# The fingerprint of the GTM environment as computed at storage time. This value
|
|
509
|
+
# is recomputed whenever the environment is modified.
|
|
510
|
+
# Corresponds to the JSON property `fingerprint`
|
|
511
|
+
# @return [String]
|
|
512
|
+
attr_accessor :fingerprint
|
|
513
|
+
|
|
514
|
+
# The environment display name. Can be set or changed only on USER type
|
|
515
|
+
# environments.
|
|
516
|
+
# Corresponds to the JSON property `name`
|
|
517
|
+
# @return [String]
|
|
518
|
+
attr_accessor :name
|
|
519
|
+
|
|
520
|
+
# The type of this environment.
|
|
521
|
+
# Corresponds to the JSON property `type`
|
|
522
|
+
# @return [String]
|
|
523
|
+
attr_accessor :type
|
|
524
|
+
|
|
525
|
+
# Default preview page url for the environment.
|
|
526
|
+
# Corresponds to the JSON property `url`
|
|
527
|
+
# @return [String]
|
|
528
|
+
attr_accessor :url
|
|
529
|
+
|
|
530
|
+
def initialize(**args)
|
|
531
|
+
update!(**args)
|
|
532
|
+
end
|
|
533
|
+
|
|
534
|
+
# Update properties of this object
|
|
535
|
+
def update!(**args)
|
|
536
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
|
537
|
+
@authorization_code = args[:authorization_code] if args.key?(:authorization_code)
|
|
538
|
+
@authorization_timestamp_ms = args[:authorization_timestamp_ms] if args.key?(:authorization_timestamp_ms)
|
|
539
|
+
@container_id = args[:container_id] if args.key?(:container_id)
|
|
540
|
+
@container_version_id = args[:container_version_id] if args.key?(:container_version_id)
|
|
541
|
+
@description = args[:description] if args.key?(:description)
|
|
542
|
+
@enable_debug = args[:enable_debug] if args.key?(:enable_debug)
|
|
543
|
+
@environment_id = args[:environment_id] if args.key?(:environment_id)
|
|
544
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
|
545
|
+
@name = args[:name] if args.key?(:name)
|
|
546
|
+
@type = args[:type] if args.key?(:type)
|
|
547
|
+
@url = args[:url] if args.key?(:url)
|
|
548
|
+
end
|
|
549
|
+
end
|
|
550
|
+
|
|
460
551
|
# Represents a Google Tag Manager Folder.
|
|
461
552
|
class Folder
|
|
462
553
|
include Google::Apis::Core::Hashable
|
|
@@ -614,6 +705,25 @@ module Google
|
|
|
614
705
|
end
|
|
615
706
|
end
|
|
616
707
|
|
|
708
|
+
# List Environments Response.
|
|
709
|
+
class ListEnvironmentsResponse
|
|
710
|
+
include Google::Apis::Core::Hashable
|
|
711
|
+
|
|
712
|
+
# All Environments of a GTM Container.
|
|
713
|
+
# Corresponds to the JSON property `environments`
|
|
714
|
+
# @return [Array<Google::Apis::TagmanagerV1::Environment>]
|
|
715
|
+
attr_accessor :environments
|
|
716
|
+
|
|
717
|
+
def initialize(**args)
|
|
718
|
+
update!(**args)
|
|
719
|
+
end
|
|
720
|
+
|
|
721
|
+
# Update properties of this object
|
|
722
|
+
def update!(**args)
|
|
723
|
+
@environments = args[:environments] if args.key?(:environments)
|
|
724
|
+
end
|
|
725
|
+
end
|
|
726
|
+
|
|
617
727
|
# List Folders Response.
|
|
618
728
|
class ListFoldersResponse
|
|
619
729
|
include Google::Apis::Core::Hashable
|