google-apis-beyondcorp_v1alpha 0.36.0 → 0.38.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b51d43c1a47ae74b892681a10800c1fb2a72109e622f614a49e02dbb918b415b
4
- data.tar.gz: fa60a73fc8d716c40a33bc05d838461af03df6cb9c8061775174708b25e1f3c8
3
+ metadata.gz: 78ff25d1e8acd408ce80f5cef5664d5a360d13d445318f6e5b7f1ef2eeb62ec0
4
+ data.tar.gz: 1eb593a0c41066a2ef36ee95e378f56eb395f0b6029a2b15e669f6e4ea18ec7a
5
5
  SHA512:
6
- metadata.gz: 34acbca88caf50c91f014218c9a7df2be1c5071c42810c4409e536dd040fcef010f2cbe5fad3056de0499980732f074c13fb9f1c3caea25fddf81d8e31a07fb9
7
- data.tar.gz: f17e1d5375110bfbfe2d7448b66d125eab32f16ffcbbbae69dbec953384fc0436ea76e55f1fb1f4799816b94d79612f08a4b07ccd43270bec7da82ed44d77496
6
+ metadata.gz: 71d1ca5ea064e43722e593e897e7374b7305771a491e3215475204d2099f4a6b78e5e9983c52639351b6bf210089ca5f14fd9504f889fe4a8dca17ea3840a1ce
7
+ data.tar.gz: '080226a21d4b178f0b767ac4c59fb9776afddf13f6b506c063dbc63ac8a007c703d9f1bffbae667e0cad39f4c988bba1a071600dc06597280b630ae7b420985c'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-beyondcorp_v1alpha
2
2
 
3
+ ### v0.38.0 (2024-05-19)
4
+
5
+ * Regenerated from discovery document revision 20240508
6
+ * Regenerated using generator version 0.15.0
7
+
8
+ ### v0.37.0 (2024-05-05)
9
+
10
+ * Regenerated from discovery document revision 20240424
11
+
3
12
  ### v0.36.0 (2024-04-28)
4
13
 
5
14
  * Regenerated from discovery document revision 20240417
@@ -86,6 +86,18 @@ module Google
86
86
  # @return [String]
87
87
  attr_accessor :name
88
88
 
89
+ # Output only. Reserved for future use.
90
+ # Corresponds to the JSON property `satisfiesPzi`
91
+ # @return [Boolean]
92
+ attr_accessor :satisfies_pzi
93
+ alias_method :satisfies_pzi?, :satisfies_pzi
94
+
95
+ # Output only. Reserved for future use.
96
+ # Corresponds to the JSON property `satisfiesPzs`
97
+ # @return [Boolean]
98
+ attr_accessor :satisfies_pzs
99
+ alias_method :satisfies_pzs?, :satisfies_pzs
100
+
89
101
  # Output only. The current state of the AppGateway.
90
102
  # Corresponds to the JSON property `state`
91
103
  # @return [String]
@@ -123,6 +135,8 @@ module Google
123
135
  @host_type = args[:host_type] if args.key?(:host_type)
124
136
  @labels = args[:labels] if args.key?(:labels)
125
137
  @name = args[:name] if args.key?(:name)
138
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
139
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
126
140
  @state = args[:state] if args.key?(:state)
127
141
  @type = args[:type] if args.key?(:type)
128
142
  @uid = args[:uid] if args.key?(:uid)
@@ -920,6 +934,18 @@ module Google
920
934
  # @return [String]
921
935
  attr_accessor :name
922
936
 
937
+ # Output only. Reserved for future use.
938
+ # Corresponds to the JSON property `satisfiesPzi`
939
+ # @return [Boolean]
940
+ attr_accessor :satisfies_pzi
941
+ alias_method :satisfies_pzi?, :satisfies_pzi
942
+
943
+ # Output only. Reserved for future use.
944
+ # Corresponds to the JSON property `satisfiesPzs`
945
+ # @return [Boolean]
946
+ attr_accessor :satisfies_pzs
947
+ alias_method :satisfies_pzs?, :satisfies_pzs
948
+
923
949
  # Output only. The current state of the AppConnection.
924
950
  # Corresponds to the JSON property `state`
925
951
  # @return [String]
@@ -953,6 +979,8 @@ module Google
953
979
  @gateway = args[:gateway] if args.key?(:gateway)
954
980
  @labels = args[:labels] if args.key?(:labels)
955
981
  @name = args[:name] if args.key?(:name)
982
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
983
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
956
984
  @state = args[:state] if args.key?(:state)
957
985
  @type = args[:type] if args.key?(:type)
958
986
  @uid = args[:uid] if args.key?(:uid)
@@ -2656,6 +2684,25 @@ module Google
2656
2684
  end
2657
2685
  end
2658
2686
 
2687
+ # Response message for BeyondCorp.CancelSubscription
2688
+ class GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaCancelSubscriptionResponse
2689
+ include Google::Apis::Core::Hashable
2690
+
2691
+ # Time when the cancellation will become effective
2692
+ # Corresponds to the JSON property `effectiveCancellationTime`
2693
+ # @return [String]
2694
+ attr_accessor :effective_cancellation_time
2695
+
2696
+ def initialize(**args)
2697
+ update!(**args)
2698
+ end
2699
+
2700
+ # Update properties of this object
2701
+ def update!(**args)
2702
+ @effective_cancellation_time = args[:effective_cancellation_time] if args.key?(:effective_cancellation_time)
2703
+ end
2704
+ end
2705
+
2659
2706
  # Response message for BeyondCorp.ListSubscriptions.
2660
2707
  class GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaListSubscriptionsResponse
2661
2708
  include Google::Apis::Core::Hashable
@@ -2682,6 +2729,19 @@ module Google
2682
2729
  end
2683
2730
  end
2684
2731
 
2732
+ # Response message for BeyondCorp.RestartSubscription
2733
+ class GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaRestartSubscriptionResponse
2734
+ include Google::Apis::Core::Hashable
2735
+
2736
+ def initialize(**args)
2737
+ update!(**args)
2738
+ end
2739
+
2740
+ # Update properties of this object
2741
+ def update!(**args)
2742
+ end
2743
+ end
2744
+
2685
2745
  # A BeyondCorp Subscription resource represents BeyondCorp Enterprise
2686
2746
  # Subscription. BeyondCorp Enterprise Subscription enables BeyondCorp Enterprise
2687
2747
  # permium features for an organization.
@@ -2695,6 +2755,12 @@ module Google
2695
2755
  attr_accessor :auto_renew_enabled
2696
2756
  alias_method :auto_renew_enabled?, :auto_renew_enabled
2697
2757
 
2758
+ # Optional. Name of the billing account in the format. e.g. billingAccounts/
2759
+ # 123456-123456-123456 Required if Subscription is of Paid type.
2760
+ # Corresponds to the JSON property `billingAccount`
2761
+ # @return [String]
2762
+ attr_accessor :billing_account
2763
+
2698
2764
  # Output only. Create time of the subscription.
2699
2765
  # Corresponds to the JSON property `createTime`
2700
2766
  # @return [String]
@@ -2743,6 +2809,7 @@ module Google
2743
2809
  # Update properties of this object
2744
2810
  def update!(**args)
2745
2811
  @auto_renew_enabled = args[:auto_renew_enabled] if args.key?(:auto_renew_enabled)
2812
+ @billing_account = args[:billing_account] if args.key?(:billing_account)
2746
2813
  @create_time = args[:create_time] if args.key?(:create_time)
2747
2814
  @end_time = args[:end_time] if args.key?(:end_time)
2748
2815
  @name = args[:name] if args.key?(:name)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BeyondcorpV1alpha
18
18
  # Version of the google-apis-beyondcorp_v1alpha gem
19
- GEM_VERSION = "0.36.0"
19
+ GEM_VERSION = "0.38.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240417"
25
+ REVISION = "20240508"
26
26
  end
27
27
  end
28
28
  end
@@ -424,12 +424,24 @@ module Google
424
424
  include Google::Apis::Core::JsonObjectSupport
425
425
  end
426
426
 
427
+ class GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaCancelSubscriptionResponse
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
427
433
  class GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaListSubscriptionsResponse
428
434
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
435
 
430
436
  include Google::Apis::Core::JsonObjectSupport
431
437
  end
432
438
 
439
+ class GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaRestartSubscriptionResponse
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
433
445
  class GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription
434
446
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
447
 
@@ -640,6 +652,8 @@ module Google
640
652
  property :host_type, as: 'hostType'
641
653
  hash :labels, as: 'labels'
642
654
  property :name, as: 'name'
655
+ property :satisfies_pzi, as: 'satisfiesPzi'
656
+ property :satisfies_pzs, as: 'satisfiesPzs'
643
657
  property :state, as: 'state'
644
658
  property :type, as: 'type'
645
659
  property :uid, as: 'uid'
@@ -847,6 +861,8 @@ module Google
847
861
 
848
862
  hash :labels, as: 'labels'
849
863
  property :name, as: 'name'
864
+ property :satisfies_pzi, as: 'satisfiesPzi'
865
+ property :satisfies_pzs, as: 'satisfiesPzs'
850
866
  property :state, as: 'state'
851
867
  property :type, as: 'type'
852
868
  property :uid, as: 'uid'
@@ -1332,6 +1348,13 @@ module Google
1332
1348
  end
1333
1349
  end
1334
1350
 
1351
+ class GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaCancelSubscriptionResponse
1352
+ # @private
1353
+ class Representation < Google::Apis::Core::JsonRepresentation
1354
+ property :effective_cancellation_time, as: 'effectiveCancellationTime'
1355
+ end
1356
+ end
1357
+
1335
1358
  class GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaListSubscriptionsResponse
1336
1359
  # @private
1337
1360
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1341,10 +1364,17 @@ module Google
1341
1364
  end
1342
1365
  end
1343
1366
 
1367
+ class GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaRestartSubscriptionResponse
1368
+ # @private
1369
+ class Representation < Google::Apis::Core::JsonRepresentation
1370
+ end
1371
+ end
1372
+
1344
1373
  class GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription
1345
1374
  # @private
1346
1375
  class Representation < Google::Apis::Core::JsonRepresentation
1347
1376
  property :auto_renew_enabled, as: 'autoRenewEnabled'
1377
+ property :billing_account, as: 'billingAccount'
1348
1378
  property :create_time, as: 'createTime'
1349
1379
  property :end_time, as: 'endTime'
1350
1380
  property :name, as: 'name'
@@ -1408,6 +1408,51 @@ module Google
1408
1408
  execute_or_queue_command(command, &block)
1409
1409
  end
1410
1410
 
1411
+ # Cancels an existing BeyondCorp Enterprise Subscription in a given organization.
1412
+ # Location will always be global as BeyondCorp subscriptions are per
1413
+ # organization. Returns the timestamp for when the cancellation will become
1414
+ # effective
1415
+ # @param [String] name
1416
+ # Required. Name of the resource.
1417
+ # @param [String] request_id
1418
+ # Optional. An optional request ID to identify requests. Specify a unique
1419
+ # request ID so that if you must retry your request, the server will know to
1420
+ # ignore the request if it has already been completed. The server will guarantee
1421
+ # that for at least 60 minutes after the first request. For example, consider a
1422
+ # situation where you make an initial request and the request times out. If you
1423
+ # make the request again with the same request ID, the server can check if
1424
+ # original operation with the same request ID was received, and if so, will
1425
+ # ignore the second request. This prevents clients from accidentally creating
1426
+ # duplicate commitments. The request ID must be a valid UUID with the exception
1427
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1428
+ # @param [String] fields
1429
+ # Selector specifying which fields to include in a partial response.
1430
+ # @param [String] quota_user
1431
+ # Available to use for quota purposes for server-side applications. Can be any
1432
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1433
+ # @param [Google::Apis::RequestOptions] options
1434
+ # Request-specific options
1435
+ #
1436
+ # @yield [result, err] Result & error if block supplied
1437
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaCancelSubscriptionResponse] parsed result object
1438
+ # @yieldparam err [StandardError] error object if request failed
1439
+ #
1440
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaCancelSubscriptionResponse]
1441
+ #
1442
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1443
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1444
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1445
+ def cancel_organization_location_subscription(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1446
+ command = make_simple_command(:get, 'v1alpha/{+name}:cancel', options)
1447
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaCancelSubscriptionResponse::Representation
1448
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaCancelSubscriptionResponse
1449
+ command.params['name'] = name unless name.nil?
1450
+ command.query['requestId'] = request_id unless request_id.nil?
1451
+ command.query['fields'] = fields unless fields.nil?
1452
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1453
+ execute_or_queue_command(command, &block)
1454
+ end
1455
+
1411
1456
  # Creates a new BeyondCorp Enterprise Subscription in a given organization.
1412
1457
  # Location will always be global as BeyondCorp subscriptions are per
1413
1458
  # organization.
@@ -1539,8 +1584,7 @@ module Google
1539
1584
  # Required. Field mask is used to specify the fields to be overwritten in the
1540
1585
  # Subscription resource by the update. The fields specified in the update_mask
1541
1586
  # are relative to the resource, not the full request. A field will be
1542
- # overwritten if it is in the mask. If the user does not provide a mask then all
1543
- # mutable fields will be overwritten. Mutable fields: type, state.
1587
+ # overwritten if it is in the mask. Mutable fields: seat_count.
1544
1588
  # @param [String] fields
1545
1589
  # Selector specifying which fields to include in a partial response.
1546
1590
  # @param [String] quota_user
@@ -1572,6 +1616,51 @@ module Google
1572
1616
  execute_or_queue_command(command, &block)
1573
1617
  end
1574
1618
 
1619
+ # Restarts an existing BeyondCorp Enterprise Subscription in a given
1620
+ # organization, that is scheduled for cancellation. Location will always be
1621
+ # global as BeyondCorp subscriptions are per organization. Returns the timestamp
1622
+ # for when the cancellation will become effective
1623
+ # @param [String] name
1624
+ # Required. Name of the resource.
1625
+ # @param [String] request_id
1626
+ # Optional. An optional request ID to identify requests. Specify a unique
1627
+ # request ID so that if you must retry your request, the server will know to
1628
+ # ignore the request if it has already been completed. The server will guarantee
1629
+ # that for at least 60 minutes after the first request. For example, consider a
1630
+ # situation where you make an initial request and the request times out. If you
1631
+ # make the request again with the same request ID, the server can check if
1632
+ # original operation with the same request ID was received, and if so, will
1633
+ # ignore the second request. This prevents clients from accidentally creating
1634
+ # duplicate commitments. The request ID must be a valid UUID with the exception
1635
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1636
+ # @param [String] fields
1637
+ # Selector specifying which fields to include in a partial response.
1638
+ # @param [String] quota_user
1639
+ # Available to use for quota purposes for server-side applications. Can be any
1640
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1641
+ # @param [Google::Apis::RequestOptions] options
1642
+ # Request-specific options
1643
+ #
1644
+ # @yield [result, err] Result & error if block supplied
1645
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaRestartSubscriptionResponse] parsed result object
1646
+ # @yieldparam err [StandardError] error object if request failed
1647
+ #
1648
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaRestartSubscriptionResponse]
1649
+ #
1650
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1651
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1652
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1653
+ def restart_organization_location_subscription(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1654
+ command = make_simple_command(:get, 'v1alpha/{+name}:restart', options)
1655
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaRestartSubscriptionResponse::Representation
1656
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaRestartSubscriptionResponse
1657
+ command.params['name'] = name unless name.nil?
1658
+ command.query['requestId'] = request_id unless request_id.nil?
1659
+ command.query['fields'] = fields unless fields.nil?
1660
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1661
+ execute_or_queue_command(command, &block)
1662
+ end
1663
+
1575
1664
  # Gets information about a location.
1576
1665
  # @param [String] name
1577
1666
  # Resource name for the location.
@@ -4670,6 +4759,51 @@ module Google
4670
4759
  execute_or_queue_command(command, &block)
4671
4760
  end
4672
4761
 
4762
+ # Gets the access control policy for a resource. Returns an empty policy if the
4763
+ # resource exists and does not have a policy set.
4764
+ # @param [String] resource
4765
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
4766
+ # names](https://cloud.google.com/apis/design/resource_names) for the
4767
+ # appropriate value for this field.
4768
+ # @param [Fixnum] options_requested_policy_version
4769
+ # Optional. The maximum policy version that will be used to format the policy.
4770
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
4771
+ # rejected. Requests for policies with any conditional role bindings must
4772
+ # specify version 3. Policies with no conditional role bindings may specify any
4773
+ # valid value or leave the field unset. The policy in the response might use the
4774
+ # policy version that you specified, or it might use a lower policy version. For
4775
+ # example, if you specify version 3, but the policy has no conditional role
4776
+ # bindings, the response uses version 1. To learn which resources support
4777
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
4778
+ # google.com/iam/help/conditions/resource-policies).
4779
+ # @param [String] fields
4780
+ # Selector specifying which fields to include in a partial response.
4781
+ # @param [String] quota_user
4782
+ # Available to use for quota purposes for server-side applications. Can be any
4783
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4784
+ # @param [Google::Apis::RequestOptions] options
4785
+ # Request-specific options
4786
+ #
4787
+ # @yield [result, err] Result & error if block supplied
4788
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
4789
+ # @yieldparam err [StandardError] error object if request failed
4790
+ #
4791
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
4792
+ #
4793
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4794
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4795
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4796
+ def get_project_location_security_gateway_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
4797
+ command = make_simple_command(:get, 'v1alpha/{+resource}:getIamPolicy', options)
4798
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
4799
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
4800
+ command.params['resource'] = resource unless resource.nil?
4801
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
4802
+ command.query['fields'] = fields unless fields.nil?
4803
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4804
+ execute_or_queue_command(command, &block)
4805
+ end
4806
+
4673
4807
  # Lists SecurityGateways in a given project and location.
4674
4808
  # @param [String] parent
4675
4809
  # Required. The parent location to which the resources belong. `projects/`
@@ -4769,6 +4903,82 @@ module Google
4769
4903
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4770
4904
  execute_or_queue_command(command, &block)
4771
4905
  end
4906
+
4907
+ # Sets the access control policy on the specified resource. Replaces any
4908
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
4909
+ # PERMISSION_DENIED` errors.
4910
+ # @param [String] resource
4911
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
4912
+ # names](https://cloud.google.com/apis/design/resource_names) for the
4913
+ # appropriate value for this field.
4914
+ # @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
4915
+ # @param [String] fields
4916
+ # Selector specifying which fields to include in a partial response.
4917
+ # @param [String] quota_user
4918
+ # Available to use for quota purposes for server-side applications. Can be any
4919
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4920
+ # @param [Google::Apis::RequestOptions] options
4921
+ # Request-specific options
4922
+ #
4923
+ # @yield [result, err] Result & error if block supplied
4924
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
4925
+ # @yieldparam err [StandardError] error object if request failed
4926
+ #
4927
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
4928
+ #
4929
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4930
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4931
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4932
+ def set_project_location_security_gateway_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4933
+ command = make_simple_command(:post, 'v1alpha/{+resource}:setIamPolicy', options)
4934
+ command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest::Representation
4935
+ command.request_object = google_iam_v1_set_iam_policy_request_object
4936
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
4937
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
4938
+ command.params['resource'] = resource unless resource.nil?
4939
+ command.query['fields'] = fields unless fields.nil?
4940
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4941
+ execute_or_queue_command(command, &block)
4942
+ end
4943
+
4944
+ # Returns permissions that a caller has on the specified resource. If the
4945
+ # resource does not exist, this will return an empty set of permissions, not a `
4946
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
4947
+ # permission-aware UIs and command-line tools, not for authorization checking.
4948
+ # This operation may "fail open" without warning.
4949
+ # @param [String] resource
4950
+ # REQUIRED: The resource for which the policy detail is being requested. See [
4951
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
4952
+ # appropriate value for this field.
4953
+ # @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
4954
+ # @param [String] fields
4955
+ # Selector specifying which fields to include in a partial response.
4956
+ # @param [String] quota_user
4957
+ # Available to use for quota purposes for server-side applications. Can be any
4958
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4959
+ # @param [Google::Apis::RequestOptions] options
4960
+ # Request-specific options
4961
+ #
4962
+ # @yield [result, err] Result & error if block supplied
4963
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse] parsed result object
4964
+ # @yieldparam err [StandardError] error object if request failed
4965
+ #
4966
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse]
4967
+ #
4968
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4969
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4970
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4971
+ def test_project_location_security_gateway_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4972
+ command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
4973
+ command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest::Representation
4974
+ command.request_object = google_iam_v1_test_iam_permissions_request_object
4975
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse::Representation
4976
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse
4977
+ command.params['resource'] = resource unless resource.nil?
4978
+ command.query['fields'] = fields unless fields.nil?
4979
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4980
+ execute_or_queue_command(command, &block)
4981
+ end
4772
4982
 
4773
4983
  protected
4774
4984
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-beyondcorp_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.36.0
4
+ version: 0.38.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: 2024-04-28 00:00:00.000000000 Z
11
+ date: 2024-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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-beyondcorp_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.38.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-beyondcorp_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []