google-apis-beyondcorp_v1alpha 0.35.0 → 0.37.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: '083a0013740ba912e4df29d215d8dfd5ab4272d8bb82243476f505598eb9ff11'
4
- data.tar.gz: 6da3c7cb80f6b7e74cda4970cdedfd541ea7f5afada184543bae1514e66ef3a4
3
+ metadata.gz: ec6967dbd681ac2db1564368d0198dac55e506bbe8a42f2aa429f519acd8c366
4
+ data.tar.gz: 4441d9b872599ed39b2add9cf9a89c994cca36f1f05fb2e410cb9861986b05b4
5
5
  SHA512:
6
- metadata.gz: a7b2864b5f40c5eedbdd3c5dac0895cecdd2496e05a0a670217c770c5f8726f45b2d37b3126856e18957d74158c6e5b610343c35ce995da3c903164f5793cc9f
7
- data.tar.gz: 57d8bca10455a278737e866dbc7d9bad158f624b4bf5ba74157a6397acbd187433012cff31abfa15a4585b4750f0e4b8241922c415bc0e221d55ad34f29d3ccb
6
+ metadata.gz: 29b4a9f2081a6205962cf1c20f2e19f86c5b3df08a914124c2cea1a0196aaac16f44c1af4b8adc21327a88682722eef6b1f1de719715945427a8a3630487b07e
7
+ data.tar.gz: 1e5b6753c36e3cfb6bb8e29a04c7776247f99ea961c16135d44800ea5f8bfe0b71a271d89c8b155eb8d07f30f0806db055f87ba73c4ceef7e1ea624acac5a910
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-beyondcorp_v1alpha
2
2
 
3
+ ### v0.37.0 (2024-05-05)
4
+
5
+ * Regenerated from discovery document revision 20240424
6
+
7
+ ### v0.36.0 (2024-04-28)
8
+
9
+ * Regenerated from discovery document revision 20240417
10
+
3
11
  ### v0.35.0 (2024-04-21)
4
12
 
5
13
  * Regenerated from discovery document revision 20240410
@@ -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
@@ -2695,6 +2742,12 @@ module Google
2695
2742
  attr_accessor :auto_renew_enabled
2696
2743
  alias_method :auto_renew_enabled?, :auto_renew_enabled
2697
2744
 
2745
+ # Optional. Name of the billing account in the format. e.g. billingAccounts/
2746
+ # 123456-123456-123456 Required if Subscription is of Paid type.
2747
+ # Corresponds to the JSON property `billingAccount`
2748
+ # @return [String]
2749
+ attr_accessor :billing_account
2750
+
2698
2751
  # Output only. Create time of the subscription.
2699
2752
  # Corresponds to the JSON property `createTime`
2700
2753
  # @return [String]
@@ -2743,6 +2796,7 @@ module Google
2743
2796
  # Update properties of this object
2744
2797
  def update!(**args)
2745
2798
  @auto_renew_enabled = args[:auto_renew_enabled] if args.key?(:auto_renew_enabled)
2799
+ @billing_account = args[:billing_account] if args.key?(:billing_account)
2746
2800
  @create_time = args[:create_time] if args.key?(:create_time)
2747
2801
  @end_time = args[:end_time] if args.key?(:end_time)
2748
2802
  @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.35.0"
19
+ GEM_VERSION = "0.37.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240410"
25
+ REVISION = "20240424"
26
26
  end
27
27
  end
28
28
  end
@@ -424,6 +424,12 @@ 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
 
@@ -640,6 +646,8 @@ module Google
640
646
  property :host_type, as: 'hostType'
641
647
  hash :labels, as: 'labels'
642
648
  property :name, as: 'name'
649
+ property :satisfies_pzi, as: 'satisfiesPzi'
650
+ property :satisfies_pzs, as: 'satisfiesPzs'
643
651
  property :state, as: 'state'
644
652
  property :type, as: 'type'
645
653
  property :uid, as: 'uid'
@@ -847,6 +855,8 @@ module Google
847
855
 
848
856
  hash :labels, as: 'labels'
849
857
  property :name, as: 'name'
858
+ property :satisfies_pzi, as: 'satisfiesPzi'
859
+ property :satisfies_pzs, as: 'satisfiesPzs'
850
860
  property :state, as: 'state'
851
861
  property :type, as: 'type'
852
862
  property :uid, as: 'uid'
@@ -1332,6 +1342,13 @@ module Google
1332
1342
  end
1333
1343
  end
1334
1344
 
1345
+ class GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaCancelSubscriptionResponse
1346
+ # @private
1347
+ class Representation < Google::Apis::Core::JsonRepresentation
1348
+ property :effective_cancellation_time, as: 'effectiveCancellationTime'
1349
+ end
1350
+ end
1351
+
1335
1352
  class GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaListSubscriptionsResponse
1336
1353
  # @private
1337
1354
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1345,6 +1362,7 @@ module Google
1345
1362
  # @private
1346
1363
  class Representation < Google::Apis::Core::JsonRepresentation
1347
1364
  property :auto_renew_enabled, as: 'autoRenewEnabled'
1365
+ property :billing_account, as: 'billingAccount'
1348
1366
  property :create_time, as: 'createTime'
1349
1367
  property :end_time, as: 'endTime'
1350
1368
  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.
@@ -1517,6 +1562,60 @@ module Google
1517
1562
  execute_or_queue_command(command, &block)
1518
1563
  end
1519
1564
 
1565
+ # Updates an existing BeyondCorp Enterprise Subscription in a given organization.
1566
+ # Location will always be global as BeyondCorp subscriptions are per
1567
+ # organization.
1568
+ # @param [String] name
1569
+ # Required. Unique resource name of the Subscription. The name is ignored when
1570
+ # creating a subscription.
1571
+ # @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription] google_cloud_beyondcorp_saasplatform_subscriptions_v1alpha_subscription_object
1572
+ # @param [String] request_id
1573
+ # Optional. An optional request ID to identify requests. Specify a unique
1574
+ # request ID so that if you must retry your request, the server will know to
1575
+ # ignore the request if it has already been completed. The server will guarantee
1576
+ # that for at least 60 minutes since the first request. For example, consider a
1577
+ # situation where you make an initial request and the request times out. If you
1578
+ # make the request again with the same request ID, the server can check if
1579
+ # original operation with the same request ID was received, and if so, will
1580
+ # ignore the second request. This prevents clients from accidentally creating
1581
+ # duplicate commitments. The request ID must be a valid UUID with the exception
1582
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1583
+ # @param [String] update_mask
1584
+ # Required. Field mask is used to specify the fields to be overwritten in the
1585
+ # Subscription resource by the update. The fields specified in the update_mask
1586
+ # are relative to the resource, not the full request. A field will be
1587
+ # overwritten if it is in the mask. Mutable fields: seat_count.
1588
+ # @param [String] fields
1589
+ # Selector specifying which fields to include in a partial response.
1590
+ # @param [String] quota_user
1591
+ # Available to use for quota purposes for server-side applications. Can be any
1592
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1593
+ # @param [Google::Apis::RequestOptions] options
1594
+ # Request-specific options
1595
+ #
1596
+ # @yield [result, err] Result & error if block supplied
1597
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription] parsed result object
1598
+ # @yieldparam err [StandardError] error object if request failed
1599
+ #
1600
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription]
1601
+ #
1602
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1603
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1604
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1605
+ def patch_organization_location_subscription(name, google_cloud_beyondcorp_saasplatform_subscriptions_v1alpha_subscription_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1606
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
1607
+ command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription::Representation
1608
+ command.request_object = google_cloud_beyondcorp_saasplatform_subscriptions_v1alpha_subscription_object
1609
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription::Representation
1610
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription
1611
+ command.params['name'] = name unless name.nil?
1612
+ command.query['requestId'] = request_id unless request_id.nil?
1613
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1614
+ command.query['fields'] = fields unless fields.nil?
1615
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1616
+ execute_or_queue_command(command, &block)
1617
+ end
1618
+
1520
1619
  # Gets information about a location.
1521
1620
  # @param [String] name
1522
1621
  # Resource name for the location.
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.35.0
4
+ version: 0.37.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-21 00:00:00.000000000 Z
11
+ date: 2024-05-05 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-beyondcorp_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.35.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.37.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: []