google-api-client 0.36.0 → 0.36.1
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 +69 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +7 -4
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +32 -32
- data/generated/google/apis/androidpublisher_v3/representations.rb +17 -17
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +2 -1
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +81 -41
- data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +8 -8
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +60 -30
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +75 -40
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +75 -41
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +75 -41
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +5 -2
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +206 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
- data/generated/google/apis/cloudasset_v1/service.rb +174 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +59 -41
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +9 -5
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +75 -41
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +75 -41
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +104 -41
- data/generated/google/apis/cloudkms_v1/representations.rb +15 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +75 -41
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +75 -41
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +75 -41
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +75 -41
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +3 -2
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +81 -47
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +75 -41
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +81 -47
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +5 -3
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +68 -47
- data/generated/google/apis/compute_alpha/representations.rb +2 -1
- data/generated/google/apis/compute_alpha/service.rb +54 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +597 -40
- data/generated/google/apis/compute_beta/representations.rb +164 -0
- data/generated/google/apis/compute_beta/service.rb +343 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +54 -39
- data/generated/google/apis/compute_v1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +75 -41
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +77 -43
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +26 -20
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +46 -42
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +46 -42
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +75 -41
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +16 -22
- data/generated/google/apis/datastore_v1/service.rb +10 -10
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +5 -4
- data/generated/google/apis/datastore_v1beta3/service.rb +8 -8
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +88 -88
- data/generated/google/apis/dfareporting_v3_4/representations.rb +39 -39
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +77 -0
- data/generated/google/apis/dlp_v2/representations.rb +42 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +59 -12
- data/generated/google/apis/file_v1/representations.rb +19 -2
- data/generated/google/apis/file_v1/service.rb +8 -4
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +59 -12
- data/generated/google/apis/file_v1beta1/representations.rb +19 -2
- data/generated/google/apis/file_v1beta1/service.rb +8 -4
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +75 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +35 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +6 -2
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +7 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +4 -4
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +225 -40
- data/generated/google/apis/iap_v1/representations.rb +84 -0
- data/generated/google/apis/iap_v1/service.rb +292 -0
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +75 -40
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +29 -41
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +14 -21
- data/generated/google/apis/ml_v1/service.rb +15 -18
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +15 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +6 -10
- data/generated/google/apis/monitoring_v3/representations.rb +0 -1
- data/generated/google/apis/{fusiontables_v1.rb → policytroubleshooter_v1.rb} +10 -13
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +700 -0
- data/generated/google/apis/policytroubleshooter_v1/representations.rb +203 -0
- data/generated/google/apis/policytroubleshooter_v1/service.rb +90 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +75 -41
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +75 -41
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +75 -41
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +82 -41
- data/generated/google/apis/run_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/{fusiontables_v2.rb → secretmanager_v1beta1.rb} +11 -14
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +936 -0
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +388 -0
- data/generated/google/apis/secretmanager_v1beta1/service.rb +674 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +85 -1
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +32 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +4 -3
- data/generated/google/apis/servicecontrol_v1/service.rb +2 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +38 -1
- data/generated/google/apis/servicenetworking_v1/representations.rb +14 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +35 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +16 -1
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +16 -1
- data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +16 -1
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/service.rb +4 -2
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +374 -2
- data/generated/google/apis/toolresults_v1beta3/representations.rb +109 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +98 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +11 -11
- data/generated/google/apis/fusiontables_v1/classes.rb +0 -977
- data/generated/google/apis/fusiontables_v1/representations.rb +0 -449
- data/generated/google/apis/fusiontables_v1/service.rb +0 -1307
- data/generated/google/apis/fusiontables_v2/classes.rb +0 -1049
- data/generated/google/apis/fusiontables_v2/representations.rb +0 -457
- data/generated/google/apis/fusiontables_v2/service.rb +0 -1431
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/gmail/api/
|
|
26
26
|
module GmailV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20191113'
|
|
29
29
|
|
|
30
30
|
# Read, compose, send, and permanently delete all your email from Gmail
|
|
31
31
|
AUTH_SCOPE = 'https://mail.google.com/'
|
|
@@ -695,7 +695,9 @@ module Google
|
|
|
695
695
|
class ListDraftsResponse
|
|
696
696
|
include Google::Apis::Core::Hashable
|
|
697
697
|
|
|
698
|
-
# List of drafts.
|
|
698
|
+
# List of drafts. Note that the Message property in each Draft resource only
|
|
699
|
+
# contains an id and a threadId. The messages.get method can fetch additional
|
|
700
|
+
# message details.
|
|
699
701
|
# Corresponds to the JSON property `drafts`
|
|
700
702
|
# @return [Array<Google::Apis::GmailV1::Draft>]
|
|
701
703
|
attr_accessor :drafts
|
|
@@ -796,7 +798,9 @@ module Google
|
|
|
796
798
|
class ListLabelsResponse
|
|
797
799
|
include Google::Apis::Core::Hashable
|
|
798
800
|
|
|
799
|
-
# List of labels.
|
|
801
|
+
# List of labels. Note that each label resource only contains an id, name,
|
|
802
|
+
# messageListVisibility, labelListVisibility, and type. The labels.get method
|
|
803
|
+
# can fetch additional label details.
|
|
800
804
|
# Corresponds to the JSON property `labels`
|
|
801
805
|
# @return [Array<Google::Apis::GmailV1::Label>]
|
|
802
806
|
attr_accessor :labels
|
|
@@ -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 = '20191206'
|
|
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,7 +47,8 @@ module Google
|
|
|
47
47
|
# @return [String]
|
|
48
48
|
attr_accessor :lifetime
|
|
49
49
|
|
|
50
|
-
# Code to identify the scopes to be included in the OAuth 2.0 access
|
|
50
|
+
# Required. Code to identify the scopes to be included in the OAuth 2.0 access
|
|
51
|
+
# token.
|
|
51
52
|
# See https://developers.google.com/identity/protocols/googlescopes for more
|
|
52
53
|
# information.
|
|
53
54
|
# At least one value required.
|
|
@@ -97,7 +98,8 @@ module Google
|
|
|
97
98
|
class GenerateIdTokenRequest
|
|
98
99
|
include Google::Apis::Core::Hashable
|
|
99
100
|
|
|
100
|
-
# The audience for the token, such as the API or account that this
|
|
101
|
+
# Required. The audience for the token, such as the API or account that this
|
|
102
|
+
# token
|
|
101
103
|
# grants access to.
|
|
102
104
|
# Corresponds to the JSON property `audience`
|
|
103
105
|
# @return [String]
|
|
@@ -171,7 +173,7 @@ module Google
|
|
|
171
173
|
# @return [Array<String>]
|
|
172
174
|
attr_accessor :delegates
|
|
173
175
|
|
|
174
|
-
# The bytes to sign.
|
|
176
|
+
# Required. The bytes to sign.
|
|
175
177
|
# Corresponds to the JSON property `payload`
|
|
176
178
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
177
179
|
# @return [String]
|
|
@@ -231,7 +233,8 @@ module Google
|
|
|
231
233
|
# @return [Array<String>]
|
|
232
234
|
attr_accessor :delegates
|
|
233
235
|
|
|
234
|
-
# The JWT payload to sign: a JSON object that contains a JWT Claims
|
|
236
|
+
# Required. The JWT payload to sign: a JSON object that contains a JWT Claims
|
|
237
|
+
# Set.
|
|
235
238
|
# Corresponds to the JSON property `payload`
|
|
236
239
|
# @return [String]
|
|
237
240
|
attr_accessor :payload
|
|
@@ -49,7 +49,7 @@ module Google
|
|
|
49
49
|
|
|
50
50
|
# Generates an OAuth 2.0 access token for a service account.
|
|
51
51
|
# @param [String] name
|
|
52
|
-
# The resource name of the service account for which the credentials
|
|
52
|
+
# Required. 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``. The `-` wildcard
|
|
55
55
|
# character is required; replacing it with a project ID is invalid.
|
|
@@ -85,7 +85,7 @@ module Google
|
|
|
85
85
|
|
|
86
86
|
# Generates an OpenID Connect ID token for a service account.
|
|
87
87
|
# @param [String] name
|
|
88
|
-
# The resource name of the service account for which the credentials
|
|
88
|
+
# Required. The resource name of the service account for which the credentials
|
|
89
89
|
# are requested, in the following format:
|
|
90
90
|
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``. The `-` wildcard
|
|
91
91
|
# character is required; replacing it with a project ID is invalid.
|
|
@@ -121,7 +121,7 @@ module Google
|
|
|
121
121
|
|
|
122
122
|
# Signs a blob using a service account's system-managed private key.
|
|
123
123
|
# @param [String] name
|
|
124
|
-
# The resource name of the service account for which the credentials
|
|
124
|
+
# Required. The resource name of the service account for which the credentials
|
|
125
125
|
# are requested, in the following format:
|
|
126
126
|
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``. The `-` wildcard
|
|
127
127
|
# character is required; replacing it with a project ID is invalid.
|
|
@@ -157,7 +157,7 @@ module Google
|
|
|
157
157
|
|
|
158
158
|
# Signs a JWT using a service account's system-managed private key.
|
|
159
159
|
# @param [String] name
|
|
160
|
-
# The resource name of the service account for which the credentials
|
|
160
|
+
# Required. The resource name of the service account for which the credentials
|
|
161
161
|
# are requested, in the following format:
|
|
162
162
|
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``. The `-` wildcard
|
|
163
163
|
# character is required; replacing it with a project ID is invalid.
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/iap
|
|
26
26
|
module IapV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20191206'
|
|
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'
|
|
@@ -100,6 +100,23 @@ module Google
|
|
|
100
100
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
|
101
101
|
# * `group:`emailid``: An email address that represents a Google group.
|
|
102
102
|
# For example, `admins@example.com`.
|
|
103
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
|
104
|
+
# identifier) representing a user that has been recently deleted. For
|
|
105
|
+
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
|
106
|
+
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
|
107
|
+
# retains the role in the binding.
|
|
108
|
+
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
|
109
|
+
# unique identifier) representing a service account that has been recently
|
|
110
|
+
# deleted. For example,
|
|
111
|
+
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
|
112
|
+
# If the service account is undeleted, this value reverts to
|
|
113
|
+
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
|
114
|
+
# role in the binding.
|
|
115
|
+
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
|
116
|
+
# identifier) representing a Google group that has been recently
|
|
117
|
+
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
|
118
|
+
# the group is recovered, this value reverts to `group:`emailid`` and the
|
|
119
|
+
# recovered group retains the role in the binding.
|
|
103
120
|
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
|
104
121
|
# users of that domain. For example, `google.com` or `example.com`.
|
|
105
122
|
# Corresponds to the JSON property `members`
|
|
@@ -124,6 +141,48 @@ module Google
|
|
|
124
141
|
end
|
|
125
142
|
end
|
|
126
143
|
|
|
144
|
+
# OAuth brand data.
|
|
145
|
+
# NOTE: Only contains a portion of the data that describes a brand.
|
|
146
|
+
class Brand
|
|
147
|
+
include Google::Apis::Core::Hashable
|
|
148
|
+
|
|
149
|
+
# Application name displayed on OAuth consent screen.
|
|
150
|
+
# Corresponds to the JSON property `applicationTitle`
|
|
151
|
+
# @return [String]
|
|
152
|
+
attr_accessor :application_title
|
|
153
|
+
|
|
154
|
+
# Output only. Identifier of the brand.
|
|
155
|
+
# NOTE: GCP project number achieves the same brand identification purpose as
|
|
156
|
+
# only one brand per project can be created.
|
|
157
|
+
# Corresponds to the JSON property `name`
|
|
158
|
+
# @return [String]
|
|
159
|
+
attr_accessor :name
|
|
160
|
+
|
|
161
|
+
# Output only. Whether the brand is only intended for usage inside the
|
|
162
|
+
# GSuite organization only.
|
|
163
|
+
# Corresponds to the JSON property `orgInternalOnly`
|
|
164
|
+
# @return [Boolean]
|
|
165
|
+
attr_accessor :org_internal_only
|
|
166
|
+
alias_method :org_internal_only?, :org_internal_only
|
|
167
|
+
|
|
168
|
+
# Support email displayed on the OAuth consent screen.
|
|
169
|
+
# Corresponds to the JSON property `supportEmail`
|
|
170
|
+
# @return [String]
|
|
171
|
+
attr_accessor :support_email
|
|
172
|
+
|
|
173
|
+
def initialize(**args)
|
|
174
|
+
update!(**args)
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
# Update properties of this object
|
|
178
|
+
def update!(**args)
|
|
179
|
+
@application_title = args[:application_title] if args.key?(:application_title)
|
|
180
|
+
@name = args[:name] if args.key?(:name)
|
|
181
|
+
@org_internal_only = args[:org_internal_only] if args.key?(:org_internal_only)
|
|
182
|
+
@support_email = args[:support_email] if args.key?(:support_email)
|
|
183
|
+
end
|
|
184
|
+
end
|
|
185
|
+
|
|
127
186
|
# Allows customers to configure HTTP request paths that'll allow HTTP OPTIONS
|
|
128
187
|
# call to bypass authentication and authorization.
|
|
129
188
|
class CorsSettings
|
|
@@ -169,6 +228,25 @@ module Google
|
|
|
169
228
|
end
|
|
170
229
|
end
|
|
171
230
|
|
|
231
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
|
232
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
|
233
|
+
# or the response type of an API method. For instance:
|
|
234
|
+
# service Foo `
|
|
235
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
|
236
|
+
# `
|
|
237
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
|
238
|
+
class Empty
|
|
239
|
+
include Google::Apis::Core::Hashable
|
|
240
|
+
|
|
241
|
+
def initialize(**args)
|
|
242
|
+
update!(**args)
|
|
243
|
+
end
|
|
244
|
+
|
|
245
|
+
# Update properties of this object
|
|
246
|
+
def update!(**args)
|
|
247
|
+
end
|
|
248
|
+
end
|
|
249
|
+
|
|
172
250
|
# Represents an expression text. Example:
|
|
173
251
|
# title: "User account presence"
|
|
174
252
|
# description: "Determines whether the request has a user account"
|
|
@@ -322,6 +400,82 @@ module Google
|
|
|
322
400
|
end
|
|
323
401
|
end
|
|
324
402
|
|
|
403
|
+
# Contains the data that describes an Identity Aware Proxy owned client.
|
|
404
|
+
class IdentityAwareProxyClient
|
|
405
|
+
include Google::Apis::Core::Hashable
|
|
406
|
+
|
|
407
|
+
# Human-friendly name given to the OAuth client.
|
|
408
|
+
# Corresponds to the JSON property `displayName`
|
|
409
|
+
# @return [String]
|
|
410
|
+
attr_accessor :display_name
|
|
411
|
+
|
|
412
|
+
# Output only. Unique identifier of the OAuth client.
|
|
413
|
+
# Corresponds to the JSON property `name`
|
|
414
|
+
# @return [String]
|
|
415
|
+
attr_accessor :name
|
|
416
|
+
|
|
417
|
+
# Output only. Client secret of the OAuth client.
|
|
418
|
+
# Corresponds to the JSON property `secret`
|
|
419
|
+
# @return [String]
|
|
420
|
+
attr_accessor :secret
|
|
421
|
+
|
|
422
|
+
def initialize(**args)
|
|
423
|
+
update!(**args)
|
|
424
|
+
end
|
|
425
|
+
|
|
426
|
+
# Update properties of this object
|
|
427
|
+
def update!(**args)
|
|
428
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
429
|
+
@name = args[:name] if args.key?(:name)
|
|
430
|
+
@secret = args[:secret] if args.key?(:secret)
|
|
431
|
+
end
|
|
432
|
+
end
|
|
433
|
+
|
|
434
|
+
# Response message for ListBrands.
|
|
435
|
+
class ListBrandsResponse
|
|
436
|
+
include Google::Apis::Core::Hashable
|
|
437
|
+
|
|
438
|
+
# Brands existing in the project.
|
|
439
|
+
# Corresponds to the JSON property `brands`
|
|
440
|
+
# @return [Array<Google::Apis::IapV1::Brand>]
|
|
441
|
+
attr_accessor :brands
|
|
442
|
+
|
|
443
|
+
def initialize(**args)
|
|
444
|
+
update!(**args)
|
|
445
|
+
end
|
|
446
|
+
|
|
447
|
+
# Update properties of this object
|
|
448
|
+
def update!(**args)
|
|
449
|
+
@brands = args[:brands] if args.key?(:brands)
|
|
450
|
+
end
|
|
451
|
+
end
|
|
452
|
+
|
|
453
|
+
# Response message for ListIdentityAwareProxyClients.
|
|
454
|
+
class ListIdentityAwareProxyClientsResponse
|
|
455
|
+
include Google::Apis::Core::Hashable
|
|
456
|
+
|
|
457
|
+
# Clients existing in the brand.
|
|
458
|
+
# Corresponds to the JSON property `identityAwareProxyClients`
|
|
459
|
+
# @return [Array<Google::Apis::IapV1::IdentityAwareProxyClient>]
|
|
460
|
+
attr_accessor :identity_aware_proxy_clients
|
|
461
|
+
|
|
462
|
+
# A token, which can be send as `page_token` to retrieve the next page.
|
|
463
|
+
# If this field is omitted, there are no subsequent pages.
|
|
464
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
465
|
+
# @return [String]
|
|
466
|
+
attr_accessor :next_page_token
|
|
467
|
+
|
|
468
|
+
def initialize(**args)
|
|
469
|
+
update!(**args)
|
|
470
|
+
end
|
|
471
|
+
|
|
472
|
+
# Update properties of this object
|
|
473
|
+
def update!(**args)
|
|
474
|
+
@identity_aware_proxy_clients = args[:identity_aware_proxy_clients] if args.key?(:identity_aware_proxy_clients)
|
|
475
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
476
|
+
end
|
|
477
|
+
end
|
|
478
|
+
|
|
325
479
|
# Configuration for OAuth login&consent flow behavior.
|
|
326
480
|
class OAuthSettings
|
|
327
481
|
include Google::Apis::Core::Hashable
|
|
@@ -345,16 +499,18 @@ module Google
|
|
|
345
499
|
end
|
|
346
500
|
end
|
|
347
501
|
|
|
348
|
-
#
|
|
349
|
-
#
|
|
502
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
|
503
|
+
# controls for Google Cloud resources.
|
|
350
504
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
|
351
505
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
|
352
506
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
|
353
|
-
# permissions
|
|
354
|
-
#
|
|
355
|
-
#
|
|
356
|
-
#
|
|
357
|
-
#
|
|
507
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
|
508
|
+
# custom role.
|
|
509
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
|
510
|
+
# expression that allows access to a resource only if the expression evaluates
|
|
511
|
+
# to `true`. A condition can add constraints based on attributes of the
|
|
512
|
+
# request, the resource, or both.
|
|
513
|
+
# **JSON example:**
|
|
358
514
|
# `
|
|
359
515
|
# "bindings": [
|
|
360
516
|
# `
|
|
@@ -372,13 +528,15 @@ module Google
|
|
|
372
528
|
# "condition": `
|
|
373
529
|
# "title": "expirable access",
|
|
374
530
|
# "description": "Does not grant access after Sep 2020",
|
|
375
|
-
# "expression": "request.time <
|
|
376
|
-
#
|
|
531
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
532
|
+
# ",
|
|
377
533
|
# `
|
|
378
534
|
# `
|
|
379
|
-
# ]
|
|
535
|
+
# ],
|
|
536
|
+
# "etag": "BwWWja0YfJA=",
|
|
537
|
+
# "version": 3
|
|
380
538
|
# `
|
|
381
|
-
# **YAML
|
|
539
|
+
# **YAML example:**
|
|
382
540
|
# bindings:
|
|
383
541
|
# - members:
|
|
384
542
|
# - user:mike@example.com
|
|
@@ -393,14 +551,16 @@ module Google
|
|
|
393
551
|
# title: expirable access
|
|
394
552
|
# description: Does not grant access after Sep 2020
|
|
395
553
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
554
|
+
# - etag: BwWWja0YfJA=
|
|
555
|
+
# - version: 3
|
|
396
556
|
# For a description of IAM and its features, see the
|
|
397
|
-
# [IAM
|
|
557
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
398
558
|
class Policy
|
|
399
559
|
include Google::Apis::Core::Hashable
|
|
400
560
|
|
|
401
|
-
# Associates a list of `members` to a `role`. Optionally may specify a
|
|
402
|
-
# `condition` that determines when
|
|
403
|
-
# `bindings`
|
|
561
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a
|
|
562
|
+
# `condition` that determines how and when the `bindings` are applied. Each
|
|
563
|
+
# of the `bindings` must contain at least one member.
|
|
404
564
|
# Corresponds to the JSON property `bindings`
|
|
405
565
|
# @return [Array<Google::Apis::IapV1::Binding>]
|
|
406
566
|
attr_accessor :bindings
|
|
@@ -412,25 +572,31 @@ module Google
|
|
|
412
572
|
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
|
413
573
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
|
414
574
|
# ensure that their change will be applied to the same version of the policy.
|
|
415
|
-
# If
|
|
416
|
-
#
|
|
417
|
-
#
|
|
418
|
-
#
|
|
575
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
|
576
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
|
577
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
|
578
|
+
# the conditions in the version `3` policy are lost.
|
|
419
579
|
# Corresponds to the JSON property `etag`
|
|
420
580
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
421
581
|
# @return [String]
|
|
422
582
|
attr_accessor :etag
|
|
423
583
|
|
|
424
584
|
# Specifies the format of the policy.
|
|
425
|
-
# Valid values are 0
|
|
426
|
-
# rejected.
|
|
427
|
-
#
|
|
428
|
-
#
|
|
429
|
-
#
|
|
430
|
-
#
|
|
431
|
-
#
|
|
432
|
-
#
|
|
433
|
-
#
|
|
585
|
+
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
|
586
|
+
# are rejected.
|
|
587
|
+
# Any operation that affects conditional role bindings must specify version
|
|
588
|
+
# `3`. This requirement applies to the following operations:
|
|
589
|
+
# * Getting a policy that includes a conditional role binding
|
|
590
|
+
# * Adding a conditional role binding to a policy
|
|
591
|
+
# * Changing a conditional role binding in a policy
|
|
592
|
+
# * Removing any role binding, with or without a condition, from a policy
|
|
593
|
+
# that includes conditions
|
|
594
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
|
595
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
|
596
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
|
597
|
+
# the conditions in the version `3` policy are lost.
|
|
598
|
+
# If a policy does not include any conditions, operations on that policy may
|
|
599
|
+
# specify any valid version or leave the field unset.
|
|
434
600
|
# Corresponds to the JSON property `version`
|
|
435
601
|
# @return [Fixnum]
|
|
436
602
|
attr_accessor :version
|
|
@@ -447,20 +613,35 @@ module Google
|
|
|
447
613
|
end
|
|
448
614
|
end
|
|
449
615
|
|
|
616
|
+
# The request sent to ResetIdentityAwareProxyClientSecret.
|
|
617
|
+
class ResetIdentityAwareProxyClientSecretRequest
|
|
618
|
+
include Google::Apis::Core::Hashable
|
|
619
|
+
|
|
620
|
+
def initialize(**args)
|
|
621
|
+
update!(**args)
|
|
622
|
+
end
|
|
623
|
+
|
|
624
|
+
# Update properties of this object
|
|
625
|
+
def update!(**args)
|
|
626
|
+
end
|
|
627
|
+
end
|
|
628
|
+
|
|
450
629
|
# Request message for `SetIamPolicy` method.
|
|
451
630
|
class SetIamPolicyRequest
|
|
452
631
|
include Google::Apis::Core::Hashable
|
|
453
632
|
|
|
454
|
-
#
|
|
455
|
-
#
|
|
633
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
|
634
|
+
# controls for Google Cloud resources.
|
|
456
635
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
|
457
636
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
|
458
637
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
|
459
|
-
# permissions
|
|
460
|
-
#
|
|
461
|
-
#
|
|
462
|
-
#
|
|
463
|
-
#
|
|
638
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
|
639
|
+
# custom role.
|
|
640
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
|
641
|
+
# expression that allows access to a resource only if the expression evaluates
|
|
642
|
+
# to `true`. A condition can add constraints based on attributes of the
|
|
643
|
+
# request, the resource, or both.
|
|
644
|
+
# **JSON example:**
|
|
464
645
|
# `
|
|
465
646
|
# "bindings": [
|
|
466
647
|
# `
|
|
@@ -478,13 +659,15 @@ module Google
|
|
|
478
659
|
# "condition": `
|
|
479
660
|
# "title": "expirable access",
|
|
480
661
|
# "description": "Does not grant access after Sep 2020",
|
|
481
|
-
# "expression": "request.time <
|
|
482
|
-
#
|
|
662
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
663
|
+
# ",
|
|
483
664
|
# `
|
|
484
665
|
# `
|
|
485
|
-
# ]
|
|
666
|
+
# ],
|
|
667
|
+
# "etag": "BwWWja0YfJA=",
|
|
668
|
+
# "version": 3
|
|
486
669
|
# `
|
|
487
|
-
# **YAML
|
|
670
|
+
# **YAML example:**
|
|
488
671
|
# bindings:
|
|
489
672
|
# - members:
|
|
490
673
|
# - user:mike@example.com
|
|
@@ -499,8 +682,10 @@ module Google
|
|
|
499
682
|
# title: expirable access
|
|
500
683
|
# description: Does not grant access after Sep 2020
|
|
501
684
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
685
|
+
# - etag: BwWWja0YfJA=
|
|
686
|
+
# - version: 3
|
|
502
687
|
# For a description of IAM and its features, see the
|
|
503
|
-
# [IAM
|
|
688
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
504
689
|
# Corresponds to the JSON property `policy`
|
|
505
690
|
# @return [Google::Apis::IapV1::Policy]
|
|
506
691
|
attr_accessor :policy
|