Skip to content

Commit 1940188

Browse files
Merge branch 'main' into add_idempotency_token
2 parents a7a03f4 + 2085c79 commit 1940188

File tree

506 files changed

+16799
-2799
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

506 files changed

+16799
-2799
lines changed

.kokoro/release-generated.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
# Set this to a nonempty string to freeze releases.
4-
FREEZE_RELEASES=true
4+
FREEZE_RELEASES=
55

66
set -eo pipefail
77

api_names_out.yaml

Lines changed: 1239 additions & 0 deletions
Large diffs are not rendered by default.

generated/google-apis-accessapproval_v1/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-accessapproval_v1
22

3+
### v0.42.0 (2025-04-20)
4+
5+
* Regenerated from discovery document revision 20250411
6+
* Regenerated using generator version 0.16.0
7+
38
### v0.41.0 (2024-08-25)
49

510
* Regenerated from discovery document revision 20240820

generated/google-apis-accessapproval_v1/lib/google/apis/accessapproval_v1/classes.rb

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,16 @@ class AccessApprovalSettings
7171
attr_accessor :ancestor_has_active_key_version
7272
alias_method :ancestor_has_active_key_version?, :ancestor_has_active_key_version
7373

74+
# Represents all the policies that can be set for Customer Approval.
75+
# Corresponds to the JSON property `approvalPolicy`
76+
# @return [Google::Apis::AccessapprovalV1::CustomerApprovalApprovalPolicy]
77+
attr_accessor :approval_policy
78+
79+
# Represents all the policies that can be set for Customer Approval.
80+
# Corresponds to the JSON property `effectiveApprovalPolicy`
81+
# @return [Google::Apis::AccessapprovalV1::CustomerApprovalApprovalPolicy]
82+
attr_accessor :effective_approval_policy
83+
7484
# Output only. This field is read only (not settable via
7585
# UpdateAccessApprovalSettings method). If the field is true, that indicates
7686
# that at least one service is enrolled for Access Approval in one or more
@@ -162,6 +172,8 @@ def initialize(**args)
162172
def update!(**args)
163173
@active_key_version = args[:active_key_version] if args.key?(:active_key_version)
164174
@ancestor_has_active_key_version = args[:ancestor_has_active_key_version] if args.key?(:ancestor_has_active_key_version)
175+
@approval_policy = args[:approval_policy] if args.key?(:approval_policy)
176+
@effective_approval_policy = args[:effective_approval_policy] if args.key?(:effective_approval_policy)
165177
@enrolled_ancestor = args[:enrolled_ancestor] if args.key?(:enrolled_ancestor)
166178
@enrolled_services = args[:enrolled_services] if args.key?(:enrolled_services)
167179
@invalid_key_version = args[:invalid_key_version] if args.key?(:invalid_key_version)
@@ -364,6 +376,12 @@ class ApproveDecision
364376
# @return [String]
365377
attr_accessor :invalidate_time
366378

379+
# True when the request has been approved by the customer's defined policy.
380+
# Corresponds to the JSON property `policyApproved`
381+
# @return [Boolean]
382+
attr_accessor :policy_approved
383+
alias_method :policy_approved?, :policy_approved
384+
367385
# Information about the digital signature of the resource.
368386
# Corresponds to the JSON property `signatureInfo`
369387
# @return [Google::Apis::AccessapprovalV1::SignatureInfo]
@@ -379,6 +397,7 @@ def update!(**args)
379397
@auto_approved = args[:auto_approved] if args.key?(:auto_approved)
380398
@expire_time = args[:expire_time] if args.key?(:expire_time)
381399
@invalidate_time = args[:invalidate_time] if args.key?(:invalidate_time)
400+
@policy_approved = args[:policy_approved] if args.key?(:policy_approved)
382401
@signature_info = args[:signature_info] if args.key?(:signature_info)
383402
end
384403
end
@@ -403,6 +422,25 @@ def update!(**args)
403422
end
404423
end
405424

425+
# Represents all the policies that can be set for Customer Approval.
426+
class CustomerApprovalApprovalPolicy
427+
include Google::Apis::Core::Hashable
428+
429+
# Optional. Policy for approval based on the justification given.
430+
# Corresponds to the JSON property `justificationBasedApprovalPolicy`
431+
# @return [String]
432+
attr_accessor :justification_based_approval_policy
433+
434+
def initialize(**args)
435+
update!(**args)
436+
end
437+
438+
# Update properties of this object
439+
def update!(**args)
440+
@justification_based_approval_policy = args[:justification_based_approval_policy] if args.key?(:justification_based_approval_policy)
441+
end
442+
end
443+
406444
# Request to dismiss an approval request.
407445
class DismissApprovalRequestMessage
408446
include Google::Apis::Core::Hashable

generated/google-apis-accessapproval_v1/lib/google/apis/accessapproval_v1/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module AccessapprovalV1
1818
# Version of the google-apis-accessapproval_v1 gem
19-
GEM_VERSION = "0.41.0"
19+
GEM_VERSION = "0.42.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.15.1"
22+
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20240820"
25+
REVISION = "20250411"
2626
end
2727
end
2828
end

generated/google-apis-accessapproval_v1/lib/google/apis/accessapproval_v1/representations.rb

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
7070
include Google::Apis::Core::JsonObjectSupport
7171
end
7272

73+
class CustomerApprovalApprovalPolicy
74+
class Representation < Google::Apis::Core::JsonRepresentation; end
75+
76+
include Google::Apis::Core::JsonObjectSupport
77+
end
78+
7379
class DismissApprovalRequestMessage
7480
class Representation < Google::Apis::Core::JsonRepresentation; end
7581

@@ -131,6 +137,10 @@ class AccessApprovalSettings
131137
class Representation < Google::Apis::Core::JsonRepresentation
132138
property :active_key_version, as: 'activeKeyVersion'
133139
property :ancestor_has_active_key_version, as: 'ancestorHasActiveKeyVersion'
140+
property :approval_policy, as: 'approvalPolicy', class: Google::Apis::AccessapprovalV1::CustomerApprovalApprovalPolicy, decorator: Google::Apis::AccessapprovalV1::CustomerApprovalApprovalPolicy::Representation
141+
142+
property :effective_approval_policy, as: 'effectiveApprovalPolicy', class: Google::Apis::AccessapprovalV1::CustomerApprovalApprovalPolicy, decorator: Google::Apis::AccessapprovalV1::CustomerApprovalApprovalPolicy::Representation
143+
134144
property :enrolled_ancestor, as: 'enrolledAncestor'
135145
collection :enrolled_services, as: 'enrolledServices', class: Google::Apis::AccessapprovalV1::EnrolledService, decorator: Google::Apis::AccessapprovalV1::EnrolledService::Representation
136146

@@ -198,6 +208,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
198208
property :auto_approved, as: 'autoApproved'
199209
property :expire_time, as: 'expireTime'
200210
property :invalidate_time, as: 'invalidateTime'
211+
property :policy_approved, as: 'policyApproved'
201212
property :signature_info, as: 'signatureInfo', class: Google::Apis::AccessapprovalV1::SignatureInfo, decorator: Google::Apis::AccessapprovalV1::SignatureInfo::Representation
202213

203214
end
@@ -210,6 +221,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
210221
end
211222
end
212223

224+
class CustomerApprovalApprovalPolicy
225+
# @private
226+
class Representation < Google::Apis::Core::JsonRepresentation
227+
property :justification_based_approval_policy, as: 'justificationBasedApprovalPolicy'
228+
end
229+
end
230+
213231
class DismissApprovalRequestMessage
214232
# @private
215233
class Representation < Google::Apis::Core::JsonRepresentation

generated/google-apis-accesscontextmanager_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-accesscontextmanager_v1
22

3+
### v0.57.0 (2025-04-20)
4+
5+
* Regenerated from discovery document revision 20250412
6+
37
### v0.56.0 (2025-03-16)
48

59
* Regenerated from discovery document revision 20250312

generated/google-apis-accesscontextmanager_v1/lib/google/apis/accesscontextmanager_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module AccesscontextmanagerV1
1818
# Version of the google-apis-accesscontextmanager_v1 gem
19-
GEM_VERSION = "0.56.0"
19+
GEM_VERSION = "0.57.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250312"
25+
REVISION = "20250412"
2626
end
2727
end
2828
end

generated/google-apis-accesscontextmanager_v1/lib/google/apis/accesscontextmanager_v1/service.rb

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1398,18 +1398,17 @@ def list_organization_gcp_user_access_bindings(parent, page_size: nil, page_toke
13981398
# Optional. This field controls whether or not certain repeated settings in the
13991399
# update request overwrite or append to existing settings on the binding. If
14001400
# true, then append. Otherwise overwrite. So far, only scoped_access_settings
1401-
# with reauth_settings supports appending. Global access_levels, access_levels
1402-
# in scoped_access_settings, dry_run_access_levels, reauth_settings, and
1403-
# session_settings are not compatible with append functionality, and the request
1404-
# will return an error if append=true when these settings are in the update_mask.
1405-
# The request will also return an error if append=true when "
1406-
# scoped_access_settings" is not set in the update_mask.
1401+
# with session_settings supports appending. Global access_levels, access_levels
1402+
# in scoped_access_settings, dry_run_access_levels, and session_settings are not
1403+
# compatible with append functionality, and the request will return an error if
1404+
# append=true when these settings are in the update_mask. The request will also
1405+
# return an error if append=true when "scoped_access_settings" is not set in the
1406+
# update_mask.
14071407
# @param [String] update_mask
14081408
# Required. Only the fields specified in this mask are updated. Because name and
14091409
# group_key cannot be changed, update_mask is required and may only contain the
1410-
# following fields: `access_levels`, `dry_run_access_levels`, `reauth_settings` `
1411-
# session_settings`, `scoped_access_settings`. update_mask ` paths: "
1412-
# access_levels" `
1410+
# following fields: `access_levels`, `dry_run_access_levels`, `session_settings`,
1411+
# `scoped_access_settings`. update_mask ` paths: "access_levels" `
14131412
# @param [String] fields
14141413
# Selector specifying which fields to include in a partial response.
14151414
# @param [String] quota_user

generated/google-apis-alertcenter_v1beta1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-alertcenter_v1beta1
22

3+
### v0.44.0 (2025-04-20)
4+
5+
* Regenerated from discovery document revision 20250414
6+
37
### v0.43.0 (2025-04-06)
48

59
* Regenerated from discovery document revision 20250331

0 commit comments

Comments
 (0)