google-apis-policysimulator_v1 0.23.0 → 0.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/policysimulator_v1/classes.rb +0 -158
- data/lib/google/apis/policysimulator_v1/gem_version.rb +2 -2
- data/lib/google/apis/policysimulator_v1/representations.rb +0 -66
- data/lib/google/apis/policysimulator_v1/service.rb +4 -121
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5dc96ef6cc92ee3488023a3155555af14fd9fc04725baf34e3bc5192b984449e
|
4
|
+
data.tar.gz: 6bd2f68512374d81161b2b166c7e8ae4bccefd06fb09dd4d51f8fa005d22dcb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 158e8e747703ae03adb6180cbdff221c4b164473bfcb518819b6a772eaf637b527ff1630425f683012157b92a19cff4c6eadc0d8eb52ce5769872656e136b7fa
|
7
|
+
data.tar.gz: c2d054b8b8509bb7a7a2911a104f9edce6ede345e4487cfabef2dddf2bd4b6f05fcaddd2294c51375f3a09bf5106c4bf19b391667604a69c49d94f21d7596495
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-policysimulator_v1
|
2
2
|
|
3
|
+
### v0.25.0 (2023-04-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230326
|
6
|
+
|
7
|
+
### v0.24.0 (2023-03-12)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230304
|
10
|
+
|
3
11
|
### v0.23.0 (2023-02-26)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230219
|
@@ -612,164 +612,6 @@ module Google
|
|
612
612
|
end
|
613
613
|
end
|
614
614
|
|
615
|
-
# A resource describing a `Replay`, or simulation.
|
616
|
-
class GoogleCloudPolicysimulatorV1beta1Replay
|
617
|
-
include Google::Apis::Core::Hashable
|
618
|
-
|
619
|
-
# The configuration used for a Replay.
|
620
|
-
# Corresponds to the JSON property `config`
|
621
|
-
# @return [Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1beta1ReplayConfig]
|
622
|
-
attr_accessor :config
|
623
|
-
|
624
|
-
# Output only. The resource name of the `Replay`, which has the following format:
|
625
|
-
# ``projects|folders|organizations`/`resource-id`/locations/global/replays/`
|
626
|
-
# replay-id``, where ``resource-id`` is the ID of the project, folder, or
|
627
|
-
# organization that owns the Replay. Example: `projects/my-example-project/
|
628
|
-
# locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`
|
629
|
-
# Corresponds to the JSON property `name`
|
630
|
-
# @return [String]
|
631
|
-
attr_accessor :name
|
632
|
-
|
633
|
-
# Summary statistics about the replayed log entries.
|
634
|
-
# Corresponds to the JSON property `resultsSummary`
|
635
|
-
# @return [Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1beta1ReplayResultsSummary]
|
636
|
-
attr_accessor :results_summary
|
637
|
-
|
638
|
-
# Output only. The current state of the `Replay`.
|
639
|
-
# Corresponds to the JSON property `state`
|
640
|
-
# @return [String]
|
641
|
-
attr_accessor :state
|
642
|
-
|
643
|
-
def initialize(**args)
|
644
|
-
update!(**args)
|
645
|
-
end
|
646
|
-
|
647
|
-
# Update properties of this object
|
648
|
-
def update!(**args)
|
649
|
-
@config = args[:config] if args.key?(:config)
|
650
|
-
@name = args[:name] if args.key?(:name)
|
651
|
-
@results_summary = args[:results_summary] if args.key?(:results_summary)
|
652
|
-
@state = args[:state] if args.key?(:state)
|
653
|
-
end
|
654
|
-
end
|
655
|
-
|
656
|
-
# The configuration used for a Replay.
|
657
|
-
class GoogleCloudPolicysimulatorV1beta1ReplayConfig
|
658
|
-
include Google::Apis::Core::Hashable
|
659
|
-
|
660
|
-
# The logs to use as input for the Replay.
|
661
|
-
# Corresponds to the JSON property `logSource`
|
662
|
-
# @return [String]
|
663
|
-
attr_accessor :log_source
|
664
|
-
|
665
|
-
# A mapping of the resources that you want to simulate policies for and the
|
666
|
-
# policies that you want to simulate. Keys are the full resource names for the
|
667
|
-
# resources. For example, `//cloudresourcemanager.googleapis.com/projects/my-
|
668
|
-
# project`. For examples of full resource names for Google Cloud services, see
|
669
|
-
# https://cloud.google.com/iam/help/troubleshooter/full-resource-names. Values
|
670
|
-
# are Policy objects representing the policies that you want to simulate.
|
671
|
-
# Replays automatically take into account any IAM policies inherited through the
|
672
|
-
# resource hierarchy, and any policies set on descendant resources. You do not
|
673
|
-
# need to include these policies in the policy overlay.
|
674
|
-
# Corresponds to the JSON property `policyOverlay`
|
675
|
-
# @return [Hash<String,Google::Apis::PolicysimulatorV1::GoogleIamV1Policy>]
|
676
|
-
attr_accessor :policy_overlay
|
677
|
-
|
678
|
-
def initialize(**args)
|
679
|
-
update!(**args)
|
680
|
-
end
|
681
|
-
|
682
|
-
# Update properties of this object
|
683
|
-
def update!(**args)
|
684
|
-
@log_source = args[:log_source] if args.key?(:log_source)
|
685
|
-
@policy_overlay = args[:policy_overlay] if args.key?(:policy_overlay)
|
686
|
-
end
|
687
|
-
end
|
688
|
-
|
689
|
-
# Metadata about a Replay operation.
|
690
|
-
class GoogleCloudPolicysimulatorV1beta1ReplayOperationMetadata
|
691
|
-
include Google::Apis::Core::Hashable
|
692
|
-
|
693
|
-
# Time when the request was received.
|
694
|
-
# Corresponds to the JSON property `startTime`
|
695
|
-
# @return [String]
|
696
|
-
attr_accessor :start_time
|
697
|
-
|
698
|
-
def initialize(**args)
|
699
|
-
update!(**args)
|
700
|
-
end
|
701
|
-
|
702
|
-
# Update properties of this object
|
703
|
-
def update!(**args)
|
704
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
705
|
-
end
|
706
|
-
end
|
707
|
-
|
708
|
-
# Summary statistics about the replayed log entries.
|
709
|
-
class GoogleCloudPolicysimulatorV1beta1ReplayResultsSummary
|
710
|
-
include Google::Apis::Core::Hashable
|
711
|
-
|
712
|
-
# The number of replayed log entries with a difference between baseline and
|
713
|
-
# simulated policies.
|
714
|
-
# Corresponds to the JSON property `differenceCount`
|
715
|
-
# @return [Fixnum]
|
716
|
-
attr_accessor :difference_count
|
717
|
-
|
718
|
-
# The number of log entries that could not be replayed.
|
719
|
-
# Corresponds to the JSON property `errorCount`
|
720
|
-
# @return [Fixnum]
|
721
|
-
attr_accessor :error_count
|
722
|
-
|
723
|
-
# The total number of log entries replayed.
|
724
|
-
# Corresponds to the JSON property `logCount`
|
725
|
-
# @return [Fixnum]
|
726
|
-
attr_accessor :log_count
|
727
|
-
|
728
|
-
# Represents a whole or partial calendar date, such as a birthday. The time of
|
729
|
-
# day and time zone are either specified elsewhere or are insignificant. The
|
730
|
-
# date is relative to the Gregorian Calendar. This can represent one of the
|
731
|
-
# following: * A full date, with non-zero year, month, and day values. * A month
|
732
|
-
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
733
|
-
# with a zero month and a zero day. * A year and month, with a zero day (for
|
734
|
-
# example, a credit card expiration date). Related types: * google.type.
|
735
|
-
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
736
|
-
# Corresponds to the JSON property `newestDate`
|
737
|
-
# @return [Google::Apis::PolicysimulatorV1::GoogleTypeDate]
|
738
|
-
attr_accessor :newest_date
|
739
|
-
|
740
|
-
# Represents a whole or partial calendar date, such as a birthday. The time of
|
741
|
-
# day and time zone are either specified elsewhere or are insignificant. The
|
742
|
-
# date is relative to the Gregorian Calendar. This can represent one of the
|
743
|
-
# following: * A full date, with non-zero year, month, and day values. * A month
|
744
|
-
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
745
|
-
# with a zero month and a zero day. * A year and month, with a zero day (for
|
746
|
-
# example, a credit card expiration date). Related types: * google.type.
|
747
|
-
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
748
|
-
# Corresponds to the JSON property `oldestDate`
|
749
|
-
# @return [Google::Apis::PolicysimulatorV1::GoogleTypeDate]
|
750
|
-
attr_accessor :oldest_date
|
751
|
-
|
752
|
-
# The number of replayed log entries with no difference between baseline and
|
753
|
-
# simulated policies.
|
754
|
-
# Corresponds to the JSON property `unchangedCount`
|
755
|
-
# @return [Fixnum]
|
756
|
-
attr_accessor :unchanged_count
|
757
|
-
|
758
|
-
def initialize(**args)
|
759
|
-
update!(**args)
|
760
|
-
end
|
761
|
-
|
762
|
-
# Update properties of this object
|
763
|
-
def update!(**args)
|
764
|
-
@difference_count = args[:difference_count] if args.key?(:difference_count)
|
765
|
-
@error_count = args[:error_count] if args.key?(:error_count)
|
766
|
-
@log_count = args[:log_count] if args.key?(:log_count)
|
767
|
-
@newest_date = args[:newest_date] if args.key?(:newest_date)
|
768
|
-
@oldest_date = args[:oldest_date] if args.key?(:oldest_date)
|
769
|
-
@unchanged_count = args[:unchanged_count] if args.key?(:unchanged_count)
|
770
|
-
end
|
771
|
-
end
|
772
|
-
|
773
615
|
# Specifies the audit configuration for a service. The configuration determines
|
774
616
|
# which permission types are logged, and what identities, if any, are exempted
|
775
617
|
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module PolicysimulatorV1
|
18
18
|
# Version of the google-apis-policysimulator_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.25.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230326"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -100,30 +100,6 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
-
class GoogleCloudPolicysimulatorV1beta1Replay
|
104
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
-
|
106
|
-
include Google::Apis::Core::JsonObjectSupport
|
107
|
-
end
|
108
|
-
|
109
|
-
class GoogleCloudPolicysimulatorV1beta1ReplayConfig
|
110
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
-
|
112
|
-
include Google::Apis::Core::JsonObjectSupport
|
113
|
-
end
|
114
|
-
|
115
|
-
class GoogleCloudPolicysimulatorV1beta1ReplayOperationMetadata
|
116
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
-
|
118
|
-
include Google::Apis::Core::JsonObjectSupport
|
119
|
-
end
|
120
|
-
|
121
|
-
class GoogleCloudPolicysimulatorV1beta1ReplayResultsSummary
|
122
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
-
|
124
|
-
include Google::Apis::Core::JsonObjectSupport
|
125
|
-
end
|
126
|
-
|
127
103
|
class GoogleIamV1AuditConfig
|
128
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
105
|
|
@@ -320,48 +296,6 @@ module Google
|
|
320
296
|
end
|
321
297
|
end
|
322
298
|
|
323
|
-
class GoogleCloudPolicysimulatorV1beta1Replay
|
324
|
-
# @private
|
325
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
326
|
-
property :config, as: 'config', class: Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1beta1ReplayConfig, decorator: Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1beta1ReplayConfig::Representation
|
327
|
-
|
328
|
-
property :name, as: 'name'
|
329
|
-
property :results_summary, as: 'resultsSummary', class: Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1beta1ReplayResultsSummary, decorator: Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1beta1ReplayResultsSummary::Representation
|
330
|
-
|
331
|
-
property :state, as: 'state'
|
332
|
-
end
|
333
|
-
end
|
334
|
-
|
335
|
-
class GoogleCloudPolicysimulatorV1beta1ReplayConfig
|
336
|
-
# @private
|
337
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
338
|
-
property :log_source, as: 'logSource'
|
339
|
-
hash :policy_overlay, as: 'policyOverlay', class: Google::Apis::PolicysimulatorV1::GoogleIamV1Policy, decorator: Google::Apis::PolicysimulatorV1::GoogleIamV1Policy::Representation
|
340
|
-
|
341
|
-
end
|
342
|
-
end
|
343
|
-
|
344
|
-
class GoogleCloudPolicysimulatorV1beta1ReplayOperationMetadata
|
345
|
-
# @private
|
346
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
347
|
-
property :start_time, as: 'startTime'
|
348
|
-
end
|
349
|
-
end
|
350
|
-
|
351
|
-
class GoogleCloudPolicysimulatorV1beta1ReplayResultsSummary
|
352
|
-
# @private
|
353
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
354
|
-
property :difference_count, as: 'differenceCount'
|
355
|
-
property :error_count, as: 'errorCount'
|
356
|
-
property :log_count, as: 'logCount'
|
357
|
-
property :newest_date, as: 'newestDate', class: Google::Apis::PolicysimulatorV1::GoogleTypeDate, decorator: Google::Apis::PolicysimulatorV1::GoogleTypeDate::Representation
|
358
|
-
|
359
|
-
property :oldest_date, as: 'oldestDate', class: Google::Apis::PolicysimulatorV1::GoogleTypeDate, decorator: Google::Apis::PolicysimulatorV1::GoogleTypeDate::Representation
|
360
|
-
|
361
|
-
property :unchanged_count, as: 'unchangedCount'
|
362
|
-
end
|
363
|
-
end
|
364
|
-
|
365
299
|
class GoogleIamV1AuditConfig
|
366
300
|
# @private
|
367
301
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -55,37 +55,6 @@ module Google
|
|
55
55
|
@batch_path = 'batch'
|
56
56
|
end
|
57
57
|
|
58
|
-
# Gets the latest state of a long-running operation. Clients can use this method
|
59
|
-
# to poll the operation result at intervals as recommended by the API service.
|
60
|
-
# @param [String] name
|
61
|
-
# The name of the operation resource.
|
62
|
-
# @param [String] fields
|
63
|
-
# Selector specifying which fields to include in a partial response.
|
64
|
-
# @param [String] quota_user
|
65
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
66
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
67
|
-
# @param [Google::Apis::RequestOptions] options
|
68
|
-
# Request-specific options
|
69
|
-
#
|
70
|
-
# @yield [result, err] Result & error if block supplied
|
71
|
-
# @yieldparam result [Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation] parsed result object
|
72
|
-
# @yieldparam err [StandardError] error object if request failed
|
73
|
-
#
|
74
|
-
# @return [Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation]
|
75
|
-
#
|
76
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
77
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
78
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
79
|
-
def get_folder_location_org_policy_violations_preview_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
80
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
81
|
-
command.response_representation = Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation::Representation
|
82
|
-
command.response_class = Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation
|
83
|
-
command.params['name'] = name unless name.nil?
|
84
|
-
command.query['fields'] = fields unless fields.nil?
|
85
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
86
|
-
execute_or_queue_command(command, &block)
|
87
|
-
end
|
88
|
-
|
89
58
|
# Creates and starts a Replay using the given ReplayConfig.
|
90
59
|
# @param [String] parent
|
91
60
|
# Required. The parent resource where this Replay will be created. This resource
|
@@ -187,13 +156,7 @@ module Google
|
|
187
156
|
end
|
188
157
|
|
189
158
|
# Lists operations that match the specified filter in the request. If the server
|
190
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
191
|
-
# binding allows API services to override the binding to use different resource
|
192
|
-
# name schemes, such as `users/*/operations`. To override the binding, API
|
193
|
-
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
194
|
-
# service configuration. For backwards compatibility, the default name includes
|
195
|
-
# the operations collection id, however overriding users must ensure the name
|
196
|
-
# binding is the parent resource, without the operations collection id.
|
159
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
197
160
|
# @param [String] name
|
198
161
|
# The name of the operation's parent resource.
|
199
162
|
# @param [String] filter
|
@@ -307,13 +270,7 @@ module Google
|
|
307
270
|
end
|
308
271
|
|
309
272
|
# Lists operations that match the specified filter in the request. If the server
|
310
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
311
|
-
# binding allows API services to override the binding to use different resource
|
312
|
-
# name schemes, such as `users/*/operations`. To override the binding, API
|
313
|
-
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
314
|
-
# service configuration. For backwards compatibility, the default name includes
|
315
|
-
# the operations collection id, however overriding users must ensure the name
|
316
|
-
# binding is the parent resource, without the operations collection id.
|
273
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
317
274
|
# @param [String] name
|
318
275
|
# The name of the operation's parent resource.
|
319
276
|
# @param [String] filter
|
@@ -352,37 +309,6 @@ module Google
|
|
352
309
|
execute_or_queue_command(command, &block)
|
353
310
|
end
|
354
311
|
|
355
|
-
# Gets the latest state of a long-running operation. Clients can use this method
|
356
|
-
# to poll the operation result at intervals as recommended by the API service.
|
357
|
-
# @param [String] name
|
358
|
-
# The name of the operation resource.
|
359
|
-
# @param [String] fields
|
360
|
-
# Selector specifying which fields to include in a partial response.
|
361
|
-
# @param [String] quota_user
|
362
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
363
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
364
|
-
# @param [Google::Apis::RequestOptions] options
|
365
|
-
# Request-specific options
|
366
|
-
#
|
367
|
-
# @yield [result, err] Result & error if block supplied
|
368
|
-
# @yieldparam result [Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation] parsed result object
|
369
|
-
# @yieldparam err [StandardError] error object if request failed
|
370
|
-
#
|
371
|
-
# @return [Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation]
|
372
|
-
#
|
373
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
374
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
375
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
376
|
-
def get_organization_location_org_policy_violations_preview_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
377
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
378
|
-
command.response_representation = Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation::Representation
|
379
|
-
command.response_class = Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation
|
380
|
-
command.params['name'] = name unless name.nil?
|
381
|
-
command.query['fields'] = fields unless fields.nil?
|
382
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
383
|
-
execute_or_queue_command(command, &block)
|
384
|
-
end
|
385
|
-
|
386
312
|
# Creates and starts a Replay using the given ReplayConfig.
|
387
313
|
# @param [String] parent
|
388
314
|
# Required. The parent resource where this Replay will be created. This resource
|
@@ -484,13 +410,7 @@ module Google
|
|
484
410
|
end
|
485
411
|
|
486
412
|
# Lists operations that match the specified filter in the request. If the server
|
487
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
488
|
-
# binding allows API services to override the binding to use different resource
|
489
|
-
# name schemes, such as `users/*/operations`. To override the binding, API
|
490
|
-
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
491
|
-
# service configuration. For backwards compatibility, the default name includes
|
492
|
-
# the operations collection id, however overriding users must ensure the name
|
493
|
-
# binding is the parent resource, without the operations collection id.
|
413
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
494
414
|
# @param [String] name
|
495
415
|
# The name of the operation's parent resource.
|
496
416
|
# @param [String] filter
|
@@ -572,37 +492,6 @@ module Google
|
|
572
492
|
execute_or_queue_command(command, &block)
|
573
493
|
end
|
574
494
|
|
575
|
-
# Gets the latest state of a long-running operation. Clients can use this method
|
576
|
-
# to poll the operation result at intervals as recommended by the API service.
|
577
|
-
# @param [String] name
|
578
|
-
# The name of the operation resource.
|
579
|
-
# @param [String] fields
|
580
|
-
# Selector specifying which fields to include in a partial response.
|
581
|
-
# @param [String] quota_user
|
582
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
583
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
584
|
-
# @param [Google::Apis::RequestOptions] options
|
585
|
-
# Request-specific options
|
586
|
-
#
|
587
|
-
# @yield [result, err] Result & error if block supplied
|
588
|
-
# @yieldparam result [Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation] parsed result object
|
589
|
-
# @yieldparam err [StandardError] error object if request failed
|
590
|
-
#
|
591
|
-
# @return [Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation]
|
592
|
-
#
|
593
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
594
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
595
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
596
|
-
def get_project_location_org_policy_violations_preview_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
597
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
598
|
-
command.response_representation = Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation::Representation
|
599
|
-
command.response_class = Google::Apis::PolicysimulatorV1::GoogleLongrunningOperation
|
600
|
-
command.params['name'] = name unless name.nil?
|
601
|
-
command.query['fields'] = fields unless fields.nil?
|
602
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
603
|
-
execute_or_queue_command(command, &block)
|
604
|
-
end
|
605
|
-
|
606
495
|
# Creates and starts a Replay using the given ReplayConfig.
|
607
496
|
# @param [String] parent
|
608
497
|
# Required. The parent resource where this Replay will be created. This resource
|
@@ -704,13 +593,7 @@ module Google
|
|
704
593
|
end
|
705
594
|
|
706
595
|
# Lists operations that match the specified filter in the request. If the server
|
707
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
708
|
-
# binding allows API services to override the binding to use different resource
|
709
|
-
# name schemes, such as `users/*/operations`. To override the binding, API
|
710
|
-
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
711
|
-
# service configuration. For backwards compatibility, the default name includes
|
712
|
-
# the operations collection id, however overriding users must ensure the name
|
713
|
-
# binding is the parent resource, without the operations collection id.
|
596
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
714
597
|
# @param [String] name
|
715
598
|
# The name of the operation's parent resource.
|
716
599
|
# @param [String] filter
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-policysimulator_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.25.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02
|
11
|
+
date: 2023-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-policysimulator_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1/v0.25.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-policysimulator_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|