Skip to content

Commit 28c1997

Browse files
feat: Automated regeneration of policysimulator v1alpha client (googleapis#23620)
Auto-created at 2025-07-06 10:11:24 +0000 using the toys pull request generator.
1 parent c087214 commit 28c1997

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
@@ -305573,6 +305573,8 @@
305573305573
"/policysimulator:v1alpha/GoogleTypeExpr/title": title
305574305574
"/policysimulator:v1alpha/fields": fields
305575305575
"/policysimulator:v1alpha/key": key
305576+
"/policysimulator:v1alpha/policysimulator.folders.locations.accessPolicySimulations.operations.get": get_folder_location_access_policy_simulation_operation
305577+
"/policysimulator:v1alpha/policysimulator.folders.locations.accessPolicySimulations.operations.get/name": name
305576305578
"/policysimulator:v1alpha/policysimulator.folders.locations.orgPolicyViolationsPreviews.operations.get": get_folder_location_org_policy_violations_preview_operation
305577305579
"/policysimulator:v1alpha/policysimulator.folders.locations.orgPolicyViolationsPreviews.operations.get/name": name
305578305580
"/policysimulator:v1alpha/policysimulator.folders.locations.replays.create": create_folder_location_replay
@@ -305601,6 +305603,8 @@
305601305603
"/policysimulator:v1alpha/policysimulator.operations.list/name": name
305602305604
"/policysimulator:v1alpha/policysimulator.operations.list/pageSize": page_size
305603305605
"/policysimulator:v1alpha/policysimulator.operations.list/pageToken": page_token
305606+
"/policysimulator:v1alpha/policysimulator.organizations.locations.accessPolicySimulations.operations.get": get_organization_location_access_policy_simulation_operation
305607+
"/policysimulator:v1alpha/policysimulator.organizations.locations.accessPolicySimulations.operations.get/name": name
305604305608
"/policysimulator:v1alpha/policysimulator.organizations.locations.orgPolicyViolationsPreviews": org_organization_location_policy_violations_previews
305605305609
"/policysimulator:v1alpha/policysimulator.organizations.locations.orgPolicyViolationsPreviews.create": create_organization_location_org_policy_violations_preview
305606305610
"/policysimulator:v1alpha/policysimulator.organizations.locations.orgPolicyViolationsPreviews.create/orgPolicyViolationsPreviewId": org_policy_violations_preview_id
@@ -305639,6 +305643,8 @@
305639305643
"/policysimulator:v1alpha/policysimulator.organizations.locations.replays.results.list/pageSize": page_size
305640305644
"/policysimulator:v1alpha/policysimulator.organizations.locations.replays.results.list/pageToken": page_token
305641305645
"/policysimulator:v1alpha/policysimulator.organizations.locations.replays.results.list/parent": parent
305646+
"/policysimulator:v1alpha/policysimulator.projects.locations.accessPolicySimulations.operations.get": get_project_location_access_policy_simulation_operation
305647+
"/policysimulator:v1alpha/policysimulator.projects.locations.accessPolicySimulations.operations.get/name": name
305642305648
"/policysimulator:v1alpha/policysimulator.projects.locations.orgPolicyViolationsPreviews.operations.get": get_project_location_org_policy_violations_preview_operation
305643305649
"/policysimulator:v1alpha/policysimulator.projects.locations.orgPolicyViolationsPreviews.operations.get/name": name
305644305650
"/policysimulator:v1alpha/policysimulator.projects.locations.replays.create": create_project_location_replay

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

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

59
* Regenerated from discovery document revision 20250614

generated/google-apis-policysimulator_v1alpha/lib/google/apis/policysimulator_v1alpha/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 PolicysimulatorV1alpha
1818
# Version of the google-apis-policysimulator_v1alpha gem
19-
GEM_VERSION = "0.24.0"
19+
GEM_VERSION = "0.25.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_v1alpha/lib/google/apis/policysimulator_v1alpha/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::PolicysimulatorV1alpha::GoogleLongrunningOperation] parsed result object
74+
# @yieldparam err [StandardError] error object if request failed
75+
#
76+
# @return [Google::Apis::PolicysimulatorV1alpha::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, 'v1alpha/{+name}', options)
83+
command.response_representation = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation::Representation
84+
command.response_class = Google::Apis::PolicysimulatorV1alpha::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
@@ -230,6 +261,37 @@ def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields:
230261
execute_or_queue_command(command, &block)
231262
end
232263

264+
# Gets the latest state of a long-running operation. Clients can use this method
265+
# to poll the operation result at intervals as recommended by the API service.
266+
# @param [String] name
267+
# The name of the operation resource.
268+
# @param [String] fields
269+
# Selector specifying which fields to include in a partial response.
270+
# @param [String] quota_user
271+
# Available to use for quota purposes for server-side applications. Can be any
272+
# arbitrary string assigned to a user, but should not exceed 40 characters.
273+
# @param [Google::Apis::RequestOptions] options
274+
# Request-specific options
275+
#
276+
# @yield [result, err] Result & error if block supplied
277+
# @yieldparam result [Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation] parsed result object
278+
# @yieldparam err [StandardError] error object if request failed
279+
#
280+
# @return [Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation]
281+
#
282+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
283+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
284+
# @raise [Google::Apis::AuthorizationError] Authorization is required
285+
def get_organization_location_access_policy_simulation_operation(name, fields: nil, quota_user: nil, options: nil, &block)
286+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
287+
command.response_representation = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation::Representation
288+
command.response_class = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation
289+
command.params['name'] = name unless name.nil?
290+
command.query['fields'] = fields unless fields.nil?
291+
command.query['quotaUser'] = quota_user unless quota_user.nil?
292+
execute_or_queue_command(command, &block)
293+
end
294+
233295
# Gets the latest state of a long-running operation. Clients can use this method
234296
# to poll the operation result at intervals as recommended by the API service.
235297
# @param [String] name
@@ -332,6 +394,37 @@ def list_organization_location_replay_operations(name, filter: nil, page_size: n
332394
execute_or_queue_command(command, &block)
333395
end
334396

397+
# Gets the latest state of a long-running operation. Clients can use this method
398+
# to poll the operation result at intervals as recommended by the API service.
399+
# @param [String] name
400+
# The name of the operation resource.
401+
# @param [String] fields
402+
# Selector specifying which fields to include in a partial response.
403+
# @param [String] quota_user
404+
# Available to use for quota purposes for server-side applications. Can be any
405+
# arbitrary string assigned to a user, but should not exceed 40 characters.
406+
# @param [Google::Apis::RequestOptions] options
407+
# Request-specific options
408+
#
409+
# @yield [result, err] Result & error if block supplied
410+
# @yieldparam result [Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation] parsed result object
411+
# @yieldparam err [StandardError] error object if request failed
412+
#
413+
# @return [Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation]
414+
#
415+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
416+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
417+
# @raise [Google::Apis::AuthorizationError] Authorization is required
418+
def get_project_location_access_policy_simulation_operation(name, fields: nil, quota_user: nil, options: nil, &block)
419+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
420+
command.response_representation = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation::Representation
421+
command.response_class = Google::Apis::PolicysimulatorV1alpha::GoogleLongrunningOperation
422+
command.params['name'] = name unless name.nil?
423+
command.query['fields'] = fields unless fields.nil?
424+
command.query['quotaUser'] = quota_user unless quota_user.nil?
425+
execute_or_queue_command(command, &block)
426+
end
427+
335428
# Gets the latest state of a long-running operation. Clients can use this method
336429
# to poll the operation result at intervals as recommended by the API service.
337430
# @param [String] name

0 commit comments

Comments
 (0)