google-apis-ids_v1 0.17.0 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0fd535ac7354562ea13f38644b2460f463d0366dd18fe4e47a9239ccb1bc2f51
4
- data.tar.gz: 25a1701f65f5e6345129c6812bd85a8f169f674da69882730a4416a2694e55aa
3
+ metadata.gz: 042e0400640f05f5767ea51560627c592d10ce3b44b831deb8b6313918221865
4
+ data.tar.gz: 2d1b01d164afc09077093f70e65e34019ad075697bcbdebbef5057540648a9ac
5
5
  SHA512:
6
- metadata.gz: eb456acb21609f9ec65ae0bb1993bfd5f4c6c2466c2b97f2a0cae861e59f168d4309a31a9729abd77d11ace4435c6f4ecd0e052e85eef95c3a92e08309020dda
7
- data.tar.gz: 9aeb9ed0688a31ce65d8bb6587bef155eb4d63523cc0e849e16f950adc2dc25e77ab3bc624cb0dc56dd1ec7aac7a0b1df3d535e980c28f5d4db5d2280200f7e3
6
+ metadata.gz: bb85ea3dd586f0274dcd307c44c2d8fc7277891affd5c274c1ca0b2cfa01bbb7d347fec1e95b21170c79ee5602cb209f7e1658316fd736161f4567410d128a1e
7
+ data.tar.gz: b446340904fc982c14e78e15dffc3b41b261ce2b38055af04370b8d97c1085c554afe6f08ff03b02f3592aa4c61e01b497ad2379b50c5191ab88a33b94266763
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-ids_v1
2
2
 
3
+ ### v0.19.0 (2025-03-09)
4
+
5
+ * Regenerated from discovery document revision 20250304
6
+
7
+ ### v0.18.0 (2025-02-26)
8
+
9
+ * Regenerated from discovery document revision 20250214
10
+ * Regenerated using generator version 0.16.0
11
+
3
12
  ### v0.17.0 (2024-05-26)
4
13
 
5
14
  * Regenerated from discovery document revision 20240514
@@ -22,178 +22,6 @@ module Google
22
22
  module Apis
23
23
  module IdsV1
24
24
 
25
- # Specifies the audit configuration for a service. The configuration determines
26
- # which permission types are logged, and what identities, if any, are exempted
27
- # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
28
- # are AuditConfigs for both `allServices` and a specific service, the union of
29
- # the two AuditConfigs is used for that service: the log_types specified in each
30
- # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
31
- # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
32
- # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
33
- # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
34
- # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
35
- # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
36
- # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
37
- # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
38
- # exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com`
39
- # from DATA_WRITE logging.
40
- class AuditConfig
41
- include Google::Apis::Core::Hashable
42
-
43
- # The configuration for logging of each type of permission.
44
- # Corresponds to the JSON property `auditLogConfigs`
45
- # @return [Array<Google::Apis::IdsV1::AuditLogConfig>]
46
- attr_accessor :audit_log_configs
47
-
48
- # Specifies a service that will be enabled for audit logging. For example, `
49
- # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
50
- # value that covers all services.
51
- # Corresponds to the JSON property `service`
52
- # @return [String]
53
- attr_accessor :service
54
-
55
- def initialize(**args)
56
- update!(**args)
57
- end
58
-
59
- # Update properties of this object
60
- def update!(**args)
61
- @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
62
- @service = args[:service] if args.key?(:service)
63
- end
64
- end
65
-
66
- # Provides the configuration for logging a type of permissions. Example: ` "
67
- # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
68
- # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
69
- # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
70
- # DATA_READ logging.
71
- class AuditLogConfig
72
- include Google::Apis::Core::Hashable
73
-
74
- # Specifies the identities that do not cause logging for this type of permission.
75
- # Follows the same format of Binding.members.
76
- # Corresponds to the JSON property `exemptedMembers`
77
- # @return [Array<String>]
78
- attr_accessor :exempted_members
79
-
80
- # The log type that this config enables.
81
- # Corresponds to the JSON property `logType`
82
- # @return [String]
83
- attr_accessor :log_type
84
-
85
- def initialize(**args)
86
- update!(**args)
87
- end
88
-
89
- # Update properties of this object
90
- def update!(**args)
91
- @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
92
- @log_type = args[:log_type] if args.key?(:log_type)
93
- end
94
- end
95
-
96
- # Associates `members`, or principals, with a `role`.
97
- class Binding
98
- include Google::Apis::Core::Hashable
99
-
100
- # Represents a textual expression in the Common Expression Language (CEL) syntax.
101
- # CEL is a C-like expression language. The syntax and semantics of CEL are
102
- # documented at https://github.com/google/cel-spec. Example (Comparison): title:
103
- # "Summary size limit" description: "Determines if a summary is less than 100
104
- # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
105
- # Requestor is owner" description: "Determines if requestor is the document
106
- # owner" expression: "document.owner == request.auth.claims.email" Example (
107
- # Logic): title: "Public documents" description: "Determine whether the document
108
- # should be publicly visible" expression: "document.type != 'private' &&
109
- # document.type != 'internal'" Example (Data Manipulation): title: "Notification
110
- # string" description: "Create a notification string with a timestamp."
111
- # expression: "'New message received at ' + string(document.create_time)" The
112
- # exact variables and functions that may be referenced within an expression are
113
- # determined by the service that evaluates it. See the service documentation for
114
- # additional information.
115
- # Corresponds to the JSON property `condition`
116
- # @return [Google::Apis::IdsV1::Expr]
117
- attr_accessor :condition
118
-
119
- # Specifies the principals requesting access for a Google Cloud resource. `
120
- # members` can have the following values: * `allUsers`: A special identifier
121
- # that represents anyone who is on the internet; with or without a Google
122
- # account. * `allAuthenticatedUsers`: A special identifier that represents
123
- # anyone who is authenticated with a Google account or a service account. Does
124
- # not include identities that come from external identity providers (IdPs)
125
- # through identity federation. * `user:`emailid``: An email address that
126
- # represents a specific Google account. For example, `alice@example.com` . * `
127
- # serviceAccount:`emailid``: An email address that represents a Google service
128
- # account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
129
- # serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An
130
- # identifier for a [Kubernetes service account](https://cloud.google.com/
131
- # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
132
- # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
133
- # email address that represents a Google group. For example, `admins@example.com`
134
- # . * `domain:`domain``: The G Suite domain (primary) that represents all the
135
- # users of that domain. For example, `google.com` or `example.com`. * `principal:
136
- # //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
137
- # subject_attribute_value``: A single identity in a workforce identity pool. * `
138
- # principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
139
- # group/`group_id``: All workforce identities in a group. * `principalSet://iam.
140
- # googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
141
- # attribute_name`/`attribute_value``: All workforce identities with a specific
142
- # attribute value. * `principalSet://iam.googleapis.com/locations/global/
143
- # workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
144
- # principal://iam.googleapis.com/projects/`project_number`/locations/global/
145
- # workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
146
- # identity in a workload identity pool. * `principalSet://iam.googleapis.com/
147
- # projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
148
- # group/`group_id``: A workload identity pool group. * `principalSet://iam.
149
- # googleapis.com/projects/`project_number`/locations/global/
150
- # workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
151
- # All identities in a workload identity pool with a certain attribute. * `
152
- # principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
153
- # workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
154
- # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
155
- # identifier) representing a user that has been recently deleted. For example, `
156
- # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
157
- # value reverts to `user:`emailid`` and the recovered user retains the role in
158
- # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
159
- # address (plus unique identifier) representing a service account that has been
160
- # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
161
- # 123456789012345678901`. If the service account is undeleted, this value
162
- # reverts to `serviceAccount:`emailid`` and the undeleted service account
163
- # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
164
- # An email address (plus unique identifier) representing a Google group that has
165
- # been recently deleted. For example, `admins@example.com?uid=
166
- # 123456789012345678901`. If the group is recovered, this value reverts to `
167
- # group:`emailid`` and the recovered group retains the role in the binding. * `
168
- # deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
169
- # pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
170
- # workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
171
- # locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
172
- # Corresponds to the JSON property `members`
173
- # @return [Array<String>]
174
- attr_accessor :members
175
-
176
- # Role that is assigned to the list of `members`, or principals. For example, `
177
- # roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM
178
- # roles and permissions, see the [IAM documentation](https://cloud.google.com/
179
- # iam/docs/roles-overview). For a list of the available pre-defined roles, see [
180
- # here](https://cloud.google.com/iam/docs/understanding-roles).
181
- # Corresponds to the JSON property `role`
182
- # @return [String]
183
- attr_accessor :role
184
-
185
- def initialize(**args)
186
- update!(**args)
187
- end
188
-
189
- # Update properties of this object
190
- def update!(**args)
191
- @condition = args[:condition] if args.key?(:condition)
192
- @members = args[:members] if args.key?(:members)
193
- @role = args[:role] if args.key?(:role)
194
- end
195
- end
196
-
197
25
  # The request message for Operations.CancelOperation.
198
26
  class CancelOperationRequest
199
27
  include Google::Apis::Core::Hashable
@@ -325,60 +153,6 @@ module Google
325
153
  end
326
154
  end
327
155
 
328
- # Represents a textual expression in the Common Expression Language (CEL) syntax.
329
- # CEL is a C-like expression language. The syntax and semantics of CEL are
330
- # documented at https://github.com/google/cel-spec. Example (Comparison): title:
331
- # "Summary size limit" description: "Determines if a summary is less than 100
332
- # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
333
- # Requestor is owner" description: "Determines if requestor is the document
334
- # owner" expression: "document.owner == request.auth.claims.email" Example (
335
- # Logic): title: "Public documents" description: "Determine whether the document
336
- # should be publicly visible" expression: "document.type != 'private' &&
337
- # document.type != 'internal'" Example (Data Manipulation): title: "Notification
338
- # string" description: "Create a notification string with a timestamp."
339
- # expression: "'New message received at ' + string(document.create_time)" The
340
- # exact variables and functions that may be referenced within an expression are
341
- # determined by the service that evaluates it. See the service documentation for
342
- # additional information.
343
- class Expr
344
- include Google::Apis::Core::Hashable
345
-
346
- # Optional. Description of the expression. This is a longer text which describes
347
- # the expression, e.g. when hovered over it in a UI.
348
- # Corresponds to the JSON property `description`
349
- # @return [String]
350
- attr_accessor :description
351
-
352
- # Textual representation of an expression in Common Expression Language syntax.
353
- # Corresponds to the JSON property `expression`
354
- # @return [String]
355
- attr_accessor :expression
356
-
357
- # Optional. String indicating the location of the expression for error reporting,
358
- # e.g. a file name and a position in the file.
359
- # Corresponds to the JSON property `location`
360
- # @return [String]
361
- attr_accessor :location
362
-
363
- # Optional. Title for the expression, i.e. a short string describing its purpose.
364
- # This can be used e.g. in UIs which allow to enter the expression.
365
- # Corresponds to the JSON property `title`
366
- # @return [String]
367
- attr_accessor :title
368
-
369
- def initialize(**args)
370
- update!(**args)
371
- end
372
-
373
- # Update properties of this object
374
- def update!(**args)
375
- @description = args[:description] if args.key?(:description)
376
- @expression = args[:expression] if args.key?(:expression)
377
- @location = args[:location] if args.key?(:location)
378
- @title = args[:title] if args.key?(:title)
379
- end
380
- end
381
-
382
156
  #
383
157
  class ListEndpointsResponse
384
158
  include Google::Apis::Core::Hashable
@@ -590,9 +364,9 @@ module Google
590
364
  attr_accessor :end_time
591
365
 
592
366
  # Output only. Identifies whether the user has requested cancellation of the
593
- # operation. Operations that have successfully been cancelled have Operation.
594
- # error value with a google.rpc.Status.code of 1, corresponding to `Code.
595
- # CANCELLED`.
367
+ # operation. Operations that have successfully been cancelled have google.
368
+ # longrunning.Operation.error value with a google.rpc.Status.code of 1,
369
+ # corresponding to `Code.CANCELLED`.
596
370
  # Corresponds to the JSON property `requestedCancellation`
597
371
  # @return [Boolean]
598
372
  attr_accessor :requested_cancellation
@@ -629,154 +403,6 @@ module Google
629
403
  end
630
404
  end
631
405
 
632
- # An Identity and Access Management (IAM) policy, which specifies access
633
- # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
634
- # A `binding` binds one or more `members`, or principals, to a single `role`.
635
- # Principals can be user accounts, service accounts, Google groups, and domains (
636
- # such as G Suite). A `role` is a named list of permissions; each `role` can be
637
- # an IAM predefined role or a user-created custom role. For some types of Google
638
- # Cloud resources, a `binding` can also specify a `condition`, which is a
639
- # logical expression that allows access to a resource only if the expression
640
- # evaluates to `true`. A condition can add constraints based on attributes of
641
- # the request, the resource, or both. To learn which resources support
642
- # conditions in their IAM policies, see the [IAM documentation](https://cloud.
643
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
644
- # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
645
- # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
646
- # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
647
- # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
648
- # ], "condition": ` "title": "expirable access", "description": "Does not grant
649
- # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
650
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
651
- # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
652
- # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
653
- # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
654
- # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
655
- # title: expirable access description: Does not grant access after Sep 2020
656
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
657
- # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
658
- # [IAM documentation](https://cloud.google.com/iam/docs/).
659
- class Policy
660
- include Google::Apis::Core::Hashable
661
-
662
- # Specifies cloud audit logging configuration for this policy.
663
- # Corresponds to the JSON property `auditConfigs`
664
- # @return [Array<Google::Apis::IdsV1::AuditConfig>]
665
- attr_accessor :audit_configs
666
-
667
- # Associates a list of `members`, or principals, with a `role`. Optionally, may
668
- # specify a `condition` that determines how and when the `bindings` are applied.
669
- # Each of the `bindings` must contain at least one principal. The `bindings` in
670
- # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
671
- # can be Google groups. Each occurrence of a principal counts towards these
672
- # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
673
- # example.com`, and not to any other principal, then you can add another 1,450
674
- # principals to the `bindings` in the `Policy`.
675
- # Corresponds to the JSON property `bindings`
676
- # @return [Array<Google::Apis::IdsV1::Binding>]
677
- attr_accessor :bindings
678
-
679
- # `etag` is used for optimistic concurrency control as a way to help prevent
680
- # simultaneous updates of a policy from overwriting each other. It is strongly
681
- # suggested that systems make use of the `etag` in the read-modify-write cycle
682
- # to perform policy updates in order to avoid race conditions: An `etag` is
683
- # returned in the response to `getIamPolicy`, and systems are expected to put
684
- # that etag in the request to `setIamPolicy` to ensure that their change will be
685
- # applied to the same version of the policy. **Important:** If you use IAM
686
- # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
687
- # If you omit this field, then IAM allows you to overwrite a version `3` policy
688
- # with a version `1` policy, and all of the conditions in the version `3` policy
689
- # are lost.
690
- # Corresponds to the JSON property `etag`
691
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
692
- # @return [String]
693
- attr_accessor :etag
694
-
695
- # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
696
- # Requests that specify an invalid value are rejected. Any operation that
697
- # affects conditional role bindings must specify version `3`. This requirement
698
- # applies to the following operations: * Getting a policy that includes a
699
- # conditional role binding * Adding a conditional role binding to a policy *
700
- # Changing a conditional role binding in a policy * Removing any role binding,
701
- # with or without a condition, from a policy that includes conditions **
702
- # Important:** If you use IAM Conditions, you must include the `etag` field
703
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
704
- # to overwrite a version `3` policy with a version `1` policy, and all of the
705
- # conditions in the version `3` policy are lost. If a policy does not include
706
- # any conditions, operations on that policy may specify any valid version or
707
- # leave the field unset. To learn which resources support conditions in their
708
- # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
709
- # conditions/resource-policies).
710
- # Corresponds to the JSON property `version`
711
- # @return [Fixnum]
712
- attr_accessor :version
713
-
714
- def initialize(**args)
715
- update!(**args)
716
- end
717
-
718
- # Update properties of this object
719
- def update!(**args)
720
- @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
721
- @bindings = args[:bindings] if args.key?(:bindings)
722
- @etag = args[:etag] if args.key?(:etag)
723
- @version = args[:version] if args.key?(:version)
724
- end
725
- end
726
-
727
- # Request message for `SetIamPolicy` method.
728
- class SetIamPolicyRequest
729
- include Google::Apis::Core::Hashable
730
-
731
- # An Identity and Access Management (IAM) policy, which specifies access
732
- # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
733
- # A `binding` binds one or more `members`, or principals, to a single `role`.
734
- # Principals can be user accounts, service accounts, Google groups, and domains (
735
- # such as G Suite). A `role` is a named list of permissions; each `role` can be
736
- # an IAM predefined role or a user-created custom role. For some types of Google
737
- # Cloud resources, a `binding` can also specify a `condition`, which is a
738
- # logical expression that allows access to a resource only if the expression
739
- # evaluates to `true`. A condition can add constraints based on attributes of
740
- # the request, the resource, or both. To learn which resources support
741
- # conditions in their IAM policies, see the [IAM documentation](https://cloud.
742
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
743
- # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
744
- # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
745
- # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
746
- # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
747
- # ], "condition": ` "title": "expirable access", "description": "Does not grant
748
- # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
749
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
750
- # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
751
- # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
752
- # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
753
- # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
754
- # title: expirable access description: Does not grant access after Sep 2020
755
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
756
- # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
757
- # [IAM documentation](https://cloud.google.com/iam/docs/).
758
- # Corresponds to the JSON property `policy`
759
- # @return [Google::Apis::IdsV1::Policy]
760
- attr_accessor :policy
761
-
762
- # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
763
- # the fields in the mask will be modified. If no mask is provided, the following
764
- # default mask is used: `paths: "bindings, etag"`
765
- # Corresponds to the JSON property `updateMask`
766
- # @return [String]
767
- attr_accessor :update_mask
768
-
769
- def initialize(**args)
770
- update!(**args)
771
- end
772
-
773
- # Update properties of this object
774
- def update!(**args)
775
- @policy = args[:policy] if args.key?(:policy)
776
- @update_mask = args[:update_mask] if args.key?(:update_mask)
777
- end
778
- end
779
-
780
406
  # The `Status` type defines a logical error model that is suitable for different
781
407
  # programming environments, including REST APIs and RPC APIs. It is used by [
782
408
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -815,46 +441,6 @@ module Google
815
441
  @message = args[:message] if args.key?(:message)
816
442
  end
817
443
  end
818
-
819
- # Request message for `TestIamPermissions` method.
820
- class TestIamPermissionsRequest
821
- include Google::Apis::Core::Hashable
822
-
823
- # The set of permissions to check for the `resource`. Permissions with wildcards
824
- # (such as `*` or `storage.*`) are not allowed. For more information see [IAM
825
- # Overview](https://cloud.google.com/iam/docs/overview#permissions).
826
- # Corresponds to the JSON property `permissions`
827
- # @return [Array<String>]
828
- attr_accessor :permissions
829
-
830
- def initialize(**args)
831
- update!(**args)
832
- end
833
-
834
- # Update properties of this object
835
- def update!(**args)
836
- @permissions = args[:permissions] if args.key?(:permissions)
837
- end
838
- end
839
-
840
- # Response message for `TestIamPermissions` method.
841
- class TestIamPermissionsResponse
842
- include Google::Apis::Core::Hashable
843
-
844
- # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
845
- # Corresponds to the JSON property `permissions`
846
- # @return [Array<String>]
847
- attr_accessor :permissions
848
-
849
- def initialize(**args)
850
- update!(**args)
851
- end
852
-
853
- # Update properties of this object
854
- def update!(**args)
855
- @permissions = args[:permissions] if args.key?(:permissions)
856
- end
857
- end
858
444
  end
859
445
  end
860
446
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module IdsV1
18
18
  # Version of the google-apis-ids_v1 gem
19
- GEM_VERSION = "0.17.0"
19
+ GEM_VERSION = "0.19.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240514"
25
+ REVISION = "20250304"
26
26
  end
27
27
  end
28
28
  end
@@ -22,24 +22,6 @@ module Google
22
22
  module Apis
23
23
  module IdsV1
24
24
 
25
- class AuditConfig
26
- class Representation < Google::Apis::Core::JsonRepresentation; end
27
-
28
- include Google::Apis::Core::JsonObjectSupport
29
- end
30
-
31
- class AuditLogConfig
32
- class Representation < Google::Apis::Core::JsonRepresentation; end
33
-
34
- include Google::Apis::Core::JsonObjectSupport
35
- end
36
-
37
- class Binding
38
- class Representation < Google::Apis::Core::JsonRepresentation; end
39
-
40
- include Google::Apis::Core::JsonObjectSupport
41
- end
42
-
43
25
  class CancelOperationRequest
44
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
27
 
@@ -58,12 +40,6 @@ module Google
58
40
  include Google::Apis::Core::JsonObjectSupport
59
41
  end
60
42
 
61
- class Expr
62
- class Representation < Google::Apis::Core::JsonRepresentation; end
63
-
64
- include Google::Apis::Core::JsonObjectSupport
65
- end
66
-
67
43
  class ListEndpointsResponse
68
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
45
 
@@ -100,63 +76,12 @@ module Google
100
76
  include Google::Apis::Core::JsonObjectSupport
101
77
  end
102
78
 
103
- class Policy
104
- class Representation < Google::Apis::Core::JsonRepresentation; end
105
-
106
- include Google::Apis::Core::JsonObjectSupport
107
- end
108
-
109
- class SetIamPolicyRequest
110
- class Representation < Google::Apis::Core::JsonRepresentation; end
111
-
112
- include Google::Apis::Core::JsonObjectSupport
113
- end
114
-
115
79
  class Status
116
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
81
 
118
82
  include Google::Apis::Core::JsonObjectSupport
119
83
  end
120
84
 
121
- class TestIamPermissionsRequest
122
- class Representation < Google::Apis::Core::JsonRepresentation; end
123
-
124
- include Google::Apis::Core::JsonObjectSupport
125
- end
126
-
127
- class TestIamPermissionsResponse
128
- class Representation < Google::Apis::Core::JsonRepresentation; end
129
-
130
- include Google::Apis::Core::JsonObjectSupport
131
- end
132
-
133
- class AuditConfig
134
- # @private
135
- class Representation < Google::Apis::Core::JsonRepresentation
136
- collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::IdsV1::AuditLogConfig, decorator: Google::Apis::IdsV1::AuditLogConfig::Representation
137
-
138
- property :service, as: 'service'
139
- end
140
- end
141
-
142
- class AuditLogConfig
143
- # @private
144
- class Representation < Google::Apis::Core::JsonRepresentation
145
- collection :exempted_members, as: 'exemptedMembers'
146
- property :log_type, as: 'logType'
147
- end
148
- end
149
-
150
- class Binding
151
- # @private
152
- class Representation < Google::Apis::Core::JsonRepresentation
153
- property :condition, as: 'condition', class: Google::Apis::IdsV1::Expr, decorator: Google::Apis::IdsV1::Expr::Representation
154
-
155
- collection :members, as: 'members'
156
- property :role, as: 'role'
157
- end
158
- end
159
-
160
85
  class CancelOperationRequest
161
86
  # @private
162
87
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -189,16 +114,6 @@ module Google
189
114
  end
190
115
  end
191
116
 
192
- class Expr
193
- # @private
194
- class Representation < Google::Apis::Core::JsonRepresentation
195
- property :description, as: 'description'
196
- property :expression, as: 'expression'
197
- property :location, as: 'location'
198
- property :title, as: 'title'
199
- end
200
- end
201
-
202
117
  class ListEndpointsResponse
203
118
  # @private
204
119
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -263,27 +178,6 @@ module Google
263
178
  end
264
179
  end
265
180
 
266
- class Policy
267
- # @private
268
- class Representation < Google::Apis::Core::JsonRepresentation
269
- collection :audit_configs, as: 'auditConfigs', class: Google::Apis::IdsV1::AuditConfig, decorator: Google::Apis::IdsV1::AuditConfig::Representation
270
-
271
- collection :bindings, as: 'bindings', class: Google::Apis::IdsV1::Binding, decorator: Google::Apis::IdsV1::Binding::Representation
272
-
273
- property :etag, :base64 => true, as: 'etag'
274
- property :version, as: 'version'
275
- end
276
- end
277
-
278
- class SetIamPolicyRequest
279
- # @private
280
- class Representation < Google::Apis::Core::JsonRepresentation
281
- property :policy, as: 'policy', class: Google::Apis::IdsV1::Policy, decorator: Google::Apis::IdsV1::Policy::Representation
282
-
283
- property :update_mask, as: 'updateMask'
284
- end
285
- end
286
-
287
181
  class Status
288
182
  # @private
289
183
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -292,20 +186,6 @@ module Google
292
186
  property :message, as: 'message'
293
187
  end
294
188
  end
295
-
296
- class TestIamPermissionsRequest
297
- # @private
298
- class Representation < Google::Apis::Core::JsonRepresentation
299
- collection :permissions, as: 'permissions'
300
- end
301
- end
302
-
303
- class TestIamPermissionsResponse
304
- # @private
305
- class Representation < Google::Apis::Core::JsonRepresentation
306
- collection :permissions, as: 'permissions'
307
- end
308
- end
309
189
  end
310
190
  end
311
191
  end
@@ -252,51 +252,6 @@ module Google
252
252
  execute_or_queue_command(command, &block)
253
253
  end
254
254
 
255
- # Gets the access control policy for a resource. Returns an empty policy if the
256
- # resource exists and does not have a policy set.
257
- # @param [String] resource
258
- # REQUIRED: The resource for which the policy is being requested. See [Resource
259
- # names](https://cloud.google.com/apis/design/resource_names) for the
260
- # appropriate value for this field.
261
- # @param [Fixnum] options_requested_policy_version
262
- # Optional. The maximum policy version that will be used to format the policy.
263
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
264
- # rejected. Requests for policies with any conditional role bindings must
265
- # specify version 3. Policies with no conditional role bindings may specify any
266
- # valid value or leave the field unset. The policy in the response might use the
267
- # policy version that you specified, or it might use a lower policy version. For
268
- # example, if you specify version 3, but the policy has no conditional role
269
- # bindings, the response uses version 1. To learn which resources support
270
- # conditions in their IAM policies, see the [IAM documentation](https://cloud.
271
- # google.com/iam/help/conditions/resource-policies).
272
- # @param [String] fields
273
- # Selector specifying which fields to include in a partial response.
274
- # @param [String] quota_user
275
- # Available to use for quota purposes for server-side applications. Can be any
276
- # arbitrary string assigned to a user, but should not exceed 40 characters.
277
- # @param [Google::Apis::RequestOptions] options
278
- # Request-specific options
279
- #
280
- # @yield [result, err] Result & error if block supplied
281
- # @yieldparam result [Google::Apis::IdsV1::Policy] parsed result object
282
- # @yieldparam err [StandardError] error object if request failed
283
- #
284
- # @return [Google::Apis::IdsV1::Policy]
285
- #
286
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
287
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
288
- # @raise [Google::Apis::AuthorizationError] Authorization is required
289
- def get_project_location_endpoint_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
290
- command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
291
- command.response_representation = Google::Apis::IdsV1::Policy::Representation
292
- command.response_class = Google::Apis::IdsV1::Policy
293
- command.params['resource'] = resource unless resource.nil?
294
- command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
295
- command.query['fields'] = fields unless fields.nil?
296
- command.query['quotaUser'] = quota_user unless quota_user.nil?
297
- execute_or_queue_command(command, &block)
298
- end
299
-
300
255
  # Lists Endpoints in a given project and location.
301
256
  # @param [String] parent
302
257
  # Required. The parent, which owns this collection of endpoints.
@@ -396,90 +351,14 @@ module Google
396
351
  execute_or_queue_command(command, &block)
397
352
  end
398
353
 
399
- # Sets the access control policy on the specified resource. Replaces any
400
- # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
401
- # PERMISSION_DENIED` errors.
402
- # @param [String] resource
403
- # REQUIRED: The resource for which the policy is being specified. See [Resource
404
- # names](https://cloud.google.com/apis/design/resource_names) for the
405
- # appropriate value for this field.
406
- # @param [Google::Apis::IdsV1::SetIamPolicyRequest] set_iam_policy_request_object
407
- # @param [String] fields
408
- # Selector specifying which fields to include in a partial response.
409
- # @param [String] quota_user
410
- # Available to use for quota purposes for server-side applications. Can be any
411
- # arbitrary string assigned to a user, but should not exceed 40 characters.
412
- # @param [Google::Apis::RequestOptions] options
413
- # Request-specific options
414
- #
415
- # @yield [result, err] Result & error if block supplied
416
- # @yieldparam result [Google::Apis::IdsV1::Policy] parsed result object
417
- # @yieldparam err [StandardError] error object if request failed
418
- #
419
- # @return [Google::Apis::IdsV1::Policy]
420
- #
421
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
422
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
423
- # @raise [Google::Apis::AuthorizationError] Authorization is required
424
- def set_endpoint_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
425
- command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
426
- command.request_representation = Google::Apis::IdsV1::SetIamPolicyRequest::Representation
427
- command.request_object = set_iam_policy_request_object
428
- command.response_representation = Google::Apis::IdsV1::Policy::Representation
429
- command.response_class = Google::Apis::IdsV1::Policy
430
- command.params['resource'] = resource unless resource.nil?
431
- command.query['fields'] = fields unless fields.nil?
432
- command.query['quotaUser'] = quota_user unless quota_user.nil?
433
- execute_or_queue_command(command, &block)
434
- end
435
-
436
- # Returns permissions that a caller has on the specified resource. If the
437
- # resource does not exist, this will return an empty set of permissions, not a `
438
- # NOT_FOUND` error. Note: This operation is designed to be used for building
439
- # permission-aware UIs and command-line tools, not for authorization checking.
440
- # This operation may "fail open" without warning.
441
- # @param [String] resource
442
- # REQUIRED: The resource for which the policy detail is being requested. See [
443
- # Resource names](https://cloud.google.com/apis/design/resource_names) for the
444
- # appropriate value for this field.
445
- # @param [Google::Apis::IdsV1::TestIamPermissionsRequest] test_iam_permissions_request_object
446
- # @param [String] fields
447
- # Selector specifying which fields to include in a partial response.
448
- # @param [String] quota_user
449
- # Available to use for quota purposes for server-side applications. Can be any
450
- # arbitrary string assigned to a user, but should not exceed 40 characters.
451
- # @param [Google::Apis::RequestOptions] options
452
- # Request-specific options
453
- #
454
- # @yield [result, err] Result & error if block supplied
455
- # @yieldparam result [Google::Apis::IdsV1::TestIamPermissionsResponse] parsed result object
456
- # @yieldparam err [StandardError] error object if request failed
457
- #
458
- # @return [Google::Apis::IdsV1::TestIamPermissionsResponse]
459
- #
460
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
461
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
462
- # @raise [Google::Apis::AuthorizationError] Authorization is required
463
- def test_endpoint_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
464
- command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
465
- command.request_representation = Google::Apis::IdsV1::TestIamPermissionsRequest::Representation
466
- command.request_object = test_iam_permissions_request_object
467
- command.response_representation = Google::Apis::IdsV1::TestIamPermissionsResponse::Representation
468
- command.response_class = Google::Apis::IdsV1::TestIamPermissionsResponse
469
- command.params['resource'] = resource unless resource.nil?
470
- command.query['fields'] = fields unless fields.nil?
471
- command.query['quotaUser'] = quota_user unless quota_user.nil?
472
- execute_or_queue_command(command, &block)
473
- end
474
-
475
354
  # Starts asynchronous cancellation on a long-running operation. The server makes
476
355
  # a best effort to cancel the operation, but success is not guaranteed. If the
477
356
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
478
357
  # Clients can use Operations.GetOperation or other methods to check whether the
479
358
  # cancellation succeeded or whether the operation completed despite cancellation.
480
359
  # On successful cancellation, the operation is not deleted; instead, it becomes
481
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
482
- # corresponding to `Code.CANCELLED`.
360
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
361
+ # , corresponding to `Code.CANCELLED`.
483
362
  # @param [String] name
484
363
  # The name of the operation resource to be cancelled.
485
364
  # @param [Google::Apis::IdsV1::CancelOperationRequest] cancel_operation_request_object
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-ids_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-05-26 00:00:00.000000000 Z
10
+ date: 2025-03-09 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-ids_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-ids_v1/v0.17.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ids_v1/v0.19.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ids_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.6
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Cloud IDS API V1
82
79
  test_files: []