google-apis-biglake_v1 0.5.0 → 0.6.0
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7250e2850b5c053fa732ca102a83928aa3fc0699f57df69d3ccb8e428de0dcac
|
|
4
|
+
data.tar.gz: dc2f066bb325a43736e3bab2d6e3c7aff433e68d31ed41783dcb000ed87c4dd5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d70fea613ffc2e60c855f0e7c17513d48e05d24b5c251af65a93b95da4f87e70807848424106f394539db11a3c1aaac1c1a190f402cb82a76c8d06a45af4819d
|
|
7
|
+
data.tar.gz: a9aee81000b5e926889c4a851f8a1a3a88253a27c7d328de92e46adb013cfe8b48dcc4be60da0758e9d78d888078a805c788b6d9dae04559d5a8e7e3e4ac26dd
|
data/CHANGELOG.md
CHANGED
|
@@ -22,6 +22,178 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module BiglakeV1
|
|
24
24
|
|
|
25
|
+
# Specifies the audit configuration for a service. The configuration determines
|
|
26
|
+
# which permission types are logged, and what identities, if any, are exempted
|
|
27
|
+
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
|
28
|
+
# are AuditConfigs for both `allServices` and a specific service, the union of
|
|
29
|
+
# the two AuditConfigs is used for that service: the log_types specified in each
|
|
30
|
+
# AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
|
|
31
|
+
# exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
|
|
32
|
+
# service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
|
|
33
|
+
# exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
|
|
34
|
+
# ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
|
|
35
|
+
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
|
36
|
+
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
|
37
|
+
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
|
38
|
+
# exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com`
|
|
39
|
+
# from DATA_WRITE logging.
|
|
40
|
+
class AuditConfig
|
|
41
|
+
include Google::Apis::Core::Hashable
|
|
42
|
+
|
|
43
|
+
# The configuration for logging of each type of permission.
|
|
44
|
+
# Corresponds to the JSON property `auditLogConfigs`
|
|
45
|
+
# @return [Array<Google::Apis::BiglakeV1::AuditLogConfig>]
|
|
46
|
+
attr_accessor :audit_log_configs
|
|
47
|
+
|
|
48
|
+
# Specifies a service that will be enabled for audit logging. For example, `
|
|
49
|
+
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
|
50
|
+
# value that covers all services.
|
|
51
|
+
# Corresponds to the JSON property `service`
|
|
52
|
+
# @return [String]
|
|
53
|
+
attr_accessor :service
|
|
54
|
+
|
|
55
|
+
def initialize(**args)
|
|
56
|
+
update!(**args)
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# Update properties of this object
|
|
60
|
+
def update!(**args)
|
|
61
|
+
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
|
62
|
+
@service = args[:service] if args.key?(:service)
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
# Provides the configuration for logging a type of permissions. Example: ` "
|
|
67
|
+
# audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
|
|
68
|
+
# jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
|
|
69
|
+
# DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
|
|
70
|
+
# DATA_READ logging.
|
|
71
|
+
class AuditLogConfig
|
|
72
|
+
include Google::Apis::Core::Hashable
|
|
73
|
+
|
|
74
|
+
# Specifies the identities that do not cause logging for this type of permission.
|
|
75
|
+
# Follows the same format of Binding.members.
|
|
76
|
+
# Corresponds to the JSON property `exemptedMembers`
|
|
77
|
+
# @return [Array<String>]
|
|
78
|
+
attr_accessor :exempted_members
|
|
79
|
+
|
|
80
|
+
# The log type that this config enables.
|
|
81
|
+
# Corresponds to the JSON property `logType`
|
|
82
|
+
# @return [String]
|
|
83
|
+
attr_accessor :log_type
|
|
84
|
+
|
|
85
|
+
def initialize(**args)
|
|
86
|
+
update!(**args)
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
# Update properties of this object
|
|
90
|
+
def update!(**args)
|
|
91
|
+
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
|
92
|
+
@log_type = args[:log_type] if args.key?(:log_type)
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
# Associates `members`, or principals, with a `role`.
|
|
97
|
+
class Binding
|
|
98
|
+
include Google::Apis::Core::Hashable
|
|
99
|
+
|
|
100
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
|
101
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
|
102
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
|
103
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
|
104
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
|
105
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
|
106
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
|
107
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
|
108
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
|
109
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
|
110
|
+
# string" description: "Create a notification string with a timestamp."
|
|
111
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
|
112
|
+
# exact variables and functions that may be referenced within an expression are
|
|
113
|
+
# determined by the service that evaluates it. See the service documentation for
|
|
114
|
+
# additional information.
|
|
115
|
+
# Corresponds to the JSON property `condition`
|
|
116
|
+
# @return [Google::Apis::BiglakeV1::Expr]
|
|
117
|
+
attr_accessor :condition
|
|
118
|
+
|
|
119
|
+
# Specifies the principals requesting access for a Google Cloud resource. `
|
|
120
|
+
# members` can have the following values: * `allUsers`: A special identifier
|
|
121
|
+
# that represents anyone who is on the internet; with or without a Google
|
|
122
|
+
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
|
123
|
+
# anyone who is authenticated with a Google account or a service account. Does
|
|
124
|
+
# not include identities that come from external identity providers (IdPs)
|
|
125
|
+
# through identity federation. * `user:`emailid``: An email address that
|
|
126
|
+
# represents a specific Google account. For example, `alice@example.com` . * `
|
|
127
|
+
# serviceAccount:`emailid``: An email address that represents a Google service
|
|
128
|
+
# account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
|
|
129
|
+
# serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An
|
|
130
|
+
# identifier for a [Kubernetes service account](https://cloud.google.com/
|
|
131
|
+
# kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
|
|
132
|
+
# project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
|
|
133
|
+
# email address that represents a Google group. For example, `admins@example.com`
|
|
134
|
+
# . * `domain:`domain``: The G Suite domain (primary) that represents all the
|
|
135
|
+
# users of that domain. For example, `google.com` or `example.com`. * `principal:
|
|
136
|
+
# //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
|
|
137
|
+
# subject_attribute_value``: A single identity in a workforce identity pool. * `
|
|
138
|
+
# principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
|
|
139
|
+
# group/`group_id``: All workforce identities in a group. * `principalSet://iam.
|
|
140
|
+
# googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
|
|
141
|
+
# attribute_name`/`attribute_value``: All workforce identities with a specific
|
|
142
|
+
# attribute value. * `principalSet://iam.googleapis.com/locations/global/
|
|
143
|
+
# workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
|
|
144
|
+
# principal://iam.googleapis.com/projects/`project_number`/locations/global/
|
|
145
|
+
# workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
|
|
146
|
+
# identity in a workload identity pool. * `principalSet://iam.googleapis.com/
|
|
147
|
+
# projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
|
|
148
|
+
# group/`group_id``: A workload identity pool group. * `principalSet://iam.
|
|
149
|
+
# googleapis.com/projects/`project_number`/locations/global/
|
|
150
|
+
# workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
|
|
151
|
+
# All identities in a workload identity pool with a certain attribute. * `
|
|
152
|
+
# principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
|
|
153
|
+
# workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
|
|
154
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
|
155
|
+
# identifier) representing a user that has been recently deleted. For example, `
|
|
156
|
+
# alice@example.com?uid=123456789012345678901`. If the user is recovered, this
|
|
157
|
+
# value reverts to `user:`emailid`` and the recovered user retains the role in
|
|
158
|
+
# the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
|
|
159
|
+
# address (plus unique identifier) representing a service account that has been
|
|
160
|
+
# recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
|
|
161
|
+
# 123456789012345678901`. If the service account is undeleted, this value
|
|
162
|
+
# reverts to `serviceAccount:`emailid`` and the undeleted service account
|
|
163
|
+
# retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
|
|
164
|
+
# An email address (plus unique identifier) representing a Google group that has
|
|
165
|
+
# been recently deleted. For example, `admins@example.com?uid=
|
|
166
|
+
# 123456789012345678901`. If the group is recovered, this value reverts to `
|
|
167
|
+
# group:`emailid`` and the recovered group retains the role in the binding. * `
|
|
168
|
+
# deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
|
|
169
|
+
# pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
|
|
170
|
+
# workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
|
|
171
|
+
# locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
|
|
172
|
+
# Corresponds to the JSON property `members`
|
|
173
|
+
# @return [Array<String>]
|
|
174
|
+
attr_accessor :members
|
|
175
|
+
|
|
176
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
|
177
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM
|
|
178
|
+
# roles and permissions, see the [IAM documentation](https://cloud.google.com/
|
|
179
|
+
# iam/docs/roles-overview). For a list of the available pre-defined roles, see [
|
|
180
|
+
# here](https://cloud.google.com/iam/docs/understanding-roles).
|
|
181
|
+
# Corresponds to the JSON property `role`
|
|
182
|
+
# @return [String]
|
|
183
|
+
attr_accessor :role
|
|
184
|
+
|
|
185
|
+
def initialize(**args)
|
|
186
|
+
update!(**args)
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
# Update properties of this object
|
|
190
|
+
def update!(**args)
|
|
191
|
+
@condition = args[:condition] if args.key?(:condition)
|
|
192
|
+
@members = args[:members] if args.key?(:members)
|
|
193
|
+
@role = args[:role] if args.key?(:role)
|
|
194
|
+
end
|
|
195
|
+
end
|
|
196
|
+
|
|
25
197
|
# Catalog is the container of databases.
|
|
26
198
|
class Catalog
|
|
27
199
|
include Google::Apis::Core::Hashable
|
|
@@ -126,6 +298,60 @@ module Google
|
|
|
126
298
|
end
|
|
127
299
|
end
|
|
128
300
|
|
|
301
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
|
302
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
|
303
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
|
304
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
|
305
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
|
306
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
|
307
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
|
308
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
|
309
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
|
310
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
|
311
|
+
# string" description: "Create a notification string with a timestamp."
|
|
312
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
|
313
|
+
# exact variables and functions that may be referenced within an expression are
|
|
314
|
+
# determined by the service that evaluates it. See the service documentation for
|
|
315
|
+
# additional information.
|
|
316
|
+
class Expr
|
|
317
|
+
include Google::Apis::Core::Hashable
|
|
318
|
+
|
|
319
|
+
# Optional. Description of the expression. This is a longer text which describes
|
|
320
|
+
# the expression, e.g. when hovered over it in a UI.
|
|
321
|
+
# Corresponds to the JSON property `description`
|
|
322
|
+
# @return [String]
|
|
323
|
+
attr_accessor :description
|
|
324
|
+
|
|
325
|
+
# Textual representation of an expression in Common Expression Language syntax.
|
|
326
|
+
# Corresponds to the JSON property `expression`
|
|
327
|
+
# @return [String]
|
|
328
|
+
attr_accessor :expression
|
|
329
|
+
|
|
330
|
+
# Optional. String indicating the location of the expression for error reporting,
|
|
331
|
+
# e.g. a file name and a position in the file.
|
|
332
|
+
# Corresponds to the JSON property `location`
|
|
333
|
+
# @return [String]
|
|
334
|
+
attr_accessor :location
|
|
335
|
+
|
|
336
|
+
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
|
337
|
+
# This can be used e.g. in UIs which allow to enter the expression.
|
|
338
|
+
# Corresponds to the JSON property `title`
|
|
339
|
+
# @return [String]
|
|
340
|
+
attr_accessor :title
|
|
341
|
+
|
|
342
|
+
def initialize(**args)
|
|
343
|
+
update!(**args)
|
|
344
|
+
end
|
|
345
|
+
|
|
346
|
+
# Update properties of this object
|
|
347
|
+
def update!(**args)
|
|
348
|
+
@description = args[:description] if args.key?(:description)
|
|
349
|
+
@expression = args[:expression] if args.key?(:expression)
|
|
350
|
+
@location = args[:location] if args.key?(:location)
|
|
351
|
+
@title = args[:title] if args.key?(:title)
|
|
352
|
+
end
|
|
353
|
+
end
|
|
354
|
+
|
|
129
355
|
# Options of a Hive database.
|
|
130
356
|
class HiveDatabaseOptions
|
|
131
357
|
include Google::Apis::Core::Hashable
|
|
@@ -261,6 +487,101 @@ module Google
|
|
|
261
487
|
end
|
|
262
488
|
end
|
|
263
489
|
|
|
490
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
|
491
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
|
492
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
|
493
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
|
494
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
|
495
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
|
496
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
|
497
|
+
# logical expression that allows access to a resource only if the expression
|
|
498
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
|
499
|
+
# the request, the resource, or both. To learn which resources support
|
|
500
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
|
501
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
|
502
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
|
503
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
|
504
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
|
505
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
|
506
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
|
507
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
|
508
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
|
509
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
|
510
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
|
511
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
|
512
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
|
513
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
|
514
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
|
515
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
|
516
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
517
|
+
class Policy
|
|
518
|
+
include Google::Apis::Core::Hashable
|
|
519
|
+
|
|
520
|
+
# Specifies cloud audit logging configuration for this policy.
|
|
521
|
+
# Corresponds to the JSON property `auditConfigs`
|
|
522
|
+
# @return [Array<Google::Apis::BiglakeV1::AuditConfig>]
|
|
523
|
+
attr_accessor :audit_configs
|
|
524
|
+
|
|
525
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
|
526
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
|
527
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
|
528
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
|
529
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
|
530
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
|
531
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
|
532
|
+
# principals to the `bindings` in the `Policy`.
|
|
533
|
+
# Corresponds to the JSON property `bindings`
|
|
534
|
+
# @return [Array<Google::Apis::BiglakeV1::Binding>]
|
|
535
|
+
attr_accessor :bindings
|
|
536
|
+
|
|
537
|
+
# `etag` is used for optimistic concurrency control as a way to help prevent
|
|
538
|
+
# simultaneous updates of a policy from overwriting each other. It is strongly
|
|
539
|
+
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
|
540
|
+
# to perform policy updates in order to avoid race conditions: An `etag` is
|
|
541
|
+
# returned in the response to `getIamPolicy`, and systems are expected to put
|
|
542
|
+
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
|
543
|
+
# applied to the same version of the policy. **Important:** If you use IAM
|
|
544
|
+
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
|
545
|
+
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
|
546
|
+
# with a version `1` policy, and all of the conditions in the version `3` policy
|
|
547
|
+
# are lost.
|
|
548
|
+
# Corresponds to the JSON property `etag`
|
|
549
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
550
|
+
# @return [String]
|
|
551
|
+
attr_accessor :etag
|
|
552
|
+
|
|
553
|
+
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
|
554
|
+
# Requests that specify an invalid value are rejected. Any operation that
|
|
555
|
+
# affects conditional role bindings must specify version `3`. This requirement
|
|
556
|
+
# applies to the following operations: * Getting a policy that includes a
|
|
557
|
+
# conditional role binding * Adding a conditional role binding to a policy *
|
|
558
|
+
# Changing a conditional role binding in a policy * Removing any role binding,
|
|
559
|
+
# with or without a condition, from a policy that includes conditions **
|
|
560
|
+
# Important:** If you use IAM Conditions, you must include the `etag` field
|
|
561
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
|
562
|
+
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
|
563
|
+
# conditions in the version `3` policy are lost. If a policy does not include
|
|
564
|
+
# any conditions, operations on that policy may specify any valid version or
|
|
565
|
+
# leave the field unset. To learn which resources support conditions in their
|
|
566
|
+
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
|
567
|
+
# conditions/resource-policies).
|
|
568
|
+
# Corresponds to the JSON property `version`
|
|
569
|
+
# @return [Fixnum]
|
|
570
|
+
attr_accessor :version
|
|
571
|
+
|
|
572
|
+
def initialize(**args)
|
|
573
|
+
update!(**args)
|
|
574
|
+
end
|
|
575
|
+
|
|
576
|
+
# Update properties of this object
|
|
577
|
+
def update!(**args)
|
|
578
|
+
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
|
579
|
+
@bindings = args[:bindings] if args.key?(:bindings)
|
|
580
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
581
|
+
@version = args[:version] if args.key?(:version)
|
|
582
|
+
end
|
|
583
|
+
end
|
|
584
|
+
|
|
264
585
|
# Request message for the RenameTable method in MetastoreService
|
|
265
586
|
class RenameTableRequest
|
|
266
587
|
include Google::Apis::Core::Hashable
|
|
@@ -301,6 +622,59 @@ module Google
|
|
|
301
622
|
end
|
|
302
623
|
end
|
|
303
624
|
|
|
625
|
+
# Request message for `SetIamPolicy` method.
|
|
626
|
+
class SetIamPolicyRequest
|
|
627
|
+
include Google::Apis::Core::Hashable
|
|
628
|
+
|
|
629
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
|
630
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
|
631
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
|
632
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
|
633
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
|
634
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
|
635
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
|
636
|
+
# logical expression that allows access to a resource only if the expression
|
|
637
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
|
638
|
+
# the request, the resource, or both. To learn which resources support
|
|
639
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
|
640
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
|
641
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
|
642
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
|
643
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
|
644
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
|
645
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
|
646
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
|
647
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
|
648
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
|
649
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
|
650
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
|
651
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
|
652
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
|
653
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
|
654
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
|
655
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
656
|
+
# Corresponds to the JSON property `policy`
|
|
657
|
+
# @return [Google::Apis::BiglakeV1::Policy]
|
|
658
|
+
attr_accessor :policy
|
|
659
|
+
|
|
660
|
+
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
|
661
|
+
# the fields in the mask will be modified. If no mask is provided, the following
|
|
662
|
+
# default mask is used: `paths: "bindings, etag"`
|
|
663
|
+
# Corresponds to the JSON property `updateMask`
|
|
664
|
+
# @return [String]
|
|
665
|
+
attr_accessor :update_mask
|
|
666
|
+
|
|
667
|
+
def initialize(**args)
|
|
668
|
+
update!(**args)
|
|
669
|
+
end
|
|
670
|
+
|
|
671
|
+
# Update properties of this object
|
|
672
|
+
def update!(**args)
|
|
673
|
+
@policy = args[:policy] if args.key?(:policy)
|
|
674
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
|
675
|
+
end
|
|
676
|
+
end
|
|
677
|
+
|
|
304
678
|
# Stores physical storage information of the data.
|
|
305
679
|
class StorageDescriptor
|
|
306
680
|
include Google::Apis::Core::Hashable
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module BiglakeV1
|
|
18
18
|
# Version of the google-apis-biglake_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.6.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20251027"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -22,6 +22,24 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module BiglakeV1
|
|
24
24
|
|
|
25
|
+
class AuditConfig
|
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
+
|
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
class AuditLogConfig
|
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
+
|
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
class Binding
|
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
|
+
|
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
41
|
+
end
|
|
42
|
+
|
|
25
43
|
class Catalog
|
|
26
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
45
|
|
|
@@ -34,6 +52,12 @@ module Google
|
|
|
34
52
|
include Google::Apis::Core::JsonObjectSupport
|
|
35
53
|
end
|
|
36
54
|
|
|
55
|
+
class Expr
|
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
|
+
|
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
59
|
+
end
|
|
60
|
+
|
|
37
61
|
class HiveDatabaseOptions
|
|
38
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
63
|
|
|
@@ -64,6 +88,12 @@ module Google
|
|
|
64
88
|
include Google::Apis::Core::JsonObjectSupport
|
|
65
89
|
end
|
|
66
90
|
|
|
91
|
+
class Policy
|
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
+
|
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
+
end
|
|
96
|
+
|
|
67
97
|
class RenameTableRequest
|
|
68
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
99
|
|
|
@@ -76,6 +106,12 @@ module Google
|
|
|
76
106
|
include Google::Apis::Core::JsonObjectSupport
|
|
77
107
|
end
|
|
78
108
|
|
|
109
|
+
class SetIamPolicyRequest
|
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
|
+
|
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
113
|
+
end
|
|
114
|
+
|
|
79
115
|
class StorageDescriptor
|
|
80
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
117
|
|
|
@@ -88,6 +124,33 @@ module Google
|
|
|
88
124
|
include Google::Apis::Core::JsonObjectSupport
|
|
89
125
|
end
|
|
90
126
|
|
|
127
|
+
class AuditConfig
|
|
128
|
+
# @private
|
|
129
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
130
|
+
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::BiglakeV1::AuditLogConfig, decorator: Google::Apis::BiglakeV1::AuditLogConfig::Representation
|
|
131
|
+
|
|
132
|
+
property :service, as: 'service'
|
|
133
|
+
end
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
class AuditLogConfig
|
|
137
|
+
# @private
|
|
138
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
139
|
+
collection :exempted_members, as: 'exemptedMembers'
|
|
140
|
+
property :log_type, as: 'logType'
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
class Binding
|
|
145
|
+
# @private
|
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
147
|
+
property :condition, as: 'condition', class: Google::Apis::BiglakeV1::Expr, decorator: Google::Apis::BiglakeV1::Expr::Representation
|
|
148
|
+
|
|
149
|
+
collection :members, as: 'members'
|
|
150
|
+
property :role, as: 'role'
|
|
151
|
+
end
|
|
152
|
+
end
|
|
153
|
+
|
|
91
154
|
class Catalog
|
|
92
155
|
# @private
|
|
93
156
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -113,6 +176,16 @@ module Google
|
|
|
113
176
|
end
|
|
114
177
|
end
|
|
115
178
|
|
|
179
|
+
class Expr
|
|
180
|
+
# @private
|
|
181
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
182
|
+
property :description, as: 'description'
|
|
183
|
+
property :expression, as: 'expression'
|
|
184
|
+
property :location, as: 'location'
|
|
185
|
+
property :title, as: 'title'
|
|
186
|
+
end
|
|
187
|
+
end
|
|
188
|
+
|
|
116
189
|
class HiveDatabaseOptions
|
|
117
190
|
# @private
|
|
118
191
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -158,6 +231,18 @@ module Google
|
|
|
158
231
|
end
|
|
159
232
|
end
|
|
160
233
|
|
|
234
|
+
class Policy
|
|
235
|
+
# @private
|
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
237
|
+
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::BiglakeV1::AuditConfig, decorator: Google::Apis::BiglakeV1::AuditConfig::Representation
|
|
238
|
+
|
|
239
|
+
collection :bindings, as: 'bindings', class: Google::Apis::BiglakeV1::Binding, decorator: Google::Apis::BiglakeV1::Binding::Representation
|
|
240
|
+
|
|
241
|
+
property :etag, :base64 => true, as: 'etag'
|
|
242
|
+
property :version, as: 'version'
|
|
243
|
+
end
|
|
244
|
+
end
|
|
245
|
+
|
|
161
246
|
class RenameTableRequest
|
|
162
247
|
# @private
|
|
163
248
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -172,6 +257,15 @@ module Google
|
|
|
172
257
|
end
|
|
173
258
|
end
|
|
174
259
|
|
|
260
|
+
class SetIamPolicyRequest
|
|
261
|
+
# @private
|
|
262
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
263
|
+
property :policy, as: 'policy', class: Google::Apis::BiglakeV1::Policy, decorator: Google::Apis::BiglakeV1::Policy::Representation
|
|
264
|
+
|
|
265
|
+
property :update_mask, as: 'updateMask'
|
|
266
|
+
end
|
|
267
|
+
end
|
|
268
|
+
|
|
175
269
|
class StorageDescriptor
|
|
176
270
|
# @private
|
|
177
271
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -53,6 +53,164 @@ module Google
|
|
|
53
53
|
@batch_path = 'batch'
|
|
54
54
|
end
|
|
55
55
|
|
|
56
|
+
# Gets the IAM policy for the specified Catalog.
|
|
57
|
+
# @param [String] resource
|
|
58
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
|
59
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
60
|
+
# appropriate value for this field.
|
|
61
|
+
# @param [Fixnum] options_requested_policy_version
|
|
62
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
|
63
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
|
64
|
+
# rejected. Requests for policies with any conditional role bindings must
|
|
65
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
|
66
|
+
# valid value or leave the field unset. The policy in the response might use the
|
|
67
|
+
# policy version that you specified, or it might use a lower policy version. For
|
|
68
|
+
# example, if you specify version 3, but the policy has no conditional role
|
|
69
|
+
# bindings, the response uses version 1. To learn which resources support
|
|
70
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
|
71
|
+
# google.com/iam/help/conditions/resource-policies).
|
|
72
|
+
# @param [String] fields
|
|
73
|
+
# Selector specifying which fields to include in a partial response.
|
|
74
|
+
# @param [String] quota_user
|
|
75
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
76
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
77
|
+
# @param [Google::Apis::RequestOptions] options
|
|
78
|
+
# Request-specific options
|
|
79
|
+
#
|
|
80
|
+
# @yield [result, err] Result & error if block supplied
|
|
81
|
+
# @yieldparam result [Google::Apis::BiglakeV1::Policy] parsed result object
|
|
82
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
83
|
+
#
|
|
84
|
+
# @return [Google::Apis::BiglakeV1::Policy]
|
|
85
|
+
#
|
|
86
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
87
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
88
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
89
|
+
def get_project_catalog_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
90
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
|
91
|
+
command.response_representation = Google::Apis::BiglakeV1::Policy::Representation
|
|
92
|
+
command.response_class = Google::Apis::BiglakeV1::Policy
|
|
93
|
+
command.params['resource'] = resource unless resource.nil?
|
|
94
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
|
95
|
+
command.query['fields'] = fields unless fields.nil?
|
|
96
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
97
|
+
execute_or_queue_command(command, &block)
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# Sets the IAM policy for the specified catalog.
|
|
101
|
+
# @param [String] resource
|
|
102
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
|
103
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
104
|
+
# appropriate value for this field.
|
|
105
|
+
# @param [Google::Apis::BiglakeV1::SetIamPolicyRequest] set_iam_policy_request_object
|
|
106
|
+
# @param [String] fields
|
|
107
|
+
# Selector specifying which fields to include in a partial response.
|
|
108
|
+
# @param [String] quota_user
|
|
109
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
110
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
111
|
+
# @param [Google::Apis::RequestOptions] options
|
|
112
|
+
# Request-specific options
|
|
113
|
+
#
|
|
114
|
+
# @yield [result, err] Result & error if block supplied
|
|
115
|
+
# @yieldparam result [Google::Apis::BiglakeV1::Policy] parsed result object
|
|
116
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
117
|
+
#
|
|
118
|
+
# @return [Google::Apis::BiglakeV1::Policy]
|
|
119
|
+
#
|
|
120
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
121
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
122
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
123
|
+
def set_catalog_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
124
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
|
125
|
+
command.request_representation = Google::Apis::BiglakeV1::SetIamPolicyRequest::Representation
|
|
126
|
+
command.request_object = set_iam_policy_request_object
|
|
127
|
+
command.response_representation = Google::Apis::BiglakeV1::Policy::Representation
|
|
128
|
+
command.response_class = Google::Apis::BiglakeV1::Policy
|
|
129
|
+
command.params['resource'] = resource unless resource.nil?
|
|
130
|
+
command.query['fields'] = fields unless fields.nil?
|
|
131
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
132
|
+
execute_or_queue_command(command, &block)
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
# Gets the IAM policy for the specified Catalog.
|
|
136
|
+
# @param [String] resource
|
|
137
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
|
138
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
139
|
+
# appropriate value for this field.
|
|
140
|
+
# @param [Fixnum] options_requested_policy_version
|
|
141
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
|
142
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
|
143
|
+
# rejected. Requests for policies with any conditional role bindings must
|
|
144
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
|
145
|
+
# valid value or leave the field unset. The policy in the response might use the
|
|
146
|
+
# policy version that you specified, or it might use a lower policy version. For
|
|
147
|
+
# example, if you specify version 3, but the policy has no conditional role
|
|
148
|
+
# bindings, the response uses version 1. To learn which resources support
|
|
149
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
|
150
|
+
# google.com/iam/help/conditions/resource-policies).
|
|
151
|
+
# @param [String] fields
|
|
152
|
+
# Selector specifying which fields to include in a partial response.
|
|
153
|
+
# @param [String] quota_user
|
|
154
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
155
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
156
|
+
# @param [Google::Apis::RequestOptions] options
|
|
157
|
+
# Request-specific options
|
|
158
|
+
#
|
|
159
|
+
# @yield [result, err] Result & error if block supplied
|
|
160
|
+
# @yieldparam result [Google::Apis::BiglakeV1::Policy] parsed result object
|
|
161
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
162
|
+
#
|
|
163
|
+
# @return [Google::Apis::BiglakeV1::Policy]
|
|
164
|
+
#
|
|
165
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
166
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
167
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
168
|
+
def get_project_catalog_namespace_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
169
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
|
170
|
+
command.response_representation = Google::Apis::BiglakeV1::Policy::Representation
|
|
171
|
+
command.response_class = Google::Apis::BiglakeV1::Policy
|
|
172
|
+
command.params['resource'] = resource unless resource.nil?
|
|
173
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
|
174
|
+
command.query['fields'] = fields unless fields.nil?
|
|
175
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
176
|
+
execute_or_queue_command(command, &block)
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
# Sets the IAM policy for the specified catalog.
|
|
180
|
+
# @param [String] resource
|
|
181
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
|
182
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
183
|
+
# appropriate value for this field.
|
|
184
|
+
# @param [Google::Apis::BiglakeV1::SetIamPolicyRequest] set_iam_policy_request_object
|
|
185
|
+
# @param [String] fields
|
|
186
|
+
# Selector specifying which fields to include in a partial response.
|
|
187
|
+
# @param [String] quota_user
|
|
188
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
189
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
190
|
+
# @param [Google::Apis::RequestOptions] options
|
|
191
|
+
# Request-specific options
|
|
192
|
+
#
|
|
193
|
+
# @yield [result, err] Result & error if block supplied
|
|
194
|
+
# @yieldparam result [Google::Apis::BiglakeV1::Policy] parsed result object
|
|
195
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
196
|
+
#
|
|
197
|
+
# @return [Google::Apis::BiglakeV1::Policy]
|
|
198
|
+
#
|
|
199
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
200
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
201
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
202
|
+
def set_namespace_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
203
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
|
204
|
+
command.request_representation = Google::Apis::BiglakeV1::SetIamPolicyRequest::Representation
|
|
205
|
+
command.request_object = set_iam_policy_request_object
|
|
206
|
+
command.response_representation = Google::Apis::BiglakeV1::Policy::Representation
|
|
207
|
+
command.response_class = Google::Apis::BiglakeV1::Policy
|
|
208
|
+
command.params['resource'] = resource unless resource.nil?
|
|
209
|
+
command.query['fields'] = fields unless fields.nil?
|
|
210
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
211
|
+
execute_or_queue_command(command, &block)
|
|
212
|
+
end
|
|
213
|
+
|
|
56
214
|
# Creates a new catalog.
|
|
57
215
|
# @param [String] parent
|
|
58
216
|
# Required. The parent resource where this catalog will be created. Format:
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-biglake_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-biglake_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-biglake_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-biglake_v1/v0.6.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-biglake_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
73
73
|
- !ruby/object:Gem::Version
|
|
74
74
|
version: '0'
|
|
75
75
|
requirements: []
|
|
76
|
-
rubygems_version: 3.6.
|
|
76
|
+
rubygems_version: 3.6.9
|
|
77
77
|
specification_version: 4
|
|
78
78
|
summary: Simple REST client for BigLake API V1
|
|
79
79
|
test_files: []
|