google-api-client 0.11.2 → 0.11.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 +6 -1
- data/README.md +6 -0
- data/api_names.yaml +1 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +38 -38
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +13 -13
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +201 -201
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +46 -46
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +119 -119
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +52 -9
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +9 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +926 -926
- data/generated/google/apis/analyticsreporting_v4/representations.rb +149 -149
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +18 -11
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +1487 -1487
- data/generated/google/apis/appengine_v1/representations.rb +229 -229
- data/generated/google/apis/appengine_v1/service.rb +188 -188
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +15 -10
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +10 -4
- data/generated/google/apis/classroom_v1.rb +26 -17
- data/generated/google/apis/classroom_v1/classes.rb +990 -990
- data/generated/google/apis/classroom_v1/representations.rb +239 -239
- data/generated/google/apis/classroom_v1/service.rb +853 -853
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +627 -627
- data/generated/google/apis/cloudbuild_v1/representations.rb +116 -116
- data/generated/google/apis/cloudbuild_v1/service.rb +162 -157
- data/generated/google/apis/clouddebugger_v2/classes.rb +258 -258
- data/generated/google/apis/clouddebugger_v2/representations.rb +80 -80
- data/generated/google/apis/clouddebugger_v2/service.rb +163 -163
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +3 -4
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +202 -167
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +53 -37
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +50 -51
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +628 -622
- data/generated/google/apis/cloudkms_v1/representations.rb +134 -133
- data/generated/google/apis/cloudkms_v1/service.rb +190 -190
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +835 -835
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +138 -138
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +474 -474
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +386 -386
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +75 -75
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +64 -64
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +114 -114
- data/generated/google/apis/cloudtrace_v1/representations.rb +23 -23
- data/generated/google/apis/cloudtrace_v1/service.rb +14 -14
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +66 -25
- data/generated/google/apis/compute_beta/representations.rb +16 -0
- data/generated/google/apis/compute_beta/service.rb +85 -3
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +375 -24
- data/generated/google/apis/compute_v1/representations.rb +155 -0
- data/generated/google/apis/compute_v1/service.rb +481 -3
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +301 -301
- data/generated/google/apis/container_v1/representations.rb +59 -59
- data/generated/google/apis/container_v1/service.rb +178 -178
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +37 -2
- data/generated/google/apis/content_v2/representations.rb +15 -0
- data/generated/google/apis/content_v2/service.rb +58 -3
- data/generated/google/apis/dataflow_v1b3.rb +4 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +3514 -3279
- data/generated/google/apis/dataflow_v1b3/representations.rb +530 -440
- data/generated/google/apis/dataflow_v1b3/service.rb +378 -137
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +446 -446
- data/generated/google/apis/dataproc_v1/representations.rb +96 -96
- data/generated/google/apis/dataproc_v1/service.rb +302 -302
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +370 -374
- data/generated/google/apis/datastore_v1/representations.rb +120 -120
- data/generated/google/apis/datastore_v1/service.rb +62 -62
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -0
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +24 -21
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +24 -22
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +148 -149
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +42 -42
- data/generated/google/apis/firebaserules_v1/classes.rb +71 -71
- data/generated/google/apis/firebaserules_v1/representations.rb +22 -22
- data/generated/google/apis/firebaserules_v1/service.rb +68 -68
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +2348 -2348
- data/generated/google/apis/genomics_v1/representations.rb +430 -430
- data/generated/google/apis/genomics_v1/service.rb +1159 -1159
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/service.rb +2 -2
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +305 -298
- data/generated/google/apis/iam_v1/representations.rb +97 -96
- data/generated/google/apis/iam_v1/service.rb +86 -86
- data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +10 -10
- data/generated/google/apis/language_v1.rb +4 -4
- data/generated/google/apis/language_v1/classes.rb +452 -452
- data/generated/google/apis/language_v1/representations.rb +93 -93
- data/generated/google/apis/language_v1/service.rb +48 -48
- data/generated/google/apis/language_v1beta1.rb +4 -4
- data/generated/google/apis/language_v1beta1/classes.rb +84 -84
- data/generated/google/apis/language_v1beta1/representations.rb +22 -22
- data/generated/google/apis/language_v1beta1/service.rb +3 -3
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +884 -873
- data/generated/google/apis/logging_v2/representations.rb +167 -166
- data/generated/google/apis/logging_v2/service.rb +430 -430
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +550 -539
- data/generated/google/apis/logging_v2beta1/representations.rb +124 -123
- data/generated/google/apis/logging_v2beta1/service.rb +292 -292
- data/generated/google/apis/manufacturers_v1/classes.rb +322 -322
- data/generated/google/apis/manufacturers_v1/representations.rb +66 -66
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +501 -494
- data/generated/google/apis/ml_v1/representations.rb +92 -91
- data/generated/google/apis/ml_v1/service.rb +190 -190
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +878 -878
- data/generated/google/apis/monitoring_v3/representations.rb +176 -176
- data/generated/google/apis/monitoring_v3/service.rb +223 -262
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1506 -1506
- data/generated/google/apis/partners_v2/representations.rb +370 -370
- data/generated/google/apis/partners_v2/service.rb +393 -393
- data/generated/google/apis/people_v1.rb +13 -13
- data/generated/google/apis/people_v1/classes.rb +597 -594
- data/generated/google/apis/people_v1/representations.rb +121 -121
- data/generated/google/apis/people_v1/service.rb +39 -48
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +323 -327
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +100 -100
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +184 -184
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +178 -178
- data/generated/google/apis/pubsub_v1/representations.rb +55 -55
- data/generated/google/apis/pubsub_v1/service.rb +357 -357
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +20 -20
- data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/service.rb +12 -7
- data/generated/google/apis/script_v1.rb +16 -16
- data/generated/google/apis/script_v1/classes.rb +113 -113
- data/generated/google/apis/script_v1/representations.rb +28 -28
- data/generated/google/apis/script_v1/service.rb +4 -4
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
- data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
- data/generated/google/apis/searchconsole_v1/service.rb +6 -6
- data/generated/google/apis/servicecontrol_v1.rb +4 -4
- data/generated/google/apis/servicecontrol_v1/classes.rb +1146 -1145
- data/generated/google/apis/servicecontrol_v1/representations.rb +203 -203
- data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
- data/generated/google/apis/servicemanagement_v1.rb +4 -4
- data/generated/google/apis/servicemanagement_v1/classes.rb +3486 -3360
- data/generated/google/apis/servicemanagement_v1/representations.rb +342 -329
- data/generated/google/apis/servicemanagement_v1/service.rb +260 -250
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2716 -2596
- data/generated/google/apis/serviceuser_v1/representations.rb +391 -379
- data/generated/google/apis/serviceuser_v1/service.rb +16 -16
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4255 -4252
- data/generated/google/apis/sheets_v4/representations.rb +548 -548
- data/generated/google/apis/sheets_v4/service.rb +170 -170
- data/generated/google/apis/slides_v1.rb +4 -4
- data/generated/google/apis/slides_v1/classes.rb +2945 -2916
- data/generated/google/apis/slides_v1/representations.rb +700 -697
- data/generated/google/apis/slides_v1/service.rb +44 -44
- data/generated/google/apis/sourcerepo_v1.rb +2 -2
- data/generated/google/apis/sourcerepo_v1/classes.rb +419 -410
- data/generated/google/apis/sourcerepo_v1/representations.rb +88 -87
- data/generated/google/apis/sourcerepo_v1/service.rb +67 -58
- data/generated/google/apis/spanner_v1/classes.rb +2187 -2187
- data/generated/google/apis/spanner_v1/representations.rb +323 -323
- data/generated/google/apis/spanner_v1/service.rb +383 -383
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +226 -226
- data/generated/google/apis/speech_v1beta1/representations.rb +44 -44
- data/generated/google/apis/speech_v1beta1/service.rb +37 -32
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -28
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -16
- data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +26 -0
- data/generated/google/apis/storage_v1/representations.rb +15 -0
- data/generated/google/apis/storage_v1/service.rb +168 -42
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +218 -218
- data/generated/google/apis/storagetransfer_v1/representations.rb +47 -47
- data/generated/google/apis/storagetransfer_v1/service.rb +68 -68
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -4
- data/generated/google/apis/toolresults_v1beta3/service.rb +9 -8
- data/generated/google/apis/translate_v2.rb +11 -4
- data/generated/google/apis/translate_v2/classes.rb +140 -37
- data/generated/google/apis/translate_v2/representations.rb +62 -15
- data/generated/google/apis/translate_v2/service.rb +119 -66
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1265 -1273
- data/generated/google/apis/vision_v1/representations.rb +202 -202
- data/generated/google/apis/vision_v1/service.rb +4 -4
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +2 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +91 -91
- data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
- data/generated/google/apis/youtubereporting_v1/service.rb +94 -94
- data/lib/google/apis/core/api_command.rb +43 -10
- data/lib/google/apis/core/json_representation.rb +1 -1
- data/lib/google/apis/options.rb +6 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +3 -3
@@ -1036,8 +1036,8 @@ module Google
|
|
1036
1036
|
# @param [String] q
|
1037
1037
|
# Only return messages matching the specified query. Supports the same query
|
1038
1038
|
# format as the Gmail search box. For example, "from:someuser@example.com
|
1039
|
-
# rfc822msgid
|
1040
|
-
# the gmail.metadata scope.
|
1039
|
+
# rfc822msgid:<somemsgid@example.com> is:unread". Parameter cannot be used when
|
1040
|
+
# accessing the api using the gmail.metadata scope.
|
1041
1041
|
# @param [String] fields
|
1042
1042
|
# Selector specifying which fields to include in a partial response.
|
1043
1043
|
# @param [String] quota_user
|
@@ -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 = '20170519'
|
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'
|
@@ -22,6 +22,233 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module IamV1
|
24
24
|
|
25
|
+
# Audit log information specific to Cloud IAM. This message is serialized
|
26
|
+
# as an `Any` type in the `ServiceData` message of an
|
27
|
+
# `AuditLog` message.
|
28
|
+
class AuditData
|
29
|
+
include Google::Apis::Core::Hashable
|
30
|
+
|
31
|
+
# The difference delta between two policies.
|
32
|
+
# Corresponds to the JSON property `policyDelta`
|
33
|
+
# @return [Google::Apis::IamV1::PolicyDelta]
|
34
|
+
attr_accessor :policy_delta
|
35
|
+
|
36
|
+
def initialize(**args)
|
37
|
+
update!(**args)
|
38
|
+
end
|
39
|
+
|
40
|
+
# Update properties of this object
|
41
|
+
def update!(**args)
|
42
|
+
@policy_delta = args[:policy_delta] if args.key?(:policy_delta)
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
# One delta entry for Binding. Each individual change (only one member in each
|
47
|
+
# entry) to a binding will be a separate entry.
|
48
|
+
class BindingDelta
|
49
|
+
include Google::Apis::Core::Hashable
|
50
|
+
|
51
|
+
# The action that was performed on a Binding.
|
52
|
+
# Required
|
53
|
+
# Corresponds to the JSON property `action`
|
54
|
+
# @return [String]
|
55
|
+
attr_accessor :action
|
56
|
+
|
57
|
+
# A single identity requesting access for a Cloud Platform resource.
|
58
|
+
# Follows the same format of Binding.members.
|
59
|
+
# Required
|
60
|
+
# Corresponds to the JSON property `member`
|
61
|
+
# @return [String]
|
62
|
+
attr_accessor :member
|
63
|
+
|
64
|
+
# Role that is assigned to `members`.
|
65
|
+
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
66
|
+
# Required
|
67
|
+
# Corresponds to the JSON property `role`
|
68
|
+
# @return [String]
|
69
|
+
attr_accessor :role
|
70
|
+
|
71
|
+
def initialize(**args)
|
72
|
+
update!(**args)
|
73
|
+
end
|
74
|
+
|
75
|
+
# Update properties of this object
|
76
|
+
def update!(**args)
|
77
|
+
@action = args[:action] if args.key?(:action)
|
78
|
+
@member = args[:member] if args.key?(:member)
|
79
|
+
@role = args[:role] if args.key?(:role)
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
# The difference delta between two policies.
|
84
|
+
class PolicyDelta
|
85
|
+
include Google::Apis::Core::Hashable
|
86
|
+
|
87
|
+
# The delta for Bindings between two policies.
|
88
|
+
# Corresponds to the JSON property `bindingDeltas`
|
89
|
+
# @return [Array<Google::Apis::IamV1::BindingDelta>]
|
90
|
+
attr_accessor :binding_deltas
|
91
|
+
|
92
|
+
def initialize(**args)
|
93
|
+
update!(**args)
|
94
|
+
end
|
95
|
+
|
96
|
+
# Update properties of this object
|
97
|
+
def update!(**args)
|
98
|
+
@binding_deltas = args[:binding_deltas] if args.key?(:binding_deltas)
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
# The service account list response.
|
103
|
+
class ListServiceAccountsResponse
|
104
|
+
include Google::Apis::Core::Hashable
|
105
|
+
|
106
|
+
# To retrieve the next page of results, set
|
107
|
+
# ListServiceAccountsRequest.page_token
|
108
|
+
# to this value.
|
109
|
+
# Corresponds to the JSON property `nextPageToken`
|
110
|
+
# @return [String]
|
111
|
+
attr_accessor :next_page_token
|
112
|
+
|
113
|
+
# The list of matching service accounts.
|
114
|
+
# Corresponds to the JSON property `accounts`
|
115
|
+
# @return [Array<Google::Apis::IamV1::ServiceAccount>]
|
116
|
+
attr_accessor :accounts
|
117
|
+
|
118
|
+
def initialize(**args)
|
119
|
+
update!(**args)
|
120
|
+
end
|
121
|
+
|
122
|
+
# Update properties of this object
|
123
|
+
def update!(**args)
|
124
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
125
|
+
@accounts = args[:accounts] if args.key?(:accounts)
|
126
|
+
end
|
127
|
+
end
|
128
|
+
|
129
|
+
# The service account create request.
|
130
|
+
class CreateServiceAccountRequest
|
131
|
+
include Google::Apis::Core::Hashable
|
132
|
+
|
133
|
+
# Required. The account id that is used to generate the service account
|
134
|
+
# email address and a stable unique id. It is unique within a project,
|
135
|
+
# must be 6-30 characters long, and match the regular expression
|
136
|
+
# `[a-z]([-a-z0-9]*[a-z0-9])` to comply with RFC1035.
|
137
|
+
# Corresponds to the JSON property `accountId`
|
138
|
+
# @return [String]
|
139
|
+
attr_accessor :account_id
|
140
|
+
|
141
|
+
# A service account in the Identity and Access Management API.
|
142
|
+
# To create a service account, specify the `project_id` and the `account_id`
|
143
|
+
# for the account. The `account_id` is unique within the project, and is used
|
144
|
+
# to generate the service account email address and a stable
|
145
|
+
# `unique_id`.
|
146
|
+
# If the account already exists, the account's resource name is returned
|
147
|
+
# in util::Status's ResourceInfo.resource_name in the format of
|
148
|
+
# projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL`. The caller can
|
149
|
+
# use the name in other methods to access the account.
|
150
|
+
# All other methods can identify the service account using the format
|
151
|
+
# `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``.
|
152
|
+
# Using `-` as a wildcard for the project will infer the project from
|
153
|
+
# the account. The `account` value can be the `email` address or the
|
154
|
+
# `unique_id` of the service account.
|
155
|
+
# Corresponds to the JSON property `serviceAccount`
|
156
|
+
# @return [Google::Apis::IamV1::ServiceAccount]
|
157
|
+
attr_accessor :service_account
|
158
|
+
|
159
|
+
def initialize(**args)
|
160
|
+
update!(**args)
|
161
|
+
end
|
162
|
+
|
163
|
+
# Update properties of this object
|
164
|
+
def update!(**args)
|
165
|
+
@account_id = args[:account_id] if args.key?(:account_id)
|
166
|
+
@service_account = args[:service_account] if args.key?(:service_account)
|
167
|
+
end
|
168
|
+
end
|
169
|
+
|
170
|
+
# The grantable role query response.
|
171
|
+
class QueryGrantableRolesResponse
|
172
|
+
include Google::Apis::Core::Hashable
|
173
|
+
|
174
|
+
# The list of matching roles.
|
175
|
+
# Corresponds to the JSON property `roles`
|
176
|
+
# @return [Array<Google::Apis::IamV1::Role>]
|
177
|
+
attr_accessor :roles
|
178
|
+
|
179
|
+
# To retrieve the next page of results, set
|
180
|
+
# `QueryGrantableRolesRequest.page_token` to this value.
|
181
|
+
# Corresponds to the JSON property `nextPageToken`
|
182
|
+
# @return [String]
|
183
|
+
attr_accessor :next_page_token
|
184
|
+
|
185
|
+
def initialize(**args)
|
186
|
+
update!(**args)
|
187
|
+
end
|
188
|
+
|
189
|
+
# Update properties of this object
|
190
|
+
def update!(**args)
|
191
|
+
@roles = args[:roles] if args.key?(:roles)
|
192
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
# The service account sign blob request.
|
197
|
+
class SignBlobRequest
|
198
|
+
include Google::Apis::Core::Hashable
|
199
|
+
|
200
|
+
# The bytes to sign.
|
201
|
+
# Corresponds to the JSON property `bytesToSign`
|
202
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
203
|
+
# @return [String]
|
204
|
+
attr_accessor :bytes_to_sign
|
205
|
+
|
206
|
+
def initialize(**args)
|
207
|
+
update!(**args)
|
208
|
+
end
|
209
|
+
|
210
|
+
# Update properties of this object
|
211
|
+
def update!(**args)
|
212
|
+
@bytes_to_sign = args[:bytes_to_sign] if args.key?(:bytes_to_sign)
|
213
|
+
end
|
214
|
+
end
|
215
|
+
|
216
|
+
# A role in the Identity and Access Management API.
|
217
|
+
class Role
|
218
|
+
include Google::Apis::Core::Hashable
|
219
|
+
|
220
|
+
# Optional. A human-readable title for the role. Typically this
|
221
|
+
# is limited to 100 UTF-8 bytes.
|
222
|
+
# Corresponds to the JSON property `title`
|
223
|
+
# @return [String]
|
224
|
+
attr_accessor :title
|
225
|
+
|
226
|
+
# The name of the role.
|
227
|
+
# When Role is used in CreateRole, the role name must not be set.
|
228
|
+
# When Role is used in output and other input such as UpdateRole, the role
|
229
|
+
# name is the complete path, e.g., roles/logging.viewer for curated roles
|
230
|
+
# and organizations/`ORGANIZATION_ID`/roles/logging.viewer for custom roles.
|
231
|
+
# Corresponds to the JSON property `name`
|
232
|
+
# @return [String]
|
233
|
+
attr_accessor :name
|
234
|
+
|
235
|
+
# Optional. A human-readable description for the role.
|
236
|
+
# Corresponds to the JSON property `description`
|
237
|
+
# @return [String]
|
238
|
+
attr_accessor :description
|
239
|
+
|
240
|
+
def initialize(**args)
|
241
|
+
update!(**args)
|
242
|
+
end
|
243
|
+
|
244
|
+
# Update properties of this object
|
245
|
+
def update!(**args)
|
246
|
+
@title = args[:title] if args.key?(:title)
|
247
|
+
@name = args[:name] if args.key?(:name)
|
248
|
+
@description = args[:description] if args.key?(:description)
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
25
252
|
# Request message for `SetIamPolicy` method.
|
26
253
|
class SetIamPolicyRequest
|
27
254
|
include Google::Apis::Core::Hashable
|
@@ -123,23 +350,12 @@ module Google
|
|
123
350
|
class ServiceAccount
|
124
351
|
include Google::Apis::Core::Hashable
|
125
352
|
|
126
|
-
# Optional. A user-specified description of the service account. Must be
|
127
|
-
# fewer than 100 UTF-8 bytes.
|
128
|
-
# Corresponds to the JSON property `displayName`
|
129
|
-
# @return [String]
|
130
|
-
attr_accessor :display_name
|
131
|
-
|
132
353
|
# Used to perform a consistent read-modify-write.
|
133
354
|
# Corresponds to the JSON property `etag`
|
134
355
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
135
356
|
# @return [String]
|
136
357
|
attr_accessor :etag
|
137
358
|
|
138
|
-
# @OutputOnly The email address of the service account.
|
139
|
-
# Corresponds to the JSON property `email`
|
140
|
-
# @return [String]
|
141
|
-
attr_accessor :email
|
142
|
-
|
143
359
|
# The resource name of the service account in the following format:
|
144
360
|
# `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``.
|
145
361
|
# Requests using `-` as a wildcard for the project will infer the project
|
@@ -151,16 +367,16 @@ module Google
|
|
151
367
|
# @return [String]
|
152
368
|
attr_accessor :name
|
153
369
|
|
370
|
+
# @OutputOnly The email address of the service account.
|
371
|
+
# Corresponds to the JSON property `email`
|
372
|
+
# @return [String]
|
373
|
+
attr_accessor :email
|
374
|
+
|
154
375
|
# @OutputOnly The id of the project that owns the service account.
|
155
376
|
# Corresponds to the JSON property `projectId`
|
156
377
|
# @return [String]
|
157
378
|
attr_accessor :project_id
|
158
379
|
|
159
|
-
# @OutputOnly The unique and stable id of the service account.
|
160
|
-
# Corresponds to the JSON property `uniqueId`
|
161
|
-
# @return [String]
|
162
|
-
attr_accessor :unique_id
|
163
|
-
|
164
380
|
# @OutputOnly. The OAuth2 client id for the service account.
|
165
381
|
# This is used in conjunction with the OAuth2 clientconfig API to make
|
166
382
|
# three legged OAuth2 (3LO) flows to access the data of Google users.
|
@@ -168,19 +384,30 @@ module Google
|
|
168
384
|
# @return [String]
|
169
385
|
attr_accessor :oauth2_client_id
|
170
386
|
|
171
|
-
|
172
|
-
|
173
|
-
|
387
|
+
# @OutputOnly The unique and stable id of the service account.
|
388
|
+
# Corresponds to the JSON property `uniqueId`
|
389
|
+
# @return [String]
|
390
|
+
attr_accessor :unique_id
|
174
391
|
|
175
|
-
#
|
392
|
+
# Optional. A user-specified description of the service account. Must be
|
393
|
+
# fewer than 100 UTF-8 bytes.
|
394
|
+
# Corresponds to the JSON property `displayName`
|
395
|
+
# @return [String]
|
396
|
+
attr_accessor :display_name
|
397
|
+
|
398
|
+
def initialize(**args)
|
399
|
+
update!(**args)
|
400
|
+
end
|
401
|
+
|
402
|
+
# Update properties of this object
|
176
403
|
def update!(**args)
|
177
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
178
404
|
@etag = args[:etag] if args.key?(:etag)
|
179
|
-
@email = args[:email] if args.key?(:email)
|
180
405
|
@name = args[:name] if args.key?(:name)
|
406
|
+
@email = args[:email] if args.key?(:email)
|
181
407
|
@project_id = args[:project_id] if args.key?(:project_id)
|
182
|
-
@unique_id = args[:unique_id] if args.key?(:unique_id)
|
183
408
|
@oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id)
|
409
|
+
@unique_id = args[:unique_id] if args.key?(:unique_id)
|
410
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
184
411
|
end
|
185
412
|
end
|
186
413
|
|
@@ -292,21 +519,10 @@ module Google
|
|
292
519
|
class ServiceAccountKey
|
293
520
|
include Google::Apis::Core::Hashable
|
294
521
|
|
295
|
-
# The
|
296
|
-
# `
|
297
|
-
# Corresponds to the JSON property `name`
|
298
|
-
# @return [String]
|
299
|
-
attr_accessor :name
|
300
|
-
|
301
|
-
# The key can be used before this timestamp.
|
302
|
-
# Corresponds to the JSON property `validBeforeTime`
|
303
|
-
# @return [String]
|
304
|
-
attr_accessor :valid_before_time
|
305
|
-
|
306
|
-
# Specifies the algorithm (and possibly key size) for the key.
|
307
|
-
# Corresponds to the JSON property `keyAlgorithm`
|
522
|
+
# The key can be used after this timestamp.
|
523
|
+
# Corresponds to the JSON property `validAfterTime`
|
308
524
|
# @return [String]
|
309
|
-
attr_accessor :
|
525
|
+
attr_accessor :valid_after_time
|
310
526
|
|
311
527
|
# The output format for the private key.
|
312
528
|
# Only provided in `CreateServiceAccountKey` responses, not
|
@@ -317,11 +533,6 @@ module Google
|
|
317
533
|
# @return [String]
|
318
534
|
attr_accessor :private_key_type
|
319
535
|
|
320
|
-
# The key can be used after this timestamp.
|
321
|
-
# Corresponds to the JSON property `validAfterTime`
|
322
|
-
# @return [String]
|
323
|
-
attr_accessor :valid_after_time
|
324
|
-
|
325
536
|
# The private key data. Only provided in `CreateServiceAccountKey`
|
326
537
|
# responses.
|
327
538
|
# Corresponds to the JSON property `privateKeyData`
|
@@ -335,19 +546,35 @@ module Google
|
|
335
546
|
# @return [String]
|
336
547
|
attr_accessor :public_key_data
|
337
548
|
|
549
|
+
# The resource name of the service account key in the following format
|
550
|
+
# `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL`/keys/`key``.
|
551
|
+
# Corresponds to the JSON property `name`
|
552
|
+
# @return [String]
|
553
|
+
attr_accessor :name
|
554
|
+
|
555
|
+
# The key can be used before this timestamp.
|
556
|
+
# Corresponds to the JSON property `validBeforeTime`
|
557
|
+
# @return [String]
|
558
|
+
attr_accessor :valid_before_time
|
559
|
+
|
560
|
+
# Specifies the algorithm (and possibly key size) for the key.
|
561
|
+
# Corresponds to the JSON property `keyAlgorithm`
|
562
|
+
# @return [String]
|
563
|
+
attr_accessor :key_algorithm
|
564
|
+
|
338
565
|
def initialize(**args)
|
339
566
|
update!(**args)
|
340
567
|
end
|
341
568
|
|
342
569
|
# Update properties of this object
|
343
570
|
def update!(**args)
|
344
|
-
@name = args[:name] if args.key?(:name)
|
345
|
-
@valid_before_time = args[:valid_before_time] if args.key?(:valid_before_time)
|
346
|
-
@key_algorithm = args[:key_algorithm] if args.key?(:key_algorithm)
|
347
|
-
@private_key_type = args[:private_key_type] if args.key?(:private_key_type)
|
348
571
|
@valid_after_time = args[:valid_after_time] if args.key?(:valid_after_time)
|
572
|
+
@private_key_type = args[:private_key_type] if args.key?(:private_key_type)
|
349
573
|
@private_key_data = args[:private_key_data] if args.key?(:private_key_data)
|
350
574
|
@public_key_data = args[:public_key_data] if args.key?(:public_key_data)
|
575
|
+
@name = args[:name] if args.key?(:name)
|
576
|
+
@valid_before_time = args[:valid_before_time] if args.key?(:valid_before_time)
|
577
|
+
@key_algorithm = args[:key_algorithm] if args.key?(:key_algorithm)
|
351
578
|
end
|
352
579
|
end
|
353
580
|
|
@@ -355,6 +582,12 @@ module Google
|
|
355
582
|
class CreateServiceAccountKeyRequest
|
356
583
|
include Google::Apis::Core::Hashable
|
357
584
|
|
585
|
+
#
|
586
|
+
# Corresponds to the JSON property `includePublicKeyData`
|
587
|
+
# @return [Boolean]
|
588
|
+
attr_accessor :include_public_key_data
|
589
|
+
alias_method :include_public_key_data?, :include_public_key_data
|
590
|
+
|
358
591
|
# Which type of key and algorithm to use for the key.
|
359
592
|
# The default is currently a 2K RSA key. However this may change in the
|
360
593
|
# future.
|
@@ -374,6 +607,7 @@ module Google
|
|
374
607
|
|
375
608
|
# Update properties of this object
|
376
609
|
def update!(**args)
|
610
|
+
@include_public_key_data = args[:include_public_key_data] if args.key?(:include_public_key_data)
|
377
611
|
@key_algorithm = args[:key_algorithm] if args.key?(:key_algorithm)
|
378
612
|
@private_key_type = args[:private_key_type] if args.key?(:private_key_type)
|
379
613
|
end
|
@@ -405,25 +639,25 @@ module Google
|
|
405
639
|
class SignBlobResponse
|
406
640
|
include Google::Apis::Core::Hashable
|
407
641
|
|
642
|
+
# The id of the key used to sign the blob.
|
643
|
+
# Corresponds to the JSON property `keyId`
|
644
|
+
# @return [String]
|
645
|
+
attr_accessor :key_id
|
646
|
+
|
408
647
|
# The signed blob.
|
409
648
|
# Corresponds to the JSON property `signature`
|
410
649
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
411
650
|
# @return [String]
|
412
651
|
attr_accessor :signature
|
413
652
|
|
414
|
-
# The id of the key used to sign the blob.
|
415
|
-
# Corresponds to the JSON property `keyId`
|
416
|
-
# @return [String]
|
417
|
-
attr_accessor :key_id
|
418
|
-
|
419
653
|
def initialize(**args)
|
420
654
|
update!(**args)
|
421
655
|
end
|
422
656
|
|
423
657
|
# Update properties of this object
|
424
658
|
def update!(**args)
|
425
|
-
@signature = args[:signature] if args.key?(:signature)
|
426
659
|
@key_id = args[:key_id] if args.key?(:key_id)
|
660
|
+
@signature = args[:signature] if args.key?(:signature)
|
427
661
|
end
|
428
662
|
end
|
429
663
|
|
@@ -452,6 +686,25 @@ module Google
|
|
452
686
|
end
|
453
687
|
end
|
454
688
|
|
689
|
+
# The service account sign JWT request.
|
690
|
+
class SignJwtRequest
|
691
|
+
include Google::Apis::Core::Hashable
|
692
|
+
|
693
|
+
# The JWT payload to sign, a JSON JWT Claim set.
|
694
|
+
# Corresponds to the JSON property `payload`
|
695
|
+
# @return [String]
|
696
|
+
attr_accessor :payload
|
697
|
+
|
698
|
+
def initialize(**args)
|
699
|
+
update!(**args)
|
700
|
+
end
|
701
|
+
|
702
|
+
# Update properties of this object
|
703
|
+
def update!(**args)
|
704
|
+
@payload = args[:payload] if args.key?(:payload)
|
705
|
+
end
|
706
|
+
end
|
707
|
+
|
455
708
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
456
709
|
# specify access control policies for Cloud Platform resources.
|
457
710
|
# A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
|
@@ -518,252 +771,6 @@ module Google
|
|
518
771
|
@bindings = args[:bindings] if args.key?(:bindings)
|
519
772
|
end
|
520
773
|
end
|
521
|
-
|
522
|
-
# The service account sign JWT request.
|
523
|
-
class SignJwtRequest
|
524
|
-
include Google::Apis::Core::Hashable
|
525
|
-
|
526
|
-
# The JWT payload to sign, a JSON JWT Claim set.
|
527
|
-
# Corresponds to the JSON property `payload`
|
528
|
-
# @return [String]
|
529
|
-
attr_accessor :payload
|
530
|
-
|
531
|
-
def initialize(**args)
|
532
|
-
update!(**args)
|
533
|
-
end
|
534
|
-
|
535
|
-
# Update properties of this object
|
536
|
-
def update!(**args)
|
537
|
-
@payload = args[:payload] if args.key?(:payload)
|
538
|
-
end
|
539
|
-
end
|
540
|
-
|
541
|
-
# Audit log information specific to Cloud IAM. This message is serialized
|
542
|
-
# as an `Any` type in the `ServiceData` message of an
|
543
|
-
# `AuditLog` message.
|
544
|
-
class AuditData
|
545
|
-
include Google::Apis::Core::Hashable
|
546
|
-
|
547
|
-
# The difference delta between two policies.
|
548
|
-
# Corresponds to the JSON property `policyDelta`
|
549
|
-
# @return [Google::Apis::IamV1::PolicyDelta]
|
550
|
-
attr_accessor :policy_delta
|
551
|
-
|
552
|
-
def initialize(**args)
|
553
|
-
update!(**args)
|
554
|
-
end
|
555
|
-
|
556
|
-
# Update properties of this object
|
557
|
-
def update!(**args)
|
558
|
-
@policy_delta = args[:policy_delta] if args.key?(:policy_delta)
|
559
|
-
end
|
560
|
-
end
|
561
|
-
|
562
|
-
# One delta entry for Binding. Each individual change (only one member in each
|
563
|
-
# entry) to a binding will be a separate entry.
|
564
|
-
class BindingDelta
|
565
|
-
include Google::Apis::Core::Hashable
|
566
|
-
|
567
|
-
# The action that was performed on a Binding.
|
568
|
-
# Required
|
569
|
-
# Corresponds to the JSON property `action`
|
570
|
-
# @return [String]
|
571
|
-
attr_accessor :action
|
572
|
-
|
573
|
-
# A single identity requesting access for a Cloud Platform resource.
|
574
|
-
# Follows the same format of Binding.members.
|
575
|
-
# Required
|
576
|
-
# Corresponds to the JSON property `member`
|
577
|
-
# @return [String]
|
578
|
-
attr_accessor :member
|
579
|
-
|
580
|
-
# Role that is assigned to `members`.
|
581
|
-
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
582
|
-
# Required
|
583
|
-
# Corresponds to the JSON property `role`
|
584
|
-
# @return [String]
|
585
|
-
attr_accessor :role
|
586
|
-
|
587
|
-
def initialize(**args)
|
588
|
-
update!(**args)
|
589
|
-
end
|
590
|
-
|
591
|
-
# Update properties of this object
|
592
|
-
def update!(**args)
|
593
|
-
@action = args[:action] if args.key?(:action)
|
594
|
-
@member = args[:member] if args.key?(:member)
|
595
|
-
@role = args[:role] if args.key?(:role)
|
596
|
-
end
|
597
|
-
end
|
598
|
-
|
599
|
-
# The difference delta between two policies.
|
600
|
-
class PolicyDelta
|
601
|
-
include Google::Apis::Core::Hashable
|
602
|
-
|
603
|
-
# The delta for Bindings between two policies.
|
604
|
-
# Corresponds to the JSON property `bindingDeltas`
|
605
|
-
# @return [Array<Google::Apis::IamV1::BindingDelta>]
|
606
|
-
attr_accessor :binding_deltas
|
607
|
-
|
608
|
-
def initialize(**args)
|
609
|
-
update!(**args)
|
610
|
-
end
|
611
|
-
|
612
|
-
# Update properties of this object
|
613
|
-
def update!(**args)
|
614
|
-
@binding_deltas = args[:binding_deltas] if args.key?(:binding_deltas)
|
615
|
-
end
|
616
|
-
end
|
617
|
-
|
618
|
-
# The service account list response.
|
619
|
-
class ListServiceAccountsResponse
|
620
|
-
include Google::Apis::Core::Hashable
|
621
|
-
|
622
|
-
# To retrieve the next page of results, set
|
623
|
-
# ListServiceAccountsRequest.page_token
|
624
|
-
# to this value.
|
625
|
-
# Corresponds to the JSON property `nextPageToken`
|
626
|
-
# @return [String]
|
627
|
-
attr_accessor :next_page_token
|
628
|
-
|
629
|
-
# The list of matching service accounts.
|
630
|
-
# Corresponds to the JSON property `accounts`
|
631
|
-
# @return [Array<Google::Apis::IamV1::ServiceAccount>]
|
632
|
-
attr_accessor :accounts
|
633
|
-
|
634
|
-
def initialize(**args)
|
635
|
-
update!(**args)
|
636
|
-
end
|
637
|
-
|
638
|
-
# Update properties of this object
|
639
|
-
def update!(**args)
|
640
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
641
|
-
@accounts = args[:accounts] if args.key?(:accounts)
|
642
|
-
end
|
643
|
-
end
|
644
|
-
|
645
|
-
# The service account create request.
|
646
|
-
class CreateServiceAccountRequest
|
647
|
-
include Google::Apis::Core::Hashable
|
648
|
-
|
649
|
-
# A service account in the Identity and Access Management API.
|
650
|
-
# To create a service account, specify the `project_id` and the `account_id`
|
651
|
-
# for the account. The `account_id` is unique within the project, and is used
|
652
|
-
# to generate the service account email address and a stable
|
653
|
-
# `unique_id`.
|
654
|
-
# If the account already exists, the account's resource name is returned
|
655
|
-
# in util::Status's ResourceInfo.resource_name in the format of
|
656
|
-
# projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL`. The caller can
|
657
|
-
# use the name in other methods to access the account.
|
658
|
-
# All other methods can identify the service account using the format
|
659
|
-
# `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``.
|
660
|
-
# Using `-` as a wildcard for the project will infer the project from
|
661
|
-
# the account. The `account` value can be the `email` address or the
|
662
|
-
# `unique_id` of the service account.
|
663
|
-
# Corresponds to the JSON property `serviceAccount`
|
664
|
-
# @return [Google::Apis::IamV1::ServiceAccount]
|
665
|
-
attr_accessor :service_account
|
666
|
-
|
667
|
-
# Required. The account id that is used to generate the service account
|
668
|
-
# email address and a stable unique id. It is unique within a project,
|
669
|
-
# must be 6-30 characters long, and match the regular expression
|
670
|
-
# `[a-z]([-a-z0-9]*[a-z0-9])` to comply with RFC1035.
|
671
|
-
# Corresponds to the JSON property `accountId`
|
672
|
-
# @return [String]
|
673
|
-
attr_accessor :account_id
|
674
|
-
|
675
|
-
def initialize(**args)
|
676
|
-
update!(**args)
|
677
|
-
end
|
678
|
-
|
679
|
-
# Update properties of this object
|
680
|
-
def update!(**args)
|
681
|
-
@service_account = args[:service_account] if args.key?(:service_account)
|
682
|
-
@account_id = args[:account_id] if args.key?(:account_id)
|
683
|
-
end
|
684
|
-
end
|
685
|
-
|
686
|
-
# The grantable role query response.
|
687
|
-
class QueryGrantableRolesResponse
|
688
|
-
include Google::Apis::Core::Hashable
|
689
|
-
|
690
|
-
# The list of matching roles.
|
691
|
-
# Corresponds to the JSON property `roles`
|
692
|
-
# @return [Array<Google::Apis::IamV1::Role>]
|
693
|
-
attr_accessor :roles
|
694
|
-
|
695
|
-
# To retrieve the next page of results, set
|
696
|
-
# `QueryGrantableRolesRequest.page_token` to this value.
|
697
|
-
# Corresponds to the JSON property `nextPageToken`
|
698
|
-
# @return [String]
|
699
|
-
attr_accessor :next_page_token
|
700
|
-
|
701
|
-
def initialize(**args)
|
702
|
-
update!(**args)
|
703
|
-
end
|
704
|
-
|
705
|
-
# Update properties of this object
|
706
|
-
def update!(**args)
|
707
|
-
@roles = args[:roles] if args.key?(:roles)
|
708
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
709
|
-
end
|
710
|
-
end
|
711
|
-
|
712
|
-
# A role in the Identity and Access Management API.
|
713
|
-
class Role
|
714
|
-
include Google::Apis::Core::Hashable
|
715
|
-
|
716
|
-
# Optional. A human-readable title for the role. Typically this
|
717
|
-
# is limited to 100 UTF-8 bytes.
|
718
|
-
# Corresponds to the JSON property `title`
|
719
|
-
# @return [String]
|
720
|
-
attr_accessor :title
|
721
|
-
|
722
|
-
# The name of the role.
|
723
|
-
# When Role is used in CreateRole, the role name must not be set.
|
724
|
-
# When Role is used in output and other input such as UpdateRole, the role
|
725
|
-
# name is the complete path, e.g., roles/logging.viewer for curated roles
|
726
|
-
# and organizations/`ORGANIZATION_ID`/roles/logging.viewer for custom roles.
|
727
|
-
# Corresponds to the JSON property `name`
|
728
|
-
# @return [String]
|
729
|
-
attr_accessor :name
|
730
|
-
|
731
|
-
# Optional. A human-readable description for the role.
|
732
|
-
# Corresponds to the JSON property `description`
|
733
|
-
# @return [String]
|
734
|
-
attr_accessor :description
|
735
|
-
|
736
|
-
def initialize(**args)
|
737
|
-
update!(**args)
|
738
|
-
end
|
739
|
-
|
740
|
-
# Update properties of this object
|
741
|
-
def update!(**args)
|
742
|
-
@title = args[:title] if args.key?(:title)
|
743
|
-
@name = args[:name] if args.key?(:name)
|
744
|
-
@description = args[:description] if args.key?(:description)
|
745
|
-
end
|
746
|
-
end
|
747
|
-
|
748
|
-
# The service account sign blob request.
|
749
|
-
class SignBlobRequest
|
750
|
-
include Google::Apis::Core::Hashable
|
751
|
-
|
752
|
-
# The bytes to sign.
|
753
|
-
# Corresponds to the JSON property `bytesToSign`
|
754
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
755
|
-
# @return [String]
|
756
|
-
attr_accessor :bytes_to_sign
|
757
|
-
|
758
|
-
def initialize(**args)
|
759
|
-
update!(**args)
|
760
|
-
end
|
761
|
-
|
762
|
-
# Update properties of this object
|
763
|
-
def update!(**args)
|
764
|
-
@bytes_to_sign = args[:bytes_to_sign] if args.key?(:bytes_to_sign)
|
765
|
-
end
|
766
|
-
end
|
767
774
|
end
|
768
775
|
end
|
769
776
|
end
|