google-api-client 0.24.2 → 0.24.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +68 -0
- data/README.md +9 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +5 -4
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +90 -87
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +17 -15
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +155 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +82 -0
- data/generated/google/apis/alertcenter_v1beta1.rb +31 -0
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +835 -0
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +394 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +302 -0
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +37 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +8 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +8 -4
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/service.rb +5 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +5 -1
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +8 -1
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +6 -5
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +12 -10
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +52 -18
- data/generated/google/apis/cloudasset_v1beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +798 -0
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +263 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +313 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +42 -5
- data/generated/google/apis/cloudbuild_v1/representations.rb +6 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +59 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +28 -0
- data/generated/google/apis/cloudiot_v1/service.rb +94 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +1 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +34 -5
- data/generated/google/apis/composer_v1beta1/representations.rb +1 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +227 -48
- data/generated/google/apis/compute_alpha/representations.rb +84 -1
- data/generated/google/apis/compute_alpha/service.rb +50 -10
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +593 -77
- data/generated/google/apis/compute_beta/representations.rb +224 -18
- data/generated/google/apis/compute_beta/service.rb +174 -3
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +41 -18
- data/generated/google/apis/compute_v1/representations.rb +3 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +372 -119
- data/generated/google/apis/content_v2/representations.rb +157 -39
- data/generated/google/apis/content_v2/service.rb +101 -11
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +372 -119
- data/generated/google/apis/content_v2sandbox/representations.rb +157 -39
- data/generated/google/apis/content_v2sandbox/service.rb +90 -0
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +7 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +12 -0
- data/generated/google/apis/dataproc_v1/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +21 -6
- data/generated/google/apis/dataproc_v1beta2/representations.rb +2 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +2 -2
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +2 -2
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +110 -5
- data/generated/google/apis/dlp_v2/representations.rb +17 -0
- data/generated/google/apis/dlp_v2/service.rb +41 -3
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +0 -234
- data/generated/google/apis/file_v1beta1/representations.rb +0 -79
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +19 -1
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +3 -0
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +4 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +43 -0
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +767 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +337 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +502 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +8 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +1 -0
- data/generated/google/apis/firebaserules_v1/service.rb +1 -1
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/service.rb +80 -80
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/service.rb +4 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +3 -1
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/service.rb +0 -10
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/service.rb +339 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +45 -37
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +21 -18
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +45 -20
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +2 -0
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +12 -0
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +12 -0
- data/generated/google/apis/logging_v2beta1/representations.rb +1 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +2 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +19 -17
- data/generated/google/apis/monitoring_v3/representations.rb +1 -2
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +18 -15
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +18 -15
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +2 -150
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -42
- data/generated/google/apis/servicenetworking_v1beta.rb +38 -0
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +3440 -0
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +992 -0
- data/generated/google/apis/servicenetworking_v1beta/service.rb +227 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -1
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2 -150
- data/generated/google/apis/serviceuser_v1/representations.rb +0 -42
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +308 -30
- data/generated/google/apis/spanner_v1/representations.rb +17 -0
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +12 -0
- data/generated/google/apis/streetviewpublish_v1/representations.rb +1 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +47 -0
- data/generated/google/apis/testing_v1/representations.rb +18 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +676 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +306 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +676 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +306 -0
- data/generated/google/apis/{videointelligence_v1beta1.rb → videointelligence_v1p1beta1.rb} +6 -6
- data/generated/google/apis/{videointelligence_v1beta1 → videointelligence_v1p1beta1}/classes.rb +885 -489
- data/generated/google/apis/{videointelligence_v1beta1 → videointelligence_v1p1beta1}/representations.rb +357 -194
- data/generated/google/apis/{videointelligence_v1beta1 → videointelligence_v1p1beta1}/service.rb +12 -12
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +2 -2
- data/generated/google/apis/youtube_partner_v1/classes.rb +2 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +22 -6
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://firebase.google.com/docs/storage/security
|
27
27
|
module FirebaserulesV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180927'
|
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'
|
@@ -196,6 +196,13 @@ module Google
|
|
196
196
|
# @return [String]
|
197
197
|
attr_accessor :ruleset_name
|
198
198
|
|
199
|
+
# Optional, indicates the freshness of the result. The response is
|
200
|
+
# guaranteed to be the latest within an interval up to the
|
201
|
+
# sync_time (inclusive).
|
202
|
+
# Corresponds to the JSON property `syncTime`
|
203
|
+
# @return [String]
|
204
|
+
attr_accessor :sync_time
|
205
|
+
|
199
206
|
# Timestamp for the most recent `Release.update_time`.
|
200
207
|
# Corresponds to the JSON property `updateTime`
|
201
208
|
# @return [String]
|
@@ -211,6 +218,7 @@ module Google
|
|
211
218
|
@executable_version = args[:executable_version] if args.key?(:executable_version)
|
212
219
|
@language = args[:language] if args.key?(:language)
|
213
220
|
@ruleset_name = args[:ruleset_name] if args.key?(:ruleset_name)
|
221
|
+
@sync_time = args[:sync_time] if args.key?(:sync_time)
|
214
222
|
@update_time = args[:update_time] if args.key?(:update_time)
|
215
223
|
end
|
216
224
|
end
|
@@ -198,6 +198,7 @@ module Google
|
|
198
198
|
property :executable_version, as: 'executableVersion'
|
199
199
|
property :language, as: 'language'
|
200
200
|
property :ruleset_name, as: 'rulesetName'
|
201
|
+
property :sync_time, as: 'syncTime'
|
201
202
|
property :update_time, as: 'updateTime'
|
202
203
|
end
|
203
204
|
end
|
@@ -221,7 +221,7 @@ module Google
|
|
221
221
|
# Format: `projects/`project_id`/releases/`release_id``
|
222
222
|
# @param [String] executable_version
|
223
223
|
# The requested runtime executable version.
|
224
|
-
# Defaults to FIREBASE_RULES_EXECUTABLE_V1
|
224
|
+
# Defaults to FIREBASE_RULES_EXECUTABLE_V1.
|
225
225
|
# @param [String] fields
|
226
226
|
# Selector specifying which fields to include in a partial response.
|
227
227
|
# @param [String] quota_user
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/firestore
|
27
27
|
module FirestoreV1beta2
|
28
28
|
VERSION = 'V1beta2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180919'
|
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'
|
@@ -48,86 +48,6 @@ module Google
|
|
48
48
|
@batch_path = 'batch'
|
49
49
|
end
|
50
50
|
|
51
|
-
# Creates a composite index. This returns a google.longrunning.Operation
|
52
|
-
# which may be used to track the status of the creation. The metadata for
|
53
|
-
# the operation will be the type IndexOperationMetadata.
|
54
|
-
# @param [String] parent
|
55
|
-
# A parent name of the form
|
56
|
-
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
|
57
|
-
# `
|
58
|
-
# @param [Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Index] google_firestore_admin_v1beta2_index_object
|
59
|
-
# @param [String] fields
|
60
|
-
# Selector specifying which fields to include in a partial response.
|
61
|
-
# @param [String] quota_user
|
62
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
63
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
64
|
-
# @param [Google::Apis::RequestOptions] options
|
65
|
-
# Request-specific options
|
66
|
-
#
|
67
|
-
# @yield [result, err] Result & error if block supplied
|
68
|
-
# @yieldparam result [Google::Apis::FirestoreV1beta2::GoogleLongrunningOperation] parsed result object
|
69
|
-
# @yieldparam err [StandardError] error object if request failed
|
70
|
-
#
|
71
|
-
# @return [Google::Apis::FirestoreV1beta2::GoogleLongrunningOperation]
|
72
|
-
#
|
73
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
74
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
75
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
76
|
-
def create_project_database_collection_group_index(parent, google_firestore_admin_v1beta2_index_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
77
|
-
command = make_simple_command(:post, 'v1beta2/{+parent}/indexes', options)
|
78
|
-
command.request_representation = Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Index::Representation
|
79
|
-
command.request_object = google_firestore_admin_v1beta2_index_object
|
80
|
-
command.response_representation = Google::Apis::FirestoreV1beta2::GoogleLongrunningOperation::Representation
|
81
|
-
command.response_class = Google::Apis::FirestoreV1beta2::GoogleLongrunningOperation
|
82
|
-
command.params['parent'] = parent unless parent.nil?
|
83
|
-
command.query['fields'] = fields unless fields.nil?
|
84
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
85
|
-
execute_or_queue_command(command, &block)
|
86
|
-
end
|
87
|
-
|
88
|
-
# Lists composite indexes.
|
89
|
-
# @param [String] parent
|
90
|
-
# A parent name of the form
|
91
|
-
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
|
92
|
-
# `
|
93
|
-
# @param [String] filter
|
94
|
-
# The filter to apply to list results.
|
95
|
-
# @param [Fixnum] page_size
|
96
|
-
# The number of results to return.
|
97
|
-
# @param [String] page_token
|
98
|
-
# A page token, returned from a previous call to
|
99
|
-
# FirestoreAdmin.ListIndexes, that may be used to get the next
|
100
|
-
# page of results.
|
101
|
-
# @param [String] fields
|
102
|
-
# Selector specifying which fields to include in a partial response.
|
103
|
-
# @param [String] quota_user
|
104
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
105
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
106
|
-
# @param [Google::Apis::RequestOptions] options
|
107
|
-
# Request-specific options
|
108
|
-
#
|
109
|
-
# @yield [result, err] Result & error if block supplied
|
110
|
-
# @yieldparam result [Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2ListIndexesResponse] parsed result object
|
111
|
-
# @yieldparam err [StandardError] error object if request failed
|
112
|
-
#
|
113
|
-
# @return [Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2ListIndexesResponse]
|
114
|
-
#
|
115
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
116
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
117
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
118
|
-
def list_project_database_collection_group_indexes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
119
|
-
command = make_simple_command(:get, 'v1beta2/{+parent}/indexes', options)
|
120
|
-
command.response_representation = Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2ListIndexesResponse::Representation
|
121
|
-
command.response_class = Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2ListIndexesResponse
|
122
|
-
command.params['parent'] = parent unless parent.nil?
|
123
|
-
command.query['filter'] = filter unless filter.nil?
|
124
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
125
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
126
|
-
command.query['fields'] = fields unless fields.nil?
|
127
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
128
|
-
execute_or_queue_command(command, &block)
|
129
|
-
end
|
130
|
-
|
131
51
|
# Gets the metadata and configuration for a Field.
|
132
52
|
# @param [String] name
|
133
53
|
# A name of the form
|
@@ -282,6 +202,43 @@ module Google
|
|
282
202
|
execute_or_queue_command(command, &block)
|
283
203
|
end
|
284
204
|
|
205
|
+
# Creates a composite index. This returns a google.longrunning.Operation
|
206
|
+
# which may be used to track the status of the creation. The metadata for
|
207
|
+
# the operation will be the type IndexOperationMetadata.
|
208
|
+
# @param [String] parent
|
209
|
+
# A parent name of the form
|
210
|
+
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
|
211
|
+
# `
|
212
|
+
# @param [Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Index] google_firestore_admin_v1beta2_index_object
|
213
|
+
# @param [String] fields
|
214
|
+
# Selector specifying which fields to include in a partial response.
|
215
|
+
# @param [String] quota_user
|
216
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
217
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
218
|
+
# @param [Google::Apis::RequestOptions] options
|
219
|
+
# Request-specific options
|
220
|
+
#
|
221
|
+
# @yield [result, err] Result & error if block supplied
|
222
|
+
# @yieldparam result [Google::Apis::FirestoreV1beta2::GoogleLongrunningOperation] parsed result object
|
223
|
+
# @yieldparam err [StandardError] error object if request failed
|
224
|
+
#
|
225
|
+
# @return [Google::Apis::FirestoreV1beta2::GoogleLongrunningOperation]
|
226
|
+
#
|
227
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
228
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
229
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
230
|
+
def create_project_database_collection_group_index(parent, google_firestore_admin_v1beta2_index_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
231
|
+
command = make_simple_command(:post, 'v1beta2/{+parent}/indexes', options)
|
232
|
+
command.request_representation = Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Index::Representation
|
233
|
+
command.request_object = google_firestore_admin_v1beta2_index_object
|
234
|
+
command.response_representation = Google::Apis::FirestoreV1beta2::GoogleLongrunningOperation::Representation
|
235
|
+
command.response_class = Google::Apis::FirestoreV1beta2::GoogleLongrunningOperation
|
236
|
+
command.params['parent'] = parent unless parent.nil?
|
237
|
+
command.query['fields'] = fields unless fields.nil?
|
238
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
239
|
+
execute_or_queue_command(command, &block)
|
240
|
+
end
|
241
|
+
|
285
242
|
# Deletes a composite index.
|
286
243
|
# @param [String] name
|
287
244
|
# A name of the form
|
@@ -345,6 +302,49 @@ module Google
|
|
345
302
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
346
303
|
execute_or_queue_command(command, &block)
|
347
304
|
end
|
305
|
+
|
306
|
+
# Lists composite indexes.
|
307
|
+
# @param [String] parent
|
308
|
+
# A parent name of the form
|
309
|
+
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
|
310
|
+
# `
|
311
|
+
# @param [String] filter
|
312
|
+
# The filter to apply to list results.
|
313
|
+
# @param [Fixnum] page_size
|
314
|
+
# The number of results to return.
|
315
|
+
# @param [String] page_token
|
316
|
+
# A page token, returned from a previous call to
|
317
|
+
# FirestoreAdmin.ListIndexes, that may be used to get the next
|
318
|
+
# page of results.
|
319
|
+
# @param [String] fields
|
320
|
+
# Selector specifying which fields to include in a partial response.
|
321
|
+
# @param [String] quota_user
|
322
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
323
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
324
|
+
# @param [Google::Apis::RequestOptions] options
|
325
|
+
# Request-specific options
|
326
|
+
#
|
327
|
+
# @yield [result, err] Result & error if block supplied
|
328
|
+
# @yieldparam result [Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2ListIndexesResponse] parsed result object
|
329
|
+
# @yieldparam err [StandardError] error object if request failed
|
330
|
+
#
|
331
|
+
# @return [Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2ListIndexesResponse]
|
332
|
+
#
|
333
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
334
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
335
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
336
|
+
def list_project_database_collection_group_indexes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
337
|
+
command = make_simple_command(:get, 'v1beta2/{+parent}/indexes', options)
|
338
|
+
command.response_representation = Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2ListIndexesResponse::Representation
|
339
|
+
command.response_class = Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2ListIndexesResponse
|
340
|
+
command.params['parent'] = parent unless parent.nil?
|
341
|
+
command.query['filter'] = filter unless filter.nil?
|
342
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
343
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
344
|
+
command.query['fields'] = fields unless fields.nil?
|
345
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
346
|
+
execute_or_queue_command(command, &block)
|
347
|
+
end
|
348
348
|
|
349
349
|
protected
|
350
350
|
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/games/services/
|
26
26
|
module GamesV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180920'
|
29
29
|
|
30
30
|
# View and manage its own configuration data in your Google Drive
|
31
31
|
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
|
@@ -371,6 +371,8 @@ module Google
|
|
371
371
|
end
|
372
372
|
|
373
373
|
# Indicate that the the currently authenticated user is playing your application.
|
374
|
+
# @param [String] builtin_game_id
|
375
|
+
# Override used only by built-in games in Play Games application.
|
374
376
|
# @param [String] fields
|
375
377
|
# Selector specifying which fields to include in a partial response.
|
376
378
|
# @param [String] quota_user
|
@@ -390,8 +392,9 @@ module Google
|
|
390
392
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
391
393
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
392
394
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
393
|
-
def played_application(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
395
|
+
def played_application(builtin_game_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
394
396
|
command = make_simple_command(:post, 'applications/played', options)
|
397
|
+
command.query['builtinGameId'] = builtin_game_id unless builtin_game_id.nil?
|
395
398
|
command.query['fields'] = fields unless fields.nil?
|
396
399
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
397
400
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/iam/
|
28
28
|
module IamV1
|
29
29
|
VERSION = 'V1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20180920'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -1061,7 +1061,9 @@ module Google
|
|
1061
1061
|
# @return [String]
|
1062
1062
|
attr_accessor :name
|
1063
1063
|
|
1064
|
-
# The current launch stage of the role.
|
1064
|
+
# The current launch stage of the role. If the `ALPHA` launch stage has been
|
1065
|
+
# selected for a role, the `stage` field will not be included in the
|
1066
|
+
# returned definition for the role.
|
1065
1067
|
# Corresponds to the JSON property `stage`
|
1066
1068
|
# @return [String]
|
1067
1069
|
attr_accessor :stage
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials
|
26
26
|
module IamcredentialsV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180921'
|
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'
|
@@ -52,8 +52,6 @@ module Google
|
|
52
52
|
# The resource name of the service account for which the credentials
|
53
53
|
# are requested, in the following format:
|
54
54
|
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``.
|
55
|
-
# Using `-` as a wildcard for the project will infer the project from
|
56
|
-
# the account.
|
57
55
|
# @param [Google::Apis::IamcredentialsV1::GenerateAccessTokenRequest] generate_access_token_request_object
|
58
56
|
# @param [String] fields
|
59
57
|
# Selector specifying which fields to include in a partial response.
|
@@ -89,8 +87,6 @@ module Google
|
|
89
87
|
# The resource name of the service account for which the credentials
|
90
88
|
# are requested, in the following format:
|
91
89
|
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``.
|
92
|
-
# Using `-` as a wildcard for the project will infer the project from
|
93
|
-
# the account.
|
94
90
|
# @param [Google::Apis::IamcredentialsV1::GenerateIdTokenRequest] generate_id_token_request_object
|
95
91
|
# @param [String] fields
|
96
92
|
# Selector specifying which fields to include in a partial response.
|
@@ -126,8 +122,6 @@ module Google
|
|
126
122
|
# The resource name of the service account for which the credentials
|
127
123
|
# are requested, in the following format:
|
128
124
|
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``.
|
129
|
-
# Use hyphen as placeholder for project id since there is no project context
|
130
|
-
# for this API.
|
131
125
|
# @param [Google::Apis::IamcredentialsV1::GenerateIdentityBindingAccessTokenRequest] generate_identity_binding_access_token_request_object
|
132
126
|
# @param [String] fields
|
133
127
|
# Selector specifying which fields to include in a partial response.
|
@@ -163,8 +157,6 @@ module Google
|
|
163
157
|
# The resource name of the service account for which the credentials
|
164
158
|
# are requested, in the following format:
|
165
159
|
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``.
|
166
|
-
# Using `-` as a wildcard for the project will infer the project from
|
167
|
-
# the account.
|
168
160
|
# @param [Google::Apis::IamcredentialsV1::SignBlobRequest] sign_blob_request_object
|
169
161
|
# @param [String] fields
|
170
162
|
# Selector specifying which fields to include in a partial response.
|
@@ -200,8 +192,6 @@ module Google
|
|
200
192
|
# The resource name of the service account for which the credentials
|
201
193
|
# are requested, in the following format:
|
202
194
|
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``.
|
203
|
-
# Using `-` as a wildcard for the project will infer the project from
|
204
|
-
# the account.
|
205
195
|
# @param [Google::Apis::IamcredentialsV1::SignJwtRequest] sign_jwt_request_object
|
206
196
|
# @param [String] fields
|
207
197
|
# Selector specifying which fields to include in a partial response.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/iap
|
26
26
|
module IapV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180919'
|
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'
|
@@ -47,6 +47,345 @@ module Google
|
|
47
47
|
@batch_path = 'batch'
|
48
48
|
end
|
49
49
|
|
50
|
+
# Gets the access control policy for an Identity-Aware Proxy protected
|
51
|
+
# resource.
|
52
|
+
# More information about managing access via IAP can be found at:
|
53
|
+
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
54
|
+
# @param [String] resource
|
55
|
+
# REQUIRED: The resource for which the policy is being requested.
|
56
|
+
# See the operation documentation for the appropriate value for this field.
|
57
|
+
# @param [Google::Apis::IapV1beta1::GetIamPolicyRequest] get_iam_policy_request_object
|
58
|
+
# @param [String] fields
|
59
|
+
# Selector specifying which fields to include in a partial response.
|
60
|
+
# @param [String] quota_user
|
61
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
62
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
63
|
+
# @param [Google::Apis::RequestOptions] options
|
64
|
+
# Request-specific options
|
65
|
+
#
|
66
|
+
# @yield [result, err] Result & error if block supplied
|
67
|
+
# @yieldparam result [Google::Apis::IapV1beta1::Policy] parsed result object
|
68
|
+
# @yieldparam err [StandardError] error object if request failed
|
69
|
+
#
|
70
|
+
# @return [Google::Apis::IapV1beta1::Policy]
|
71
|
+
#
|
72
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
73
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
74
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
75
|
+
def get_iap_tunnel_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
76
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
|
77
|
+
command.request_representation = Google::Apis::IapV1beta1::GetIamPolicyRequest::Representation
|
78
|
+
command.request_object = get_iam_policy_request_object
|
79
|
+
command.response_representation = Google::Apis::IapV1beta1::Policy::Representation
|
80
|
+
command.response_class = Google::Apis::IapV1beta1::Policy
|
81
|
+
command.params['resource'] = resource unless resource.nil?
|
82
|
+
command.query['fields'] = fields unless fields.nil?
|
83
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
84
|
+
execute_or_queue_command(command, &block)
|
85
|
+
end
|
86
|
+
|
87
|
+
# Sets the access control policy for an Identity-Aware Proxy protected
|
88
|
+
# resource. Replaces any existing policy.
|
89
|
+
# More information about managing access via IAP can be found at:
|
90
|
+
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
91
|
+
# @param [String] resource
|
92
|
+
# REQUIRED: The resource for which the policy is being specified.
|
93
|
+
# See the operation documentation for the appropriate value for this field.
|
94
|
+
# @param [Google::Apis::IapV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
95
|
+
# @param [String] fields
|
96
|
+
# Selector specifying which fields to include in a partial response.
|
97
|
+
# @param [String] quota_user
|
98
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
99
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
100
|
+
# @param [Google::Apis::RequestOptions] options
|
101
|
+
# Request-specific options
|
102
|
+
#
|
103
|
+
# @yield [result, err] Result & error if block supplied
|
104
|
+
# @yieldparam result [Google::Apis::IapV1beta1::Policy] parsed result object
|
105
|
+
# @yieldparam err [StandardError] error object if request failed
|
106
|
+
#
|
107
|
+
# @return [Google::Apis::IapV1beta1::Policy]
|
108
|
+
#
|
109
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
110
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
111
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
112
|
+
def set_iap_tunnel_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
113
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
114
|
+
command.request_representation = Google::Apis::IapV1beta1::SetIamPolicyRequest::Representation
|
115
|
+
command.request_object = set_iam_policy_request_object
|
116
|
+
command.response_representation = Google::Apis::IapV1beta1::Policy::Representation
|
117
|
+
command.response_class = Google::Apis::IapV1beta1::Policy
|
118
|
+
command.params['resource'] = resource unless resource.nil?
|
119
|
+
command.query['fields'] = fields unless fields.nil?
|
120
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
121
|
+
execute_or_queue_command(command, &block)
|
122
|
+
end
|
123
|
+
|
124
|
+
# Returns permissions that a caller has on the Identity-Aware Proxy protected
|
125
|
+
# resource. If the resource does not exist or the caller does not have
|
126
|
+
# Identity-Aware Proxy permissions a [google.rpc.Code.PERMISSION_DENIED]
|
127
|
+
# will be returned.
|
128
|
+
# More information about managing access via IAP can be found at:
|
129
|
+
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
130
|
+
# @param [String] resource
|
131
|
+
# REQUIRED: The resource for which the policy detail is being requested.
|
132
|
+
# See the operation documentation for the appropriate value for this field.
|
133
|
+
# @param [Google::Apis::IapV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
134
|
+
# @param [String] fields
|
135
|
+
# Selector specifying which fields to include in a partial response.
|
136
|
+
# @param [String] quota_user
|
137
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
138
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
139
|
+
# @param [Google::Apis::RequestOptions] options
|
140
|
+
# Request-specific options
|
141
|
+
#
|
142
|
+
# @yield [result, err] Result & error if block supplied
|
143
|
+
# @yieldparam result [Google::Apis::IapV1beta1::TestIamPermissionsResponse] parsed result object
|
144
|
+
# @yieldparam err [StandardError] error object if request failed
|
145
|
+
#
|
146
|
+
# @return [Google::Apis::IapV1beta1::TestIamPermissionsResponse]
|
147
|
+
#
|
148
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
149
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
150
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
151
|
+
def test_iap_tunnel_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
152
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
153
|
+
command.request_representation = Google::Apis::IapV1beta1::TestIamPermissionsRequest::Representation
|
154
|
+
command.request_object = test_iam_permissions_request_object
|
155
|
+
command.response_representation = Google::Apis::IapV1beta1::TestIamPermissionsResponse::Representation
|
156
|
+
command.response_class = Google::Apis::IapV1beta1::TestIamPermissionsResponse
|
157
|
+
command.params['resource'] = resource unless resource.nil?
|
158
|
+
command.query['fields'] = fields unless fields.nil?
|
159
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
160
|
+
execute_or_queue_command(command, &block)
|
161
|
+
end
|
162
|
+
|
163
|
+
# Gets the access control policy for an Identity-Aware Proxy protected
|
164
|
+
# resource.
|
165
|
+
# More information about managing access via IAP can be found at:
|
166
|
+
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
167
|
+
# @param [String] resource
|
168
|
+
# REQUIRED: The resource for which the policy is being requested.
|
169
|
+
# See the operation documentation for the appropriate value for this field.
|
170
|
+
# @param [Google::Apis::IapV1beta1::GetIamPolicyRequest] get_iam_policy_request_object
|
171
|
+
# @param [String] fields
|
172
|
+
# Selector specifying which fields to include in a partial response.
|
173
|
+
# @param [String] quota_user
|
174
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
175
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
176
|
+
# @param [Google::Apis::RequestOptions] options
|
177
|
+
# Request-specific options
|
178
|
+
#
|
179
|
+
# @yield [result, err] Result & error if block supplied
|
180
|
+
# @yieldparam result [Google::Apis::IapV1beta1::Policy] parsed result object
|
181
|
+
# @yieldparam err [StandardError] error object if request failed
|
182
|
+
#
|
183
|
+
# @return [Google::Apis::IapV1beta1::Policy]
|
184
|
+
#
|
185
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
186
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
187
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
188
|
+
def get_zone_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
189
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
|
190
|
+
command.request_representation = Google::Apis::IapV1beta1::GetIamPolicyRequest::Representation
|
191
|
+
command.request_object = get_iam_policy_request_object
|
192
|
+
command.response_representation = Google::Apis::IapV1beta1::Policy::Representation
|
193
|
+
command.response_class = Google::Apis::IapV1beta1::Policy
|
194
|
+
command.params['resource'] = resource unless resource.nil?
|
195
|
+
command.query['fields'] = fields unless fields.nil?
|
196
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
197
|
+
execute_or_queue_command(command, &block)
|
198
|
+
end
|
199
|
+
|
200
|
+
# Sets the access control policy for an Identity-Aware Proxy protected
|
201
|
+
# resource. Replaces any existing policy.
|
202
|
+
# More information about managing access via IAP can be found at:
|
203
|
+
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
204
|
+
# @param [String] resource
|
205
|
+
# REQUIRED: The resource for which the policy is being specified.
|
206
|
+
# See the operation documentation for the appropriate value for this field.
|
207
|
+
# @param [Google::Apis::IapV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
208
|
+
# @param [String] fields
|
209
|
+
# Selector specifying which fields to include in a partial response.
|
210
|
+
# @param [String] quota_user
|
211
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
212
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
213
|
+
# @param [Google::Apis::RequestOptions] options
|
214
|
+
# Request-specific options
|
215
|
+
#
|
216
|
+
# @yield [result, err] Result & error if block supplied
|
217
|
+
# @yieldparam result [Google::Apis::IapV1beta1::Policy] parsed result object
|
218
|
+
# @yieldparam err [StandardError] error object if request failed
|
219
|
+
#
|
220
|
+
# @return [Google::Apis::IapV1beta1::Policy]
|
221
|
+
#
|
222
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
223
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
224
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
225
|
+
def set_zone_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
226
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
227
|
+
command.request_representation = Google::Apis::IapV1beta1::SetIamPolicyRequest::Representation
|
228
|
+
command.request_object = set_iam_policy_request_object
|
229
|
+
command.response_representation = Google::Apis::IapV1beta1::Policy::Representation
|
230
|
+
command.response_class = Google::Apis::IapV1beta1::Policy
|
231
|
+
command.params['resource'] = resource unless resource.nil?
|
232
|
+
command.query['fields'] = fields unless fields.nil?
|
233
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
234
|
+
execute_or_queue_command(command, &block)
|
235
|
+
end
|
236
|
+
|
237
|
+
# Returns permissions that a caller has on the Identity-Aware Proxy protected
|
238
|
+
# resource. If the resource does not exist or the caller does not have
|
239
|
+
# Identity-Aware Proxy permissions a [google.rpc.Code.PERMISSION_DENIED]
|
240
|
+
# will be returned.
|
241
|
+
# More information about managing access via IAP can be found at:
|
242
|
+
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
243
|
+
# @param [String] resource
|
244
|
+
# REQUIRED: The resource for which the policy detail is being requested.
|
245
|
+
# See the operation documentation for the appropriate value for this field.
|
246
|
+
# @param [Google::Apis::IapV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
247
|
+
# @param [String] fields
|
248
|
+
# Selector specifying which fields to include in a partial response.
|
249
|
+
# @param [String] quota_user
|
250
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
251
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
252
|
+
# @param [Google::Apis::RequestOptions] options
|
253
|
+
# Request-specific options
|
254
|
+
#
|
255
|
+
# @yield [result, err] Result & error if block supplied
|
256
|
+
# @yieldparam result [Google::Apis::IapV1beta1::TestIamPermissionsResponse] parsed result object
|
257
|
+
# @yieldparam err [StandardError] error object if request failed
|
258
|
+
#
|
259
|
+
# @return [Google::Apis::IapV1beta1::TestIamPermissionsResponse]
|
260
|
+
#
|
261
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
262
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
263
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
264
|
+
def test_zone_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
265
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
266
|
+
command.request_representation = Google::Apis::IapV1beta1::TestIamPermissionsRequest::Representation
|
267
|
+
command.request_object = test_iam_permissions_request_object
|
268
|
+
command.response_representation = Google::Apis::IapV1beta1::TestIamPermissionsResponse::Representation
|
269
|
+
command.response_class = Google::Apis::IapV1beta1::TestIamPermissionsResponse
|
270
|
+
command.params['resource'] = resource unless resource.nil?
|
271
|
+
command.query['fields'] = fields unless fields.nil?
|
272
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
273
|
+
execute_or_queue_command(command, &block)
|
274
|
+
end
|
275
|
+
|
276
|
+
# Gets the access control policy for an Identity-Aware Proxy protected
|
277
|
+
# resource.
|
278
|
+
# More information about managing access via IAP can be found at:
|
279
|
+
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
280
|
+
# @param [String] resource
|
281
|
+
# REQUIRED: The resource for which the policy is being requested.
|
282
|
+
# See the operation documentation for the appropriate value for this field.
|
283
|
+
# @param [Google::Apis::IapV1beta1::GetIamPolicyRequest] get_iam_policy_request_object
|
284
|
+
# @param [String] fields
|
285
|
+
# Selector specifying which fields to include in a partial response.
|
286
|
+
# @param [String] quota_user
|
287
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
288
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
289
|
+
# @param [Google::Apis::RequestOptions] options
|
290
|
+
# Request-specific options
|
291
|
+
#
|
292
|
+
# @yield [result, err] Result & error if block supplied
|
293
|
+
# @yieldparam result [Google::Apis::IapV1beta1::Policy] parsed result object
|
294
|
+
# @yieldparam err [StandardError] error object if request failed
|
295
|
+
#
|
296
|
+
# @return [Google::Apis::IapV1beta1::Policy]
|
297
|
+
#
|
298
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
299
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
300
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
301
|
+
def get_instance_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
302
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
|
303
|
+
command.request_representation = Google::Apis::IapV1beta1::GetIamPolicyRequest::Representation
|
304
|
+
command.request_object = get_iam_policy_request_object
|
305
|
+
command.response_representation = Google::Apis::IapV1beta1::Policy::Representation
|
306
|
+
command.response_class = Google::Apis::IapV1beta1::Policy
|
307
|
+
command.params['resource'] = resource unless resource.nil?
|
308
|
+
command.query['fields'] = fields unless fields.nil?
|
309
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
310
|
+
execute_or_queue_command(command, &block)
|
311
|
+
end
|
312
|
+
|
313
|
+
# Sets the access control policy for an Identity-Aware Proxy protected
|
314
|
+
# resource. Replaces any existing policy.
|
315
|
+
# More information about managing access via IAP can be found at:
|
316
|
+
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
317
|
+
# @param [String] resource
|
318
|
+
# REQUIRED: The resource for which the policy is being specified.
|
319
|
+
# See the operation documentation for the appropriate value for this field.
|
320
|
+
# @param [Google::Apis::IapV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
321
|
+
# @param [String] fields
|
322
|
+
# Selector specifying which fields to include in a partial response.
|
323
|
+
# @param [String] quota_user
|
324
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
325
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
326
|
+
# @param [Google::Apis::RequestOptions] options
|
327
|
+
# Request-specific options
|
328
|
+
#
|
329
|
+
# @yield [result, err] Result & error if block supplied
|
330
|
+
# @yieldparam result [Google::Apis::IapV1beta1::Policy] parsed result object
|
331
|
+
# @yieldparam err [StandardError] error object if request failed
|
332
|
+
#
|
333
|
+
# @return [Google::Apis::IapV1beta1::Policy]
|
334
|
+
#
|
335
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
336
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
337
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
338
|
+
def set_instance_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
339
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
340
|
+
command.request_representation = Google::Apis::IapV1beta1::SetIamPolicyRequest::Representation
|
341
|
+
command.request_object = set_iam_policy_request_object
|
342
|
+
command.response_representation = Google::Apis::IapV1beta1::Policy::Representation
|
343
|
+
command.response_class = Google::Apis::IapV1beta1::Policy
|
344
|
+
command.params['resource'] = resource unless resource.nil?
|
345
|
+
command.query['fields'] = fields unless fields.nil?
|
346
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
347
|
+
execute_or_queue_command(command, &block)
|
348
|
+
end
|
349
|
+
|
350
|
+
# Returns permissions that a caller has on the Identity-Aware Proxy protected
|
351
|
+
# resource. If the resource does not exist or the caller does not have
|
352
|
+
# Identity-Aware Proxy permissions a [google.rpc.Code.PERMISSION_DENIED]
|
353
|
+
# will be returned.
|
354
|
+
# More information about managing access via IAP can be found at:
|
355
|
+
# https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
|
356
|
+
# @param [String] resource
|
357
|
+
# REQUIRED: The resource for which the policy detail is being requested.
|
358
|
+
# See the operation documentation for the appropriate value for this field.
|
359
|
+
# @param [Google::Apis::IapV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
360
|
+
# @param [String] fields
|
361
|
+
# Selector specifying which fields to include in a partial response.
|
362
|
+
# @param [String] quota_user
|
363
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
364
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
365
|
+
# @param [Google::Apis::RequestOptions] options
|
366
|
+
# Request-specific options
|
367
|
+
#
|
368
|
+
# @yield [result, err] Result & error if block supplied
|
369
|
+
# @yieldparam result [Google::Apis::IapV1beta1::TestIamPermissionsResponse] parsed result object
|
370
|
+
# @yieldparam err [StandardError] error object if request failed
|
371
|
+
#
|
372
|
+
# @return [Google::Apis::IapV1beta1::TestIamPermissionsResponse]
|
373
|
+
#
|
374
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
375
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
376
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
377
|
+
def test_instance_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
378
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
379
|
+
command.request_representation = Google::Apis::IapV1beta1::TestIamPermissionsRequest::Representation
|
380
|
+
command.request_object = test_iam_permissions_request_object
|
381
|
+
command.response_representation = Google::Apis::IapV1beta1::TestIamPermissionsResponse::Representation
|
382
|
+
command.response_class = Google::Apis::IapV1beta1::TestIamPermissionsResponse
|
383
|
+
command.params['resource'] = resource unless resource.nil?
|
384
|
+
command.query['fields'] = fields unless fields.nil?
|
385
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
386
|
+
execute_or_queue_command(command, &block)
|
387
|
+
end
|
388
|
+
|
50
389
|
# Gets the access control policy for an Identity-Aware Proxy protected
|
51
390
|
# resource.
|
52
391
|
# More information about managing access via IAP can be found at:
|