google-apis-looker_v1 0.12.0 → 0.13.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 +5 -0
- data/lib/google/apis/looker_v1/classes.rb +112 -414
- data/lib/google/apis/looker_v1/gem_version.rb +3 -3
- data/lib/google/apis/looker_v1/representations.rb +41 -112
- data/lib/google/apis/looker_v1/service.rb +69 -142
- 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: a70b109902f2d72b775dd004591313b8db19902aed024c52242aaae4594c0098
|
4
|
+
data.tar.gz: e441cb99787b73e7ab56564a364d5a8f5bbbf57b98204bcf69ad9bc53916ab2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7156f328ff3c87edc293e02d50825b88db4b86caf610fe4f5e8dc41fb279641b63987c5a83d1c44db607bc09000722d98a5bb25bc85bcfa1f7ea834d5f501d45
|
7
|
+
data.tar.gz: d2143e9a6353d66304c3e31bfe729a1edbff823bf73af56a40da9006915710d7ab6844ce883021fb5915ddc83896b7f43655c40748457246092154457e81e1fc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-looker_v1
|
2
2
|
|
3
|
+
### v0.13.0 (2025-02-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250205
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
3
8
|
### v0.12.0 (2024-12-15)
|
4
9
|
|
5
10
|
* 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,12 +568,92 @@ 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)
|
788
576
|
end
|
789
577
|
end
|
790
578
|
|
579
|
+
# The details of a backup resource.
|
580
|
+
class InstanceBackup
|
581
|
+
include Google::Apis::Core::Hashable
|
582
|
+
|
583
|
+
# Output only. The time when the backup was started.
|
584
|
+
# Corresponds to the JSON property `createTime`
|
585
|
+
# @return [String]
|
586
|
+
attr_accessor :create_time
|
587
|
+
|
588
|
+
# Encryption configuration (i.e. CMEK).
|
589
|
+
# Corresponds to the JSON property `encryptionConfig`
|
590
|
+
# @return [Google::Apis::LookerV1::EncryptionConfig]
|
591
|
+
attr_accessor :encryption_config
|
592
|
+
|
593
|
+
# Output only. The time when the backup will be deleted.
|
594
|
+
# Corresponds to the JSON property `expireTime`
|
595
|
+
# @return [String]
|
596
|
+
attr_accessor :expire_time
|
597
|
+
|
598
|
+
# Immutable. The relative resource name of the backup, in the following form: `
|
599
|
+
# projects/`project_number`/locations/`location_id`/instances/`instance_id`/
|
600
|
+
# backups/`backup``
|
601
|
+
# Corresponds to the JSON property `name`
|
602
|
+
# @return [String]
|
603
|
+
attr_accessor :name
|
604
|
+
|
605
|
+
# Output only. The current state of the backup.
|
606
|
+
# Corresponds to the JSON property `state`
|
607
|
+
# @return [String]
|
608
|
+
attr_accessor :state
|
609
|
+
|
610
|
+
def initialize(**args)
|
611
|
+
update!(**args)
|
612
|
+
end
|
613
|
+
|
614
|
+
# Update properties of this object
|
615
|
+
def update!(**args)
|
616
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
617
|
+
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
|
618
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
619
|
+
@name = args[:name] if args.key?(:name)
|
620
|
+
@state = args[:state] if args.key?(:state)
|
621
|
+
end
|
622
|
+
end
|
623
|
+
|
624
|
+
# Response from listing Looker instance backups.
|
625
|
+
class ListInstanceBackupsResponse
|
626
|
+
include Google::Apis::Core::Hashable
|
627
|
+
|
628
|
+
# The list of instances matching the request filters, up to the requested `
|
629
|
+
# page_size`.
|
630
|
+
# Corresponds to the JSON property `instanceBackups`
|
631
|
+
# @return [Array<Google::Apis::LookerV1::InstanceBackup>]
|
632
|
+
attr_accessor :instance_backups
|
633
|
+
|
634
|
+
# If provided, a page token that can look up the next `page_size` results. If
|
635
|
+
# empty, the results list is exhausted.
|
636
|
+
# Corresponds to the JSON property `nextPageToken`
|
637
|
+
# @return [String]
|
638
|
+
attr_accessor :next_page_token
|
639
|
+
|
640
|
+
# Locations that could not be reached.
|
641
|
+
# Corresponds to the JSON property `unreachable`
|
642
|
+
# @return [Array<String>]
|
643
|
+
attr_accessor :unreachable
|
644
|
+
|
645
|
+
def initialize(**args)
|
646
|
+
update!(**args)
|
647
|
+
end
|
648
|
+
|
649
|
+
# Update properties of this object
|
650
|
+
def update!(**args)
|
651
|
+
@instance_backups = args[:instance_backups] if args.key?(:instance_backups)
|
652
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
653
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
654
|
+
end
|
655
|
+
end
|
656
|
+
|
791
657
|
# Response from ListInstances.
|
792
658
|
class ListInstancesResponse
|
793
659
|
include Google::Apis::Core::Hashable
|
@@ -1117,101 +983,6 @@ module Google
|
|
1117
983
|
end
|
1118
984
|
end
|
1119
985
|
|
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
986
|
# Information for Private Service Connect (PSC) setup for a Looker instance.
|
1216
987
|
class PscConfig
|
1217
988
|
include Google::Apis::Core::Hashable
|
@@ -1257,6 +1028,26 @@ module Google
|
|
1257
1028
|
end
|
1258
1029
|
end
|
1259
1030
|
|
1031
|
+
# Request options for restoring an instance
|
1032
|
+
class RestoreInstanceRequest
|
1033
|
+
include Google::Apis::Core::Hashable
|
1034
|
+
|
1035
|
+
# Required. Backup being used to restore the instance Format: projects/`project`/
|
1036
|
+
# locations/`location`/instances/`instance`/backups/`backup`
|
1037
|
+
# Corresponds to the JSON property `backup`
|
1038
|
+
# @return [String]
|
1039
|
+
attr_accessor :backup
|
1040
|
+
|
1041
|
+
def initialize(**args)
|
1042
|
+
update!(**args)
|
1043
|
+
end
|
1044
|
+
|
1045
|
+
# Update properties of this object
|
1046
|
+
def update!(**args)
|
1047
|
+
@backup = args[:backup] if args.key?(:backup)
|
1048
|
+
end
|
1049
|
+
end
|
1050
|
+
|
1260
1051
|
# Service attachment configuration.
|
1261
1052
|
class ServiceAttachment
|
1262
1053
|
include Google::Apis::Core::Hashable
|
@@ -1290,59 +1081,6 @@ module Google
|
|
1290
1081
|
end
|
1291
1082
|
end
|
1292
1083
|
|
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
1084
|
# The `Status` type defines a logical error model that is suitable for different
|
1347
1085
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1348
1086
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -1382,46 +1120,6 @@ module Google
|
|
1382
1120
|
end
|
1383
1121
|
end
|
1384
1122
|
|
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
1123
|
# Represents a time of day. The date and time zone are either not significant or
|
1426
1124
|
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
1427
1125
|
# 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.13.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 = "20250205"
|
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,19 +88,25 @@ module Google
|
|
106
88
|
include Google::Apis::Core::JsonObjectSupport
|
107
89
|
end
|
108
90
|
|
109
|
-
class
|
91
|
+
class ImportInstanceRequest
|
110
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
93
|
|
112
94
|
include Google::Apis::Core::JsonObjectSupport
|
113
95
|
end
|
114
96
|
|
115
|
-
class
|
97
|
+
class Instance
|
116
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
99
|
|
118
100
|
include Google::Apis::Core::JsonObjectSupport
|
119
101
|
end
|
120
102
|
|
121
|
-
class
|
103
|
+
class InstanceBackup
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class ListInstanceBackupsResponse
|
122
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
111
|
|
124
112
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -178,12 +166,6 @@ module Google
|
|
178
166
|
include Google::Apis::Core::JsonObjectSupport
|
179
167
|
end
|
180
168
|
|
181
|
-
class Policy
|
182
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
-
|
184
|
-
include Google::Apis::Core::JsonObjectSupport
|
185
|
-
end
|
186
|
-
|
187
169
|
class PscConfig
|
188
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
171
|
|
@@ -196,13 +178,13 @@ module Google
|
|
196
178
|
include Google::Apis::Core::JsonObjectSupport
|
197
179
|
end
|
198
180
|
|
199
|
-
class
|
181
|
+
class RestoreInstanceRequest
|
200
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
183
|
|
202
184
|
include Google::Apis::Core::JsonObjectSupport
|
203
185
|
end
|
204
186
|
|
205
|
-
class
|
187
|
+
class ServiceAttachment
|
206
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
189
|
|
208
190
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -214,18 +196,6 @@ module Google
|
|
214
196
|
include Google::Apis::Core::JsonObjectSupport
|
215
197
|
end
|
216
198
|
|
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
199
|
class TimeOfDay
|
230
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
201
|
|
@@ -245,33 +215,6 @@ module Google
|
|
245
215
|
end
|
246
216
|
end
|
247
217
|
|
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
218
|
class CancelOperationRequest
|
276
219
|
# @private
|
277
220
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -360,16 +303,6 @@ module Google
|
|
360
303
|
end
|
361
304
|
end
|
362
305
|
|
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
306
|
class ImportInstanceRequest
|
374
307
|
# @private
|
375
308
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -414,6 +347,8 @@ module Google
|
|
414
347
|
property :psc_enabled, as: 'pscEnabled'
|
415
348
|
property :public_ip_enabled, as: 'publicIpEnabled'
|
416
349
|
property :reserved_range, as: 'reservedRange'
|
350
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
351
|
+
property :satisfies_pzs, as: 'satisfiesPzs'
|
417
352
|
property :state, as: 'state'
|
418
353
|
property :update_time, as: 'updateTime'
|
419
354
|
property :user_metadata, as: 'userMetadata', class: Google::Apis::LookerV1::UserMetadata, decorator: Google::Apis::LookerV1::UserMetadata::Representation
|
@@ -421,6 +356,28 @@ module Google
|
|
421
356
|
end
|
422
357
|
end
|
423
358
|
|
359
|
+
class InstanceBackup
|
360
|
+
# @private
|
361
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
362
|
+
property :create_time, as: 'createTime'
|
363
|
+
property :encryption_config, as: 'encryptionConfig', class: Google::Apis::LookerV1::EncryptionConfig, decorator: Google::Apis::LookerV1::EncryptionConfig::Representation
|
364
|
+
|
365
|
+
property :expire_time, as: 'expireTime'
|
366
|
+
property :name, as: 'name'
|
367
|
+
property :state, as: 'state'
|
368
|
+
end
|
369
|
+
end
|
370
|
+
|
371
|
+
class ListInstanceBackupsResponse
|
372
|
+
# @private
|
373
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
374
|
+
collection :instance_backups, as: 'instanceBackups', class: Google::Apis::LookerV1::InstanceBackup, decorator: Google::Apis::LookerV1::InstanceBackup::Representation
|
375
|
+
|
376
|
+
property :next_page_token, as: 'nextPageToken'
|
377
|
+
collection :unreachable, as: 'unreachable'
|
378
|
+
end
|
379
|
+
end
|
380
|
+
|
424
381
|
class ListInstancesResponse
|
425
382
|
# @private
|
426
383
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -510,18 +467,6 @@ module Google
|
|
510
467
|
end
|
511
468
|
end
|
512
469
|
|
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
470
|
class PscConfig
|
526
471
|
# @private
|
527
472
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -538,21 +483,19 @@ module Google
|
|
538
483
|
end
|
539
484
|
end
|
540
485
|
|
541
|
-
class
|
486
|
+
class RestoreInstanceRequest
|
542
487
|
# @private
|
543
488
|
class Representation < Google::Apis::Core::JsonRepresentation
|
544
|
-
property :
|
545
|
-
property :local_fqdn, as: 'localFqdn'
|
546
|
-
property :target_service_attachment_uri, as: 'targetServiceAttachmentUri'
|
489
|
+
property :backup, as: 'backup'
|
547
490
|
end
|
548
491
|
end
|
549
492
|
|
550
|
-
class
|
493
|
+
class ServiceAttachment
|
551
494
|
# @private
|
552
495
|
class Representation < Google::Apis::Core::JsonRepresentation
|
553
|
-
property :
|
554
|
-
|
555
|
-
property :
|
496
|
+
property :connection_status, as: 'connectionStatus'
|
497
|
+
property :local_fqdn, as: 'localFqdn'
|
498
|
+
property :target_service_attachment_uri, as: 'targetServiceAttachmentUri'
|
556
499
|
end
|
557
500
|
end
|
558
501
|
|
@@ -565,20 +508,6 @@ module Google
|
|
565
508
|
end
|
566
509
|
end
|
567
510
|
|
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
511
|
class TimeOfDay
|
583
512
|
# @private
|
584
513
|
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,14 +406,11 @@ module Google
|
|
451
406
|
execute_or_queue_command(command, &block)
|
452
407
|
end
|
453
408
|
|
454
|
-
#
|
455
|
-
#
|
456
|
-
#
|
457
|
-
#
|
458
|
-
#
|
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
|
409
|
+
# Restore Looker instance.
|
410
|
+
# @param [String] name
|
411
|
+
# Required. Instance being restored Format: projects/`project`/locations/`
|
412
|
+
# location`/instances/`instance`
|
413
|
+
# @param [Google::Apis::LookerV1::RestoreInstanceRequest] restore_instance_request_object
|
462
414
|
# @param [String] fields
|
463
415
|
# Selector specifying which fields to include in a partial response.
|
464
416
|
# @param [String] quota_user
|
@@ -468,36 +420,30 @@ module Google
|
|
468
420
|
# Request-specific options
|
469
421
|
#
|
470
422
|
# @yield [result, err] Result & error if block supplied
|
471
|
-
# @yieldparam result [Google::Apis::LookerV1::
|
423
|
+
# @yieldparam result [Google::Apis::LookerV1::Operation] parsed result object
|
472
424
|
# @yieldparam err [StandardError] error object if request failed
|
473
425
|
#
|
474
|
-
# @return [Google::Apis::LookerV1::
|
426
|
+
# @return [Google::Apis::LookerV1::Operation]
|
475
427
|
#
|
476
428
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
477
429
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
478
430
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
479
|
-
def
|
480
|
-
command = make_simple_command(:post, 'v1/{+
|
481
|
-
command.request_representation = Google::Apis::LookerV1::
|
482
|
-
command.request_object =
|
483
|
-
command.response_representation = Google::Apis::LookerV1::
|
484
|
-
command.response_class = Google::Apis::LookerV1::
|
485
|
-
command.params['
|
431
|
+
def restore_instance(name, restore_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
432
|
+
command = make_simple_command(:post, 'v1/{+name}:restore', options)
|
433
|
+
command.request_representation = Google::Apis::LookerV1::RestoreInstanceRequest::Representation
|
434
|
+
command.request_object = restore_instance_request_object
|
435
|
+
command.response_representation = Google::Apis::LookerV1::Operation::Representation
|
436
|
+
command.response_class = Google::Apis::LookerV1::Operation
|
437
|
+
command.params['name'] = name unless name.nil?
|
486
438
|
command.query['fields'] = fields unless fields.nil?
|
487
439
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
488
440
|
execute_or_queue_command(command, &block)
|
489
441
|
end
|
490
442
|
|
491
|
-
#
|
492
|
-
#
|
493
|
-
#
|
494
|
-
#
|
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
|
443
|
+
# Backup Looker instance.
|
444
|
+
# @param [String] parent
|
445
|
+
# Required. Format: projects/`project`/locations/`location`/instances/`instance`
|
446
|
+
# @param [Google::Apis::LookerV1::InstanceBackup] instance_backup_object
|
501
447
|
# @param [String] fields
|
502
448
|
# Selector specifying which fields to include in a partial response.
|
503
449
|
# @param [String] quota_user
|
@@ -507,43 +453,30 @@ module Google
|
|
507
453
|
# Request-specific options
|
508
454
|
#
|
509
455
|
# @yield [result, err] Result & error if block supplied
|
510
|
-
# @yieldparam result [Google::Apis::LookerV1::
|
456
|
+
# @yieldparam result [Google::Apis::LookerV1::Operation] parsed result object
|
511
457
|
# @yieldparam err [StandardError] error object if request failed
|
512
458
|
#
|
513
|
-
# @return [Google::Apis::LookerV1::
|
459
|
+
# @return [Google::Apis::LookerV1::Operation]
|
514
460
|
#
|
515
461
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
516
462
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
517
463
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
518
|
-
def
|
519
|
-
command = make_simple_command(:post, 'v1/{+
|
520
|
-
command.request_representation = Google::Apis::LookerV1::
|
521
|
-
command.request_object =
|
522
|
-
command.response_representation = Google::Apis::LookerV1::
|
523
|
-
command.response_class = Google::Apis::LookerV1::
|
524
|
-
command.params['
|
464
|
+
def create_project_location_instance_backup(parent, instance_backup_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
465
|
+
command = make_simple_command(:post, 'v1/{+parent}/backups', options)
|
466
|
+
command.request_representation = Google::Apis::LookerV1::InstanceBackup::Representation
|
467
|
+
command.request_object = instance_backup_object
|
468
|
+
command.response_representation = Google::Apis::LookerV1::Operation::Representation
|
469
|
+
command.response_class = Google::Apis::LookerV1::Operation
|
470
|
+
command.params['parent'] = parent unless parent.nil?
|
525
471
|
command.query['fields'] = fields unless fields.nil?
|
526
472
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
527
473
|
execute_or_queue_command(command, &block)
|
528
474
|
end
|
529
475
|
|
530
|
-
#
|
531
|
-
#
|
532
|
-
#
|
533
|
-
#
|
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).
|
476
|
+
# Delete backup.
|
477
|
+
# @param [String] name
|
478
|
+
# Required. Format: projects/`project`/locations/`location`/instances/`instance`/
|
479
|
+
# backups/`backup`
|
547
480
|
# @param [String] fields
|
548
481
|
# Selector specifying which fields to include in a partial response.
|
549
482
|
# @param [String] quota_user
|
@@ -553,33 +486,28 @@ module Google
|
|
553
486
|
# Request-specific options
|
554
487
|
#
|
555
488
|
# @yield [result, err] Result & error if block supplied
|
556
|
-
# @yieldparam result [Google::Apis::LookerV1::
|
489
|
+
# @yieldparam result [Google::Apis::LookerV1::Operation] parsed result object
|
557
490
|
# @yieldparam err [StandardError] error object if request failed
|
558
491
|
#
|
559
|
-
# @return [Google::Apis::LookerV1::
|
492
|
+
# @return [Google::Apis::LookerV1::Operation]
|
560
493
|
#
|
561
494
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
562
495
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
563
496
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
564
|
-
def
|
565
|
-
command = make_simple_command(:
|
566
|
-
command.response_representation = Google::Apis::LookerV1::
|
567
|
-
command.response_class = Google::Apis::LookerV1::
|
568
|
-
command.params['
|
569
|
-
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
497
|
+
def delete_project_location_instance_backup(name, fields: nil, quota_user: nil, options: nil, &block)
|
498
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
499
|
+
command.response_representation = Google::Apis::LookerV1::Operation::Representation
|
500
|
+
command.response_class = Google::Apis::LookerV1::Operation
|
501
|
+
command.params['name'] = name unless name.nil?
|
570
502
|
command.query['fields'] = fields unless fields.nil?
|
571
503
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
572
504
|
execute_or_queue_command(command, &block)
|
573
505
|
end
|
574
506
|
|
575
|
-
#
|
576
|
-
#
|
577
|
-
#
|
578
|
-
#
|
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
|
507
|
+
#
|
508
|
+
# @param [String] name
|
509
|
+
# Required. Format: `projects/`project`/locations/`location`/instances/`instance`
|
510
|
+
# /backups/`backup``.
|
583
511
|
# @param [String] fields
|
584
512
|
# Selector specifying which fields to include in a partial response.
|
585
513
|
# @param [String] quota_user
|
@@ -589,36 +517,34 @@ module Google
|
|
589
517
|
# Request-specific options
|
590
518
|
#
|
591
519
|
# @yield [result, err] Result & error if block supplied
|
592
|
-
# @yieldparam result [Google::Apis::LookerV1::
|
520
|
+
# @yieldparam result [Google::Apis::LookerV1::InstanceBackup] parsed result object
|
593
521
|
# @yieldparam err [StandardError] error object if request failed
|
594
522
|
#
|
595
|
-
# @return [Google::Apis::LookerV1::
|
523
|
+
# @return [Google::Apis::LookerV1::InstanceBackup]
|
596
524
|
#
|
597
525
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
598
526
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
599
527
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
600
|
-
def
|
601
|
-
command = make_simple_command(:
|
602
|
-
command.
|
603
|
-
command.
|
604
|
-
command.
|
605
|
-
command.response_class = Google::Apis::LookerV1::Policy
|
606
|
-
command.params['resource'] = resource unless resource.nil?
|
528
|
+
def get_project_location_instance_backup(name, fields: nil, quota_user: nil, options: nil, &block)
|
529
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
530
|
+
command.response_representation = Google::Apis::LookerV1::InstanceBackup::Representation
|
531
|
+
command.response_class = Google::Apis::LookerV1::InstanceBackup
|
532
|
+
command.params['name'] = name unless name.nil?
|
607
533
|
command.query['fields'] = fields unless fields.nil?
|
608
534
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
609
535
|
execute_or_queue_command(command, &block)
|
610
536
|
end
|
611
537
|
|
612
|
-
#
|
613
|
-
#
|
614
|
-
#
|
615
|
-
#
|
616
|
-
#
|
617
|
-
#
|
618
|
-
#
|
619
|
-
#
|
620
|
-
#
|
621
|
-
#
|
538
|
+
# List backups of Looker instance.
|
539
|
+
# @param [String] parent
|
540
|
+
# Required. Format: projects/`project`/locations/`location`/instances/`instance`.
|
541
|
+
# @param [String] order_by
|
542
|
+
# Sort results. Default order is "create_time desc". Other supported fields are "
|
543
|
+
# state" and "expire_time". https://google.aip.dev/132#ordering
|
544
|
+
# @param [Fixnum] page_size
|
545
|
+
# The maximum number of instances to return.
|
546
|
+
# @param [String] page_token
|
547
|
+
# A page token received from a previous ListInstances request.
|
622
548
|
# @param [String] fields
|
623
549
|
# Selector specifying which fields to include in a partial response.
|
624
550
|
# @param [String] quota_user
|
@@ -628,21 +554,22 @@ module Google
|
|
628
554
|
# Request-specific options
|
629
555
|
#
|
630
556
|
# @yield [result, err] Result & error if block supplied
|
631
|
-
# @yieldparam result [Google::Apis::LookerV1::
|
557
|
+
# @yieldparam result [Google::Apis::LookerV1::ListInstanceBackupsResponse] parsed result object
|
632
558
|
# @yieldparam err [StandardError] error object if request failed
|
633
559
|
#
|
634
|
-
# @return [Google::Apis::LookerV1::
|
560
|
+
# @return [Google::Apis::LookerV1::ListInstanceBackupsResponse]
|
635
561
|
#
|
636
562
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
637
563
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
638
564
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
639
|
-
def
|
640
|
-
command = make_simple_command(:
|
641
|
-
command.
|
642
|
-
command.
|
643
|
-
command.
|
644
|
-
command.
|
645
|
-
command.
|
565
|
+
def list_project_location_instance_backups(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
566
|
+
command = make_simple_command(:get, 'v1/{+parent}/backups', options)
|
567
|
+
command.response_representation = Google::Apis::LookerV1::ListInstanceBackupsResponse::Representation
|
568
|
+
command.response_class = Google::Apis::LookerV1::ListInstanceBackupsResponse
|
569
|
+
command.params['parent'] = parent unless parent.nil?
|
570
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
571
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
572
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
646
573
|
command.query['fields'] = fields unless fields.nil?
|
647
574
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
648
575
|
execute_or_queue_command(command, &block)
|
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.13.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-02 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.13.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: []
|