Skip to content

Commit 7a9dc13

Browse files
feat: Automated regeneration of policysimulator v1beta client (googleapis#23637)
Auto-created at 2025-07-06 10:39:43 +0000 using the toys pull request generator.
1 parent 4847c25 commit 7a9dc13

File tree

4 files changed

+105
-2
lines changed

4 files changed

+105
-2
lines changed

api_names_out.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305975,6 +305975,8 @@
305975305975
"/policysimulator:v1beta/GoogleTypeExpr/title": title
305976305976
"/policysimulator:v1beta/fields": fields
305977305977
"/policysimulator:v1beta/key": key
305978+
"/policysimulator:v1beta/policysimulator.folders.locations.accessPolicySimulations.operations.get": get_folder_location_access_policy_simulation_operation
305979+
"/policysimulator:v1beta/policysimulator.folders.locations.accessPolicySimulations.operations.get/name": name
305978305980
"/policysimulator:v1beta/policysimulator.folders.locations.orgPolicyViolationsPreviews.operations.get": get_folder_location_org_policy_violations_preview_operation
305979305981
"/policysimulator:v1beta/policysimulator.folders.locations.orgPolicyViolationsPreviews.operations.get/name": name
305980305982
"/policysimulator:v1beta/policysimulator.folders.locations.replays.create": create_folder_location_replay
@@ -306003,6 +306005,8 @@
306003306005
"/policysimulator:v1beta/policysimulator.operations.list/name": name
306004306006
"/policysimulator:v1beta/policysimulator.operations.list/pageSize": page_size
306005306007
"/policysimulator:v1beta/policysimulator.operations.list/pageToken": page_token
306008+
"/policysimulator:v1beta/policysimulator.organizations.locations.accessPolicySimulations.operations.get": get_organization_location_access_policy_simulation_operation
306009+
"/policysimulator:v1beta/policysimulator.organizations.locations.accessPolicySimulations.operations.get/name": name
306006306010
"/policysimulator:v1beta/policysimulator.organizations.locations.orgPolicyViolationsPreviews": org_organization_location_policy_violations_previews
306007306011
"/policysimulator:v1beta/policysimulator.organizations.locations.orgPolicyViolationsPreviews.create": create_organization_location_org_policy_violations_preview
306008306012
"/policysimulator:v1beta/policysimulator.organizations.locations.orgPolicyViolationsPreviews.create/orgPolicyViolationsPreviewId": org_policy_violations_preview_id
@@ -306041,6 +306045,8 @@
306041306045
"/policysimulator:v1beta/policysimulator.organizations.locations.replays.results.list/pageSize": page_size
306042306046
"/policysimulator:v1beta/policysimulator.organizations.locations.replays.results.list/pageToken": page_token
306043306047
"/policysimulator:v1beta/policysimulator.organizations.locations.replays.results.list/parent": parent
306048+
"/policysimulator:v1beta/policysimulator.projects.locations.accessPolicySimulations.operations.get": get_project_location_access_policy_simulation_operation
306049+
"/policysimulator:v1beta/policysimulator.projects.locations.accessPolicySimulations.operations.get/name": name
306044306050
"/policysimulator:v1beta/policysimulator.projects.locations.orgPolicyViolationsPreviews.operations.get": get_project_location_org_policy_violations_preview_operation
306045306051
"/policysimulator:v1beta/policysimulator.projects.locations.orgPolicyViolationsPreviews.operations.get/name": name
306046306052
"/policysimulator:v1beta/policysimulator.projects.locations.replays.create": create_project_location_replay

generated/google-apis-policysimulator_v1beta/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-policysimulator_v1beta
22

3+
### v0.18.0 (2025-07-06)
4+
5+
* Regenerated from discovery document revision 20250626
6+
37
### v0.17.0 (2025-06-22)
48

59
* Regenerated from discovery document revision 20250614

generated/google-apis-policysimulator_v1beta/lib/google/apis/policysimulator_v1beta/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 PolicysimulatorV1beta
1818
# Version of the google-apis-policysimulator_v1beta gem
19-
GEM_VERSION = "0.17.0"
19+
GEM_VERSION = "0.18.0"
2020

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

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

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

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,37 @@ def initialize
5757
@batch_path = 'batch'
5858
end
5959

60+
# Gets the latest state of a long-running operation. Clients can use this method
61+
# to poll the operation result at intervals as recommended by the API service.
62+
# @param [String] name
63+
# The name of the operation resource.
64+
# @param [String] fields
65+
# Selector specifying which fields to include in a partial response.
66+
# @param [String] quota_user
67+
# Available to use for quota purposes for server-side applications. Can be any
68+
# arbitrary string assigned to a user, but should not exceed 40 characters.
69+
# @param [Google::Apis::RequestOptions] options
70+
# Request-specific options
71+
#
72+
# @yield [result, err] Result & error if block supplied
73+
# @yieldparam result [Google::Apis::PolicysimulatorV1beta::GoogleLongrunningOperation] parsed result object
74+
# @yieldparam err [StandardError] error object if request failed
75+
#
76+
# @return [Google::Apis::PolicysimulatorV1beta::GoogleLongrunningOperation]
77+
#
78+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
79+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
80+
# @raise [Google::Apis::AuthorizationError] Authorization is required
81+
def get_folder_location_access_policy_simulation_operation(name, fields: nil, quota_user: nil, options: nil, &block)
82+
command = make_simple_command(:get, 'v1beta/{+name}', options)
83+
command.response_representation = Google::Apis::PolicysimulatorV1beta::GoogleLongrunningOperation::Representation
84+
command.response_class = Google::Apis::PolicysimulatorV1beta::GoogleLongrunningOperation
85+
command.params['name'] = name unless name.nil?
86+
command.query['fields'] = fields unless fields.nil?
87+
command.query['quotaUser'] = quota_user unless quota_user.nil?
88+
execute_or_queue_command(command, &block)
89+
end
90+
6091
# Gets the latest state of a long-running operation. Clients can use this method
6192
# to poll the operation result at intervals as recommended by the API service.
6293
# @param [String] name
@@ -389,6 +420,37 @@ def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields:
389420
execute_or_queue_command(command, &block)
390421
end
391422

423+
# Gets the latest state of a long-running operation. Clients can use this method
424+
# to poll the operation result at intervals as recommended by the API service.
425+
# @param [String] name
426+
# The name of the operation resource.
427+
# @param [String] fields
428+
# Selector specifying which fields to include in a partial response.
429+
# @param [String] quota_user
430+
# Available to use for quota purposes for server-side applications. Can be any
431+
# arbitrary string assigned to a user, but should not exceed 40 characters.
432+
# @param [Google::Apis::RequestOptions] options
433+
# Request-specific options
434+
#
435+
# @yield [result, err] Result & error if block supplied
436+
# @yieldparam result [Google::Apis::PolicysimulatorV1beta::GoogleLongrunningOperation] parsed result object
437+
# @yieldparam err [StandardError] error object if request failed
438+
#
439+
# @return [Google::Apis::PolicysimulatorV1beta::GoogleLongrunningOperation]
440+
#
441+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
442+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
443+
# @raise [Google::Apis::AuthorizationError] Authorization is required
444+
def get_organization_location_access_policy_simulation_operation(name, fields: nil, quota_user: nil, options: nil, &block)
445+
command = make_simple_command(:get, 'v1beta/{+name}', options)
446+
command.response_representation = Google::Apis::PolicysimulatorV1beta::GoogleLongrunningOperation::Representation
447+
command.response_class = Google::Apis::PolicysimulatorV1beta::GoogleLongrunningOperation
448+
command.params['name'] = name unless name.nil?
449+
command.query['fields'] = fields unless fields.nil?
450+
command.query['quotaUser'] = quota_user unless quota_user.nil?
451+
execute_or_queue_command(command, &block)
452+
end
453+
392454
# CreateOrgPolicyViolationsPreview creates an OrgPolicyViolationsPreview for the
393455
# proposed changes in the provided OrgPolicyViolationsPreview.OrgPolicyOverlay.
394456
# The changes to OrgPolicy are specified by this `OrgPolicyOverlay`. The
@@ -846,6 +908,37 @@ def list_organization_location_replay_results(parent, page_size: nil, page_token
846908
execute_or_queue_command(command, &block)
847909
end
848910

911+
# Gets the latest state of a long-running operation. Clients can use this method
912+
# to poll the operation result at intervals as recommended by the API service.
913+
# @param [String] name
914+
# The name of the operation resource.
915+
# @param [String] fields
916+
# Selector specifying which fields to include in a partial response.
917+
# @param [String] quota_user
918+
# Available to use for quota purposes for server-side applications. Can be any
919+
# arbitrary string assigned to a user, but should not exceed 40 characters.
920+
# @param [Google::Apis::RequestOptions] options
921+
# Request-specific options
922+
#
923+
# @yield [result, err] Result & error if block supplied
924+
# @yieldparam result [Google::Apis::PolicysimulatorV1beta::GoogleLongrunningOperation] parsed result object
925+
# @yieldparam err [StandardError] error object if request failed
926+
#
927+
# @return [Google::Apis::PolicysimulatorV1beta::GoogleLongrunningOperation]
928+
#
929+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
930+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
931+
# @raise [Google::Apis::AuthorizationError] Authorization is required
932+
def get_project_location_access_policy_simulation_operation(name, fields: nil, quota_user: nil, options: nil, &block)
933+
command = make_simple_command(:get, 'v1beta/{+name}', options)
934+
command.response_representation = Google::Apis::PolicysimulatorV1beta::GoogleLongrunningOperation::Representation
935+
command.response_class = Google::Apis::PolicysimulatorV1beta::GoogleLongrunningOperation
936+
command.params['name'] = name unless name.nil?
937+
command.query['fields'] = fields unless fields.nil?
938+
command.query['quotaUser'] = quota_user unless quota_user.nil?
939+
execute_or_queue_command(command, &block)
940+
end
941+
849942
# Gets the latest state of a long-running operation. Clients can use this method
850943
# to poll the operation result at intervals as recommended by the API service.
851944
# @param [String] name

0 commit comments

Comments
 (0)