google-apis-looker_v1 0.12.0 → 0.14.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 +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/looker_v1/classes.rb +14 -414
- data/lib/google/apis/looker_v1/gem_version.rb +3 -3
- data/lib/google/apis/looker_v1/representations.rb +2 -120
- data/lib/google/apis/looker_v1/service.rb +0 -242
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54e4e8a556639fcfd0565e5492e681cdab9c08302d5ca607d7e9738b4d349c33
|
4
|
+
data.tar.gz: e05d098e6ecfa286b8effac73eb5667357ee95883da7ba1023db45bede9e8b27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7161c82c361897925ba97f72ac97a6343414c4976fb2cb87770622ec6cb2bcbaa6eff6f00498b7a359ff872ce116984968523de740a1aa232cc8980df601f20
|
7
|
+
data.tar.gz: 355a9add421857c10b89f6985d35b8d8ab36befb00fd9c7e99f8deb767d28c42bb1407f7a325536e9de4354c8fc78271cbdb18e2005a36c2fd41ccd312528150
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-looker_v1
|
2
2
|
|
3
|
+
### v0.14.0 (2025-03-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250305
|
6
|
+
|
7
|
+
### v0.13.0 (2025-02-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250205
|
10
|
+
* Regenerated using generator version 0.16.0
|
11
|
+
|
3
12
|
### v0.12.0 (2024-12-15)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20241204
|
@@ -41,178 +41,6 @@ module Google
|
|
41
41
|
end
|
42
42
|
end
|
43
43
|
|
44
|
-
# Specifies the audit configuration for a service. The configuration determines
|
45
|
-
# which permission types are logged, and what identities, if any, are exempted
|
46
|
-
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
47
|
-
# are AuditConfigs for both `allServices` and a specific service, the union of
|
48
|
-
# the two AuditConfigs is used for that service: the log_types specified in each
|
49
|
-
# AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
|
50
|
-
# exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
|
51
|
-
# service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
|
52
|
-
# exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
|
53
|
-
# ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
|
54
|
-
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
55
|
-
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
56
|
-
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
57
|
-
# exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com`
|
58
|
-
# from DATA_WRITE logging.
|
59
|
-
class AuditConfig
|
60
|
-
include Google::Apis::Core::Hashable
|
61
|
-
|
62
|
-
# The configuration for logging of each type of permission.
|
63
|
-
# Corresponds to the JSON property `auditLogConfigs`
|
64
|
-
# @return [Array<Google::Apis::LookerV1::AuditLogConfig>]
|
65
|
-
attr_accessor :audit_log_configs
|
66
|
-
|
67
|
-
# Specifies a service that will be enabled for audit logging. For example, `
|
68
|
-
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
69
|
-
# value that covers all services.
|
70
|
-
# Corresponds to the JSON property `service`
|
71
|
-
# @return [String]
|
72
|
-
attr_accessor :service
|
73
|
-
|
74
|
-
def initialize(**args)
|
75
|
-
update!(**args)
|
76
|
-
end
|
77
|
-
|
78
|
-
# Update properties of this object
|
79
|
-
def update!(**args)
|
80
|
-
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
81
|
-
@service = args[:service] if args.key?(:service)
|
82
|
-
end
|
83
|
-
end
|
84
|
-
|
85
|
-
# Provides the configuration for logging a type of permissions. Example: ` "
|
86
|
-
# audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
|
87
|
-
# jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
|
88
|
-
# DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
|
89
|
-
# DATA_READ logging.
|
90
|
-
class AuditLogConfig
|
91
|
-
include Google::Apis::Core::Hashable
|
92
|
-
|
93
|
-
# Specifies the identities that do not cause logging for this type of permission.
|
94
|
-
# Follows the same format of Binding.members.
|
95
|
-
# Corresponds to the JSON property `exemptedMembers`
|
96
|
-
# @return [Array<String>]
|
97
|
-
attr_accessor :exempted_members
|
98
|
-
|
99
|
-
# The log type that this config enables.
|
100
|
-
# Corresponds to the JSON property `logType`
|
101
|
-
# @return [String]
|
102
|
-
attr_accessor :log_type
|
103
|
-
|
104
|
-
def initialize(**args)
|
105
|
-
update!(**args)
|
106
|
-
end
|
107
|
-
|
108
|
-
# Update properties of this object
|
109
|
-
def update!(**args)
|
110
|
-
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
111
|
-
@log_type = args[:log_type] if args.key?(:log_type)
|
112
|
-
end
|
113
|
-
end
|
114
|
-
|
115
|
-
# Associates `members`, or principals, with a `role`.
|
116
|
-
class Binding
|
117
|
-
include Google::Apis::Core::Hashable
|
118
|
-
|
119
|
-
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
120
|
-
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
121
|
-
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
122
|
-
# "Summary size limit" description: "Determines if a summary is less than 100
|
123
|
-
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
124
|
-
# Requestor is owner" description: "Determines if requestor is the document
|
125
|
-
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
126
|
-
# Logic): title: "Public documents" description: "Determine whether the document
|
127
|
-
# should be publicly visible" expression: "document.type != 'private' &&
|
128
|
-
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
129
|
-
# string" description: "Create a notification string with a timestamp."
|
130
|
-
# expression: "'New message received at ' + string(document.create_time)" The
|
131
|
-
# exact variables and functions that may be referenced within an expression are
|
132
|
-
# determined by the service that evaluates it. See the service documentation for
|
133
|
-
# additional information.
|
134
|
-
# Corresponds to the JSON property `condition`
|
135
|
-
# @return [Google::Apis::LookerV1::Expr]
|
136
|
-
attr_accessor :condition
|
137
|
-
|
138
|
-
# Specifies the principals requesting access for a Google Cloud resource. `
|
139
|
-
# members` can have the following values: * `allUsers`: A special identifier
|
140
|
-
# that represents anyone who is on the internet; with or without a Google
|
141
|
-
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
142
|
-
# anyone who is authenticated with a Google account or a service account. Does
|
143
|
-
# not include identities that come from external identity providers (IdPs)
|
144
|
-
# through identity federation. * `user:`emailid``: An email address that
|
145
|
-
# represents a specific Google account. For example, `alice@example.com` . * `
|
146
|
-
# serviceAccount:`emailid``: An email address that represents a Google service
|
147
|
-
# account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
|
148
|
-
# serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An
|
149
|
-
# identifier for a [Kubernetes service account](https://cloud.google.com/
|
150
|
-
# kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
|
151
|
-
# project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
|
152
|
-
# email address that represents a Google group. For example, `admins@example.com`
|
153
|
-
# . * `domain:`domain``: The G Suite domain (primary) that represents all the
|
154
|
-
# users of that domain. For example, `google.com` or `example.com`. * `principal:
|
155
|
-
# //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
|
156
|
-
# subject_attribute_value``: A single identity in a workforce identity pool. * `
|
157
|
-
# principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
|
158
|
-
# group/`group_id``: All workforce identities in a group. * `principalSet://iam.
|
159
|
-
# googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
|
160
|
-
# attribute_name`/`attribute_value``: All workforce identities with a specific
|
161
|
-
# attribute value. * `principalSet://iam.googleapis.com/locations/global/
|
162
|
-
# workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
|
163
|
-
# principal://iam.googleapis.com/projects/`project_number`/locations/global/
|
164
|
-
# workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
|
165
|
-
# identity in a workload identity pool. * `principalSet://iam.googleapis.com/
|
166
|
-
# projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
|
167
|
-
# group/`group_id``: A workload identity pool group. * `principalSet://iam.
|
168
|
-
# googleapis.com/projects/`project_number`/locations/global/
|
169
|
-
# workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
|
170
|
-
# All identities in a workload identity pool with a certain attribute. * `
|
171
|
-
# principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
|
172
|
-
# workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
|
173
|
-
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
174
|
-
# identifier) representing a user that has been recently deleted. For example, `
|
175
|
-
# alice@example.com?uid=123456789012345678901`. If the user is recovered, this
|
176
|
-
# value reverts to `user:`emailid`` and the recovered user retains the role in
|
177
|
-
# the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
|
178
|
-
# address (plus unique identifier) representing a service account that has been
|
179
|
-
# recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
|
180
|
-
# 123456789012345678901`. If the service account is undeleted, this value
|
181
|
-
# reverts to `serviceAccount:`emailid`` and the undeleted service account
|
182
|
-
# retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
|
183
|
-
# An email address (plus unique identifier) representing a Google group that has
|
184
|
-
# been recently deleted. For example, `admins@example.com?uid=
|
185
|
-
# 123456789012345678901`. If the group is recovered, this value reverts to `
|
186
|
-
# group:`emailid`` and the recovered group retains the role in the binding. * `
|
187
|
-
# deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
|
188
|
-
# pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
|
189
|
-
# workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
|
190
|
-
# locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
|
191
|
-
# Corresponds to the JSON property `members`
|
192
|
-
# @return [Array<String>]
|
193
|
-
attr_accessor :members
|
194
|
-
|
195
|
-
# Role that is assigned to the list of `members`, or principals. For example, `
|
196
|
-
# roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM
|
197
|
-
# roles and permissions, see the [IAM documentation](https://cloud.google.com/
|
198
|
-
# iam/docs/roles-overview). For a list of the available pre-defined roles, see [
|
199
|
-
# here](https://cloud.google.com/iam/docs/understanding-roles).
|
200
|
-
# Corresponds to the JSON property `role`
|
201
|
-
# @return [String]
|
202
|
-
attr_accessor :role
|
203
|
-
|
204
|
-
def initialize(**args)
|
205
|
-
update!(**args)
|
206
|
-
end
|
207
|
-
|
208
|
-
# Update properties of this object
|
209
|
-
def update!(**args)
|
210
|
-
@condition = args[:condition] if args.key?(:condition)
|
211
|
-
@members = args[:members] if args.key?(:members)
|
212
|
-
@role = args[:role] if args.key?(:role)
|
213
|
-
end
|
214
|
-
end
|
215
|
-
|
216
44
|
# The request message for Operations.CancelOperation.
|
217
45
|
class CancelOperationRequest
|
218
46
|
include Google::Apis::Core::Hashable
|
@@ -519,60 +347,6 @@ module Google
|
|
519
347
|
end
|
520
348
|
end
|
521
349
|
|
522
|
-
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
523
|
-
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
524
|
-
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
525
|
-
# "Summary size limit" description: "Determines if a summary is less than 100
|
526
|
-
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
527
|
-
# Requestor is owner" description: "Determines if requestor is the document
|
528
|
-
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
529
|
-
# Logic): title: "Public documents" description: "Determine whether the document
|
530
|
-
# should be publicly visible" expression: "document.type != 'private' &&
|
531
|
-
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
532
|
-
# string" description: "Create a notification string with a timestamp."
|
533
|
-
# expression: "'New message received at ' + string(document.create_time)" The
|
534
|
-
# exact variables and functions that may be referenced within an expression are
|
535
|
-
# determined by the service that evaluates it. See the service documentation for
|
536
|
-
# additional information.
|
537
|
-
class Expr
|
538
|
-
include Google::Apis::Core::Hashable
|
539
|
-
|
540
|
-
# Optional. Description of the expression. This is a longer text which describes
|
541
|
-
# the expression, e.g. when hovered over it in a UI.
|
542
|
-
# Corresponds to the JSON property `description`
|
543
|
-
# @return [String]
|
544
|
-
attr_accessor :description
|
545
|
-
|
546
|
-
# Textual representation of an expression in Common Expression Language syntax.
|
547
|
-
# Corresponds to the JSON property `expression`
|
548
|
-
# @return [String]
|
549
|
-
attr_accessor :expression
|
550
|
-
|
551
|
-
# Optional. String indicating the location of the expression for error reporting,
|
552
|
-
# e.g. a file name and a position in the file.
|
553
|
-
# Corresponds to the JSON property `location`
|
554
|
-
# @return [String]
|
555
|
-
attr_accessor :location
|
556
|
-
|
557
|
-
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
558
|
-
# This can be used e.g. in UIs which allow to enter the expression.
|
559
|
-
# Corresponds to the JSON property `title`
|
560
|
-
# @return [String]
|
561
|
-
attr_accessor :title
|
562
|
-
|
563
|
-
def initialize(**args)
|
564
|
-
update!(**args)
|
565
|
-
end
|
566
|
-
|
567
|
-
# Update properties of this object
|
568
|
-
def update!(**args)
|
569
|
-
@description = args[:description] if args.key?(:description)
|
570
|
-
@expression = args[:expression] if args.key?(:expression)
|
571
|
-
@location = args[:location] if args.key?(:location)
|
572
|
-
@title = args[:title] if args.key?(:title)
|
573
|
-
end
|
574
|
-
end
|
575
|
-
|
576
350
|
# Requestion options for importing looker data to an Instance
|
577
351
|
class ImportInstanceRequest
|
578
352
|
include Google::Apis::Core::Hashable
|
@@ -736,6 +510,18 @@ module Google
|
|
736
510
|
# @return [String]
|
737
511
|
attr_accessor :reserved_range
|
738
512
|
|
513
|
+
# Output only. Reserved for future use.
|
514
|
+
# Corresponds to the JSON property `satisfiesPzi`
|
515
|
+
# @return [Boolean]
|
516
|
+
attr_accessor :satisfies_pzi
|
517
|
+
alias_method :satisfies_pzi?, :satisfies_pzi
|
518
|
+
|
519
|
+
# Output only. Reserved for future use.
|
520
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
521
|
+
# @return [Boolean]
|
522
|
+
attr_accessor :satisfies_pzs
|
523
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
524
|
+
|
739
525
|
# Output only. The state of the instance.
|
740
526
|
# Corresponds to the JSON property `state`
|
741
527
|
# @return [String]
|
@@ -782,6 +568,8 @@ module Google
|
|
782
568
|
@psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
|
783
569
|
@public_ip_enabled = args[:public_ip_enabled] if args.key?(:public_ip_enabled)
|
784
570
|
@reserved_range = args[:reserved_range] if args.key?(:reserved_range)
|
571
|
+
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
572
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
785
573
|
@state = args[:state] if args.key?(:state)
|
786
574
|
@update_time = args[:update_time] if args.key?(:update_time)
|
787
575
|
@user_metadata = args[:user_metadata] if args.key?(:user_metadata)
|
@@ -1117,101 +905,6 @@ module Google
|
|
1117
905
|
end
|
1118
906
|
end
|
1119
907
|
|
1120
|
-
# An Identity and Access Management (IAM) policy, which specifies access
|
1121
|
-
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1122
|
-
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
1123
|
-
# Principals can be user accounts, service accounts, Google groups, and domains (
|
1124
|
-
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
1125
|
-
# an IAM predefined role or a user-created custom role. For some types of Google
|
1126
|
-
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
1127
|
-
# logical expression that allows access to a resource only if the expression
|
1128
|
-
# evaluates to `true`. A condition can add constraints based on attributes of
|
1129
|
-
# the request, the resource, or both. To learn which resources support
|
1130
|
-
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1131
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
1132
|
-
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
1133
|
-
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
1134
|
-
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
1135
|
-
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
1136
|
-
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
1137
|
-
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1138
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
1139
|
-
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
1140
|
-
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
1141
|
-
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
1142
|
-
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
1143
|
-
# title: expirable access description: Does not grant access after Sep 2020
|
1144
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
1145
|
-
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
1146
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
1147
|
-
class Policy
|
1148
|
-
include Google::Apis::Core::Hashable
|
1149
|
-
|
1150
|
-
# Specifies cloud audit logging configuration for this policy.
|
1151
|
-
# Corresponds to the JSON property `auditConfigs`
|
1152
|
-
# @return [Array<Google::Apis::LookerV1::AuditConfig>]
|
1153
|
-
attr_accessor :audit_configs
|
1154
|
-
|
1155
|
-
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
1156
|
-
# specify a `condition` that determines how and when the `bindings` are applied.
|
1157
|
-
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
1158
|
-
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
1159
|
-
# can be Google groups. Each occurrence of a principal counts towards these
|
1160
|
-
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
1161
|
-
# example.com`, and not to any other principal, then you can add another 1,450
|
1162
|
-
# principals to the `bindings` in the `Policy`.
|
1163
|
-
# Corresponds to the JSON property `bindings`
|
1164
|
-
# @return [Array<Google::Apis::LookerV1::Binding>]
|
1165
|
-
attr_accessor :bindings
|
1166
|
-
|
1167
|
-
# `etag` is used for optimistic concurrency control as a way to help prevent
|
1168
|
-
# simultaneous updates of a policy from overwriting each other. It is strongly
|
1169
|
-
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
1170
|
-
# to perform policy updates in order to avoid race conditions: An `etag` is
|
1171
|
-
# returned in the response to `getIamPolicy`, and systems are expected to put
|
1172
|
-
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
1173
|
-
# applied to the same version of the policy. **Important:** If you use IAM
|
1174
|
-
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
1175
|
-
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
1176
|
-
# with a version `1` policy, and all of the conditions in the version `3` policy
|
1177
|
-
# are lost.
|
1178
|
-
# Corresponds to the JSON property `etag`
|
1179
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1180
|
-
# @return [String]
|
1181
|
-
attr_accessor :etag
|
1182
|
-
|
1183
|
-
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
1184
|
-
# Requests that specify an invalid value are rejected. Any operation that
|
1185
|
-
# affects conditional role bindings must specify version `3`. This requirement
|
1186
|
-
# applies to the following operations: * Getting a policy that includes a
|
1187
|
-
# conditional role binding * Adding a conditional role binding to a policy *
|
1188
|
-
# Changing a conditional role binding in a policy * Removing any role binding,
|
1189
|
-
# with or without a condition, from a policy that includes conditions **
|
1190
|
-
# Important:** If you use IAM Conditions, you must include the `etag` field
|
1191
|
-
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
1192
|
-
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
1193
|
-
# conditions in the version `3` policy are lost. If a policy does not include
|
1194
|
-
# any conditions, operations on that policy may specify any valid version or
|
1195
|
-
# leave the field unset. To learn which resources support conditions in their
|
1196
|
-
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
1197
|
-
# conditions/resource-policies).
|
1198
|
-
# Corresponds to the JSON property `version`
|
1199
|
-
# @return [Fixnum]
|
1200
|
-
attr_accessor :version
|
1201
|
-
|
1202
|
-
def initialize(**args)
|
1203
|
-
update!(**args)
|
1204
|
-
end
|
1205
|
-
|
1206
|
-
# Update properties of this object
|
1207
|
-
def update!(**args)
|
1208
|
-
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
1209
|
-
@bindings = args[:bindings] if args.key?(:bindings)
|
1210
|
-
@etag = args[:etag] if args.key?(:etag)
|
1211
|
-
@version = args[:version] if args.key?(:version)
|
1212
|
-
end
|
1213
|
-
end
|
1214
|
-
|
1215
908
|
# Information for Private Service Connect (PSC) setup for a Looker instance.
|
1216
909
|
class PscConfig
|
1217
910
|
include Google::Apis::Core::Hashable
|
@@ -1290,59 +983,6 @@ module Google
|
|
1290
983
|
end
|
1291
984
|
end
|
1292
985
|
|
1293
|
-
# Request message for `SetIamPolicy` method.
|
1294
|
-
class SetIamPolicyRequest
|
1295
|
-
include Google::Apis::Core::Hashable
|
1296
|
-
|
1297
|
-
# An Identity and Access Management (IAM) policy, which specifies access
|
1298
|
-
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1299
|
-
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
1300
|
-
# Principals can be user accounts, service accounts, Google groups, and domains (
|
1301
|
-
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
1302
|
-
# an IAM predefined role or a user-created custom role. For some types of Google
|
1303
|
-
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
1304
|
-
# logical expression that allows access to a resource only if the expression
|
1305
|
-
# evaluates to `true`. A condition can add constraints based on attributes of
|
1306
|
-
# the request, the resource, or both. To learn which resources support
|
1307
|
-
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1308
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
1309
|
-
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
1310
|
-
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
1311
|
-
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
1312
|
-
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
1313
|
-
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
1314
|
-
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1315
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
1316
|
-
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
1317
|
-
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
1318
|
-
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
1319
|
-
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
1320
|
-
# title: expirable access description: Does not grant access after Sep 2020
|
1321
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
1322
|
-
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
1323
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
1324
|
-
# Corresponds to the JSON property `policy`
|
1325
|
-
# @return [Google::Apis::LookerV1::Policy]
|
1326
|
-
attr_accessor :policy
|
1327
|
-
|
1328
|
-
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
1329
|
-
# the fields in the mask will be modified. If no mask is provided, the following
|
1330
|
-
# default mask is used: `paths: "bindings, etag"`
|
1331
|
-
# Corresponds to the JSON property `updateMask`
|
1332
|
-
# @return [String]
|
1333
|
-
attr_accessor :update_mask
|
1334
|
-
|
1335
|
-
def initialize(**args)
|
1336
|
-
update!(**args)
|
1337
|
-
end
|
1338
|
-
|
1339
|
-
# Update properties of this object
|
1340
|
-
def update!(**args)
|
1341
|
-
@policy = args[:policy] if args.key?(:policy)
|
1342
|
-
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
1343
|
-
end
|
1344
|
-
end
|
1345
|
-
|
1346
986
|
# The `Status` type defines a logical error model that is suitable for different
|
1347
987
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1348
988
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -1382,46 +1022,6 @@ module Google
|
|
1382
1022
|
end
|
1383
1023
|
end
|
1384
1024
|
|
1385
|
-
# Request message for `TestIamPermissions` method.
|
1386
|
-
class TestIamPermissionsRequest
|
1387
|
-
include Google::Apis::Core::Hashable
|
1388
|
-
|
1389
|
-
# The set of permissions to check for the `resource`. Permissions with wildcards
|
1390
|
-
# (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
1391
|
-
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
1392
|
-
# Corresponds to the JSON property `permissions`
|
1393
|
-
# @return [Array<String>]
|
1394
|
-
attr_accessor :permissions
|
1395
|
-
|
1396
|
-
def initialize(**args)
|
1397
|
-
update!(**args)
|
1398
|
-
end
|
1399
|
-
|
1400
|
-
# Update properties of this object
|
1401
|
-
def update!(**args)
|
1402
|
-
@permissions = args[:permissions] if args.key?(:permissions)
|
1403
|
-
end
|
1404
|
-
end
|
1405
|
-
|
1406
|
-
# Response message for `TestIamPermissions` method.
|
1407
|
-
class TestIamPermissionsResponse
|
1408
|
-
include Google::Apis::Core::Hashable
|
1409
|
-
|
1410
|
-
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
|
1411
|
-
# Corresponds to the JSON property `permissions`
|
1412
|
-
# @return [Array<String>]
|
1413
|
-
attr_accessor :permissions
|
1414
|
-
|
1415
|
-
def initialize(**args)
|
1416
|
-
update!(**args)
|
1417
|
-
end
|
1418
|
-
|
1419
|
-
# Update properties of this object
|
1420
|
-
def update!(**args)
|
1421
|
-
@permissions = args[:permissions] if args.key?(:permissions)
|
1422
|
-
end
|
1423
|
-
end
|
1424
|
-
|
1425
1025
|
# Represents a time of day. The date and time zone are either not significant or
|
1426
1026
|
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
1427
1027
|
# types are google.type.Date and `google.protobuf.Timestamp`.
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module LookerV1
|
18
18
|
# Version of the google-apis-looker_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.14.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250305"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,24 +28,6 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
-
class AuditConfig
|
32
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
-
|
34
|
-
include Google::Apis::Core::JsonObjectSupport
|
35
|
-
end
|
36
|
-
|
37
|
-
class AuditLogConfig
|
38
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
-
|
40
|
-
include Google::Apis::Core::JsonObjectSupport
|
41
|
-
end
|
42
|
-
|
43
|
-
class Binding
|
44
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
-
|
46
|
-
include Google::Apis::Core::JsonObjectSupport
|
47
|
-
end
|
48
|
-
|
49
31
|
class CancelOperationRequest
|
50
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
33
|
|
@@ -106,12 +88,6 @@ module Google
|
|
106
88
|
include Google::Apis::Core::JsonObjectSupport
|
107
89
|
end
|
108
90
|
|
109
|
-
class Expr
|
110
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
-
|
112
|
-
include Google::Apis::Core::JsonObjectSupport
|
113
|
-
end
|
114
|
-
|
115
91
|
class ImportInstanceRequest
|
116
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
93
|
|
@@ -178,12 +154,6 @@ module Google
|
|
178
154
|
include Google::Apis::Core::JsonObjectSupport
|
179
155
|
end
|
180
156
|
|
181
|
-
class Policy
|
182
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
-
|
184
|
-
include Google::Apis::Core::JsonObjectSupport
|
185
|
-
end
|
186
|
-
|
187
157
|
class PscConfig
|
188
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
159
|
|
@@ -202,30 +172,12 @@ module Google
|
|
202
172
|
include Google::Apis::Core::JsonObjectSupport
|
203
173
|
end
|
204
174
|
|
205
|
-
class SetIamPolicyRequest
|
206
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
-
|
208
|
-
include Google::Apis::Core::JsonObjectSupport
|
209
|
-
end
|
210
|
-
|
211
175
|
class Status
|
212
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
177
|
|
214
178
|
include Google::Apis::Core::JsonObjectSupport
|
215
179
|
end
|
216
180
|
|
217
|
-
class TestIamPermissionsRequest
|
218
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
-
|
220
|
-
include Google::Apis::Core::JsonObjectSupport
|
221
|
-
end
|
222
|
-
|
223
|
-
class TestIamPermissionsResponse
|
224
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
-
|
226
|
-
include Google::Apis::Core::JsonObjectSupport
|
227
|
-
end
|
228
|
-
|
229
181
|
class TimeOfDay
|
230
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
183
|
|
@@ -245,33 +197,6 @@ module Google
|
|
245
197
|
end
|
246
198
|
end
|
247
199
|
|
248
|
-
class AuditConfig
|
249
|
-
# @private
|
250
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
251
|
-
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::LookerV1::AuditLogConfig, decorator: Google::Apis::LookerV1::AuditLogConfig::Representation
|
252
|
-
|
253
|
-
property :service, as: 'service'
|
254
|
-
end
|
255
|
-
end
|
256
|
-
|
257
|
-
class AuditLogConfig
|
258
|
-
# @private
|
259
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
260
|
-
collection :exempted_members, as: 'exemptedMembers'
|
261
|
-
property :log_type, as: 'logType'
|
262
|
-
end
|
263
|
-
end
|
264
|
-
|
265
|
-
class Binding
|
266
|
-
# @private
|
267
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
268
|
-
property :condition, as: 'condition', class: Google::Apis::LookerV1::Expr, decorator: Google::Apis::LookerV1::Expr::Representation
|
269
|
-
|
270
|
-
collection :members, as: 'members'
|
271
|
-
property :role, as: 'role'
|
272
|
-
end
|
273
|
-
end
|
274
|
-
|
275
200
|
class CancelOperationRequest
|
276
201
|
# @private
|
277
202
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -360,16 +285,6 @@ module Google
|
|
360
285
|
end
|
361
286
|
end
|
362
287
|
|
363
|
-
class Expr
|
364
|
-
# @private
|
365
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
366
|
-
property :description, as: 'description'
|
367
|
-
property :expression, as: 'expression'
|
368
|
-
property :location, as: 'location'
|
369
|
-
property :title, as: 'title'
|
370
|
-
end
|
371
|
-
end
|
372
|
-
|
373
288
|
class ImportInstanceRequest
|
374
289
|
# @private
|
375
290
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -414,6 +329,8 @@ module Google
|
|
414
329
|
property :psc_enabled, as: 'pscEnabled'
|
415
330
|
property :public_ip_enabled, as: 'publicIpEnabled'
|
416
331
|
property :reserved_range, as: 'reservedRange'
|
332
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
333
|
+
property :satisfies_pzs, as: 'satisfiesPzs'
|
417
334
|
property :state, as: 'state'
|
418
335
|
property :update_time, as: 'updateTime'
|
419
336
|
property :user_metadata, as: 'userMetadata', class: Google::Apis::LookerV1::UserMetadata, decorator: Google::Apis::LookerV1::UserMetadata::Representation
|
@@ -510,18 +427,6 @@ module Google
|
|
510
427
|
end
|
511
428
|
end
|
512
429
|
|
513
|
-
class Policy
|
514
|
-
# @private
|
515
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
516
|
-
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::LookerV1::AuditConfig, decorator: Google::Apis::LookerV1::AuditConfig::Representation
|
517
|
-
|
518
|
-
collection :bindings, as: 'bindings', class: Google::Apis::LookerV1::Binding, decorator: Google::Apis::LookerV1::Binding::Representation
|
519
|
-
|
520
|
-
property :etag, :base64 => true, as: 'etag'
|
521
|
-
property :version, as: 'version'
|
522
|
-
end
|
523
|
-
end
|
524
|
-
|
525
430
|
class PscConfig
|
526
431
|
# @private
|
527
432
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -547,15 +452,6 @@ module Google
|
|
547
452
|
end
|
548
453
|
end
|
549
454
|
|
550
|
-
class SetIamPolicyRequest
|
551
|
-
# @private
|
552
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
553
|
-
property :policy, as: 'policy', class: Google::Apis::LookerV1::Policy, decorator: Google::Apis::LookerV1::Policy::Representation
|
554
|
-
|
555
|
-
property :update_mask, as: 'updateMask'
|
556
|
-
end
|
557
|
-
end
|
558
|
-
|
559
455
|
class Status
|
560
456
|
# @private
|
561
457
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -565,20 +461,6 @@ module Google
|
|
565
461
|
end
|
566
462
|
end
|
567
463
|
|
568
|
-
class TestIamPermissionsRequest
|
569
|
-
# @private
|
570
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
571
|
-
collection :permissions, as: 'permissions'
|
572
|
-
end
|
573
|
-
end
|
574
|
-
|
575
|
-
class TestIamPermissionsResponse
|
576
|
-
# @private
|
577
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
578
|
-
collection :permissions, as: 'permissions'
|
579
|
-
end
|
580
|
-
end
|
581
|
-
|
582
464
|
class TimeOfDay
|
583
465
|
# @private
|
584
466
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -261,51 +261,6 @@ module Google
|
|
261
261
|
execute_or_queue_command(command, &block)
|
262
262
|
end
|
263
263
|
|
264
|
-
# Gets the access control policy for a resource. Returns an empty policy if the
|
265
|
-
# resource exists and does not have a policy set.
|
266
|
-
# @param [String] resource
|
267
|
-
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
268
|
-
# names](https://cloud.google.com/apis/design/resource_names) for the
|
269
|
-
# appropriate value for this field.
|
270
|
-
# @param [Fixnum] options_requested_policy_version
|
271
|
-
# Optional. The maximum policy version that will be used to format the policy.
|
272
|
-
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
273
|
-
# rejected. Requests for policies with any conditional role bindings must
|
274
|
-
# specify version 3. Policies with no conditional role bindings may specify any
|
275
|
-
# valid value or leave the field unset. The policy in the response might use the
|
276
|
-
# policy version that you specified, or it might use a lower policy version. For
|
277
|
-
# example, if you specify version 3, but the policy has no conditional role
|
278
|
-
# bindings, the response uses version 1. To learn which resources support
|
279
|
-
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
280
|
-
# google.com/iam/help/conditions/resource-policies).
|
281
|
-
# @param [String] fields
|
282
|
-
# Selector specifying which fields to include in a partial response.
|
283
|
-
# @param [String] quota_user
|
284
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
285
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
286
|
-
# @param [Google::Apis::RequestOptions] options
|
287
|
-
# Request-specific options
|
288
|
-
#
|
289
|
-
# @yield [result, err] Result & error if block supplied
|
290
|
-
# @yieldparam result [Google::Apis::LookerV1::Policy] parsed result object
|
291
|
-
# @yieldparam err [StandardError] error object if request failed
|
292
|
-
#
|
293
|
-
# @return [Google::Apis::LookerV1::Policy]
|
294
|
-
#
|
295
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
296
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
297
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
298
|
-
def get_project_location_instance_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
299
|
-
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
300
|
-
command.response_representation = Google::Apis::LookerV1::Policy::Representation
|
301
|
-
command.response_class = Google::Apis::LookerV1::Policy
|
302
|
-
command.params['resource'] = resource unless resource.nil?
|
303
|
-
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
304
|
-
command.query['fields'] = fields unless fields.nil?
|
305
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
306
|
-
execute_or_queue_command(command, &block)
|
307
|
-
end
|
308
|
-
|
309
264
|
# Import instance.
|
310
265
|
# @param [String] name
|
311
266
|
# Required. Format: `projects/`project`/locations/`location`/instances/`instance`
|
@@ -451,203 +406,6 @@ module Google
|
|
451
406
|
execute_or_queue_command(command, &block)
|
452
407
|
end
|
453
408
|
|
454
|
-
# Sets the access control policy on the specified resource. Replaces any
|
455
|
-
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
456
|
-
# PERMISSION_DENIED` errors.
|
457
|
-
# @param [String] resource
|
458
|
-
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
459
|
-
# names](https://cloud.google.com/apis/design/resource_names) for the
|
460
|
-
# appropriate value for this field.
|
461
|
-
# @param [Google::Apis::LookerV1::SetIamPolicyRequest] set_iam_policy_request_object
|
462
|
-
# @param [String] fields
|
463
|
-
# Selector specifying which fields to include in a partial response.
|
464
|
-
# @param [String] quota_user
|
465
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
466
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
467
|
-
# @param [Google::Apis::RequestOptions] options
|
468
|
-
# Request-specific options
|
469
|
-
#
|
470
|
-
# @yield [result, err] Result & error if block supplied
|
471
|
-
# @yieldparam result [Google::Apis::LookerV1::Policy] parsed result object
|
472
|
-
# @yieldparam err [StandardError] error object if request failed
|
473
|
-
#
|
474
|
-
# @return [Google::Apis::LookerV1::Policy]
|
475
|
-
#
|
476
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
477
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
478
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
479
|
-
def set_instance_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
480
|
-
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
481
|
-
command.request_representation = Google::Apis::LookerV1::SetIamPolicyRequest::Representation
|
482
|
-
command.request_object = set_iam_policy_request_object
|
483
|
-
command.response_representation = Google::Apis::LookerV1::Policy::Representation
|
484
|
-
command.response_class = Google::Apis::LookerV1::Policy
|
485
|
-
command.params['resource'] = resource unless resource.nil?
|
486
|
-
command.query['fields'] = fields unless fields.nil?
|
487
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
488
|
-
execute_or_queue_command(command, &block)
|
489
|
-
end
|
490
|
-
|
491
|
-
# Returns permissions that a caller has on the specified resource. If the
|
492
|
-
# resource does not exist, this will return an empty set of permissions, not a `
|
493
|
-
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
494
|
-
# permission-aware UIs and command-line tools, not for authorization checking.
|
495
|
-
# This operation may "fail open" without warning.
|
496
|
-
# @param [String] resource
|
497
|
-
# REQUIRED: The resource for which the policy detail is being requested. See [
|
498
|
-
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
499
|
-
# appropriate value for this field.
|
500
|
-
# @param [Google::Apis::LookerV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
501
|
-
# @param [String] fields
|
502
|
-
# Selector specifying which fields to include in a partial response.
|
503
|
-
# @param [String] quota_user
|
504
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
505
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
506
|
-
# @param [Google::Apis::RequestOptions] options
|
507
|
-
# Request-specific options
|
508
|
-
#
|
509
|
-
# @yield [result, err] Result & error if block supplied
|
510
|
-
# @yieldparam result [Google::Apis::LookerV1::TestIamPermissionsResponse] parsed result object
|
511
|
-
# @yieldparam err [StandardError] error object if request failed
|
512
|
-
#
|
513
|
-
# @return [Google::Apis::LookerV1::TestIamPermissionsResponse]
|
514
|
-
#
|
515
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
516
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
517
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
518
|
-
def test_instance_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
519
|
-
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
520
|
-
command.request_representation = Google::Apis::LookerV1::TestIamPermissionsRequest::Representation
|
521
|
-
command.request_object = test_iam_permissions_request_object
|
522
|
-
command.response_representation = Google::Apis::LookerV1::TestIamPermissionsResponse::Representation
|
523
|
-
command.response_class = Google::Apis::LookerV1::TestIamPermissionsResponse
|
524
|
-
command.params['resource'] = resource unless resource.nil?
|
525
|
-
command.query['fields'] = fields unless fields.nil?
|
526
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
527
|
-
execute_or_queue_command(command, &block)
|
528
|
-
end
|
529
|
-
|
530
|
-
# Gets the access control policy for a resource. Returns an empty policy if the
|
531
|
-
# resource exists and does not have a policy set.
|
532
|
-
# @param [String] resource
|
533
|
-
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
534
|
-
# names](https://cloud.google.com/apis/design/resource_names) for the
|
535
|
-
# appropriate value for this field.
|
536
|
-
# @param [Fixnum] options_requested_policy_version
|
537
|
-
# Optional. The maximum policy version that will be used to format the policy.
|
538
|
-
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
539
|
-
# rejected. Requests for policies with any conditional role bindings must
|
540
|
-
# specify version 3. Policies with no conditional role bindings may specify any
|
541
|
-
# valid value or leave the field unset. The policy in the response might use the
|
542
|
-
# policy version that you specified, or it might use a lower policy version. For
|
543
|
-
# example, if you specify version 3, but the policy has no conditional role
|
544
|
-
# bindings, the response uses version 1. To learn which resources support
|
545
|
-
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
546
|
-
# google.com/iam/help/conditions/resource-policies).
|
547
|
-
# @param [String] fields
|
548
|
-
# Selector specifying which fields to include in a partial response.
|
549
|
-
# @param [String] quota_user
|
550
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
551
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
552
|
-
# @param [Google::Apis::RequestOptions] options
|
553
|
-
# Request-specific options
|
554
|
-
#
|
555
|
-
# @yield [result, err] Result & error if block supplied
|
556
|
-
# @yieldparam result [Google::Apis::LookerV1::Policy] parsed result object
|
557
|
-
# @yieldparam err [StandardError] error object if request failed
|
558
|
-
#
|
559
|
-
# @return [Google::Apis::LookerV1::Policy]
|
560
|
-
#
|
561
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
562
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
563
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
564
|
-
def get_project_location_instance_backup_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
565
|
-
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
566
|
-
command.response_representation = Google::Apis::LookerV1::Policy::Representation
|
567
|
-
command.response_class = Google::Apis::LookerV1::Policy
|
568
|
-
command.params['resource'] = resource unless resource.nil?
|
569
|
-
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
570
|
-
command.query['fields'] = fields unless fields.nil?
|
571
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
572
|
-
execute_or_queue_command(command, &block)
|
573
|
-
end
|
574
|
-
|
575
|
-
# Sets the access control policy on the specified resource. Replaces any
|
576
|
-
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
577
|
-
# PERMISSION_DENIED` errors.
|
578
|
-
# @param [String] resource
|
579
|
-
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
580
|
-
# names](https://cloud.google.com/apis/design/resource_names) for the
|
581
|
-
# appropriate value for this field.
|
582
|
-
# @param [Google::Apis::LookerV1::SetIamPolicyRequest] set_iam_policy_request_object
|
583
|
-
# @param [String] fields
|
584
|
-
# Selector specifying which fields to include in a partial response.
|
585
|
-
# @param [String] quota_user
|
586
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
587
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
588
|
-
# @param [Google::Apis::RequestOptions] options
|
589
|
-
# Request-specific options
|
590
|
-
#
|
591
|
-
# @yield [result, err] Result & error if block supplied
|
592
|
-
# @yieldparam result [Google::Apis::LookerV1::Policy] parsed result object
|
593
|
-
# @yieldparam err [StandardError] error object if request failed
|
594
|
-
#
|
595
|
-
# @return [Google::Apis::LookerV1::Policy]
|
596
|
-
#
|
597
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
598
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
599
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
600
|
-
def set_backup_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
601
|
-
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
602
|
-
command.request_representation = Google::Apis::LookerV1::SetIamPolicyRequest::Representation
|
603
|
-
command.request_object = set_iam_policy_request_object
|
604
|
-
command.response_representation = Google::Apis::LookerV1::Policy::Representation
|
605
|
-
command.response_class = Google::Apis::LookerV1::Policy
|
606
|
-
command.params['resource'] = resource unless resource.nil?
|
607
|
-
command.query['fields'] = fields unless fields.nil?
|
608
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
609
|
-
execute_or_queue_command(command, &block)
|
610
|
-
end
|
611
|
-
|
612
|
-
# Returns permissions that a caller has on the specified resource. If the
|
613
|
-
# resource does not exist, this will return an empty set of permissions, not a `
|
614
|
-
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
615
|
-
# permission-aware UIs and command-line tools, not for authorization checking.
|
616
|
-
# This operation may "fail open" without warning.
|
617
|
-
# @param [String] resource
|
618
|
-
# REQUIRED: The resource for which the policy detail is being requested. See [
|
619
|
-
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
620
|
-
# appropriate value for this field.
|
621
|
-
# @param [Google::Apis::LookerV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
622
|
-
# @param [String] fields
|
623
|
-
# Selector specifying which fields to include in a partial response.
|
624
|
-
# @param [String] quota_user
|
625
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
626
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
627
|
-
# @param [Google::Apis::RequestOptions] options
|
628
|
-
# Request-specific options
|
629
|
-
#
|
630
|
-
# @yield [result, err] Result & error if block supplied
|
631
|
-
# @yieldparam result [Google::Apis::LookerV1::TestIamPermissionsResponse] parsed result object
|
632
|
-
# @yieldparam err [StandardError] error object if request failed
|
633
|
-
#
|
634
|
-
# @return [Google::Apis::LookerV1::TestIamPermissionsResponse]
|
635
|
-
#
|
636
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
637
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
638
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
639
|
-
def test_backup_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
640
|
-
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
641
|
-
command.request_representation = Google::Apis::LookerV1::TestIamPermissionsRequest::Representation
|
642
|
-
command.request_object = test_iam_permissions_request_object
|
643
|
-
command.response_representation = Google::Apis::LookerV1::TestIamPermissionsResponse::Representation
|
644
|
-
command.response_class = Google::Apis::LookerV1::TestIamPermissionsResponse
|
645
|
-
command.params['resource'] = resource unless resource.nil?
|
646
|
-
command.query['fields'] = fields unless fields.nil?
|
647
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
648
|
-
execute_or_queue_command(command, &block)
|
649
|
-
end
|
650
|
-
|
651
409
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
652
410
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
653
411
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-looker_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-03-23 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-looker_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-looker_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-looker_v1/v0.14.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-looker_v1
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Looker (Google Cloud core) API V1
|
82
79
|
test_files: []
|