google-apis-beyondcorp_v1alpha 0.34.0 → 0.36.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: f41230fa1658581b3975928a686f54e46fd89e7efa5220680187e204d77a38f9
4
- data.tar.gz: 956b9436c5dfc5460b614c10f092994d25a217b01690af551a42032b37cd6283
3
+ metadata.gz: b51d43c1a47ae74b892681a10800c1fb2a72109e622f614a49e02dbb918b415b
4
+ data.tar.gz: fa60a73fc8d716c40a33bc05d838461af03df6cb9c8061775174708b25e1f3c8
5
5
  SHA512:
6
- metadata.gz: 0d5ca04ce59848c23116300e53cc77f39747d1d5aa593a970fe551438282a23e424680782c2069172a31c08fffb2e8cb085b4ca80631aa9f5a3afcf3260aef7a
7
- data.tar.gz: 36fdb71d86e84e0b920fc400820f5f595a1b0cee3a1fb3c8f0b408374ba8e84588624f9bd95ac19f2cb95b39e044222581aa85538a1a691b9981267a5bd13e8e
6
+ metadata.gz: 34acbca88caf50c91f014218c9a7df2be1c5071c42810c4409e536dd040fcef010f2cbe5fad3056de0499980732f074c13fb9f1c3caea25fddf81d8e31a07fb9
7
+ data.tar.gz: f17e1d5375110bfbfe2d7448b66d125eab32f16ffcbbbae69dbec953384fc0436ea76e55f1fb1f4799816b94d79612f08a4b07ccd43270bec7da82ed44d77496
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-beyondcorp_v1alpha
2
2
 
3
+ ### v0.36.0 (2024-04-28)
4
+
5
+ * Regenerated from discovery document revision 20240417
6
+
7
+ ### v0.35.0 (2024-04-21)
8
+
9
+ * Regenerated from discovery document revision 20240410
10
+
3
11
  ### v0.34.0 (2024-03-31)
4
12
 
5
13
  * Regenerated from discovery document revision 20240320
@@ -2786,33 +2786,6 @@ module Google
2786
2786
  end
2787
2787
  end
2788
2788
 
2789
- # Message contains the configuration for each supported region for the
2790
- # securityGateway instance.
2791
- class GoogleCloudBeyondcorpSecuritygatewaysV1alphaRegionConfig
2792
- include Google::Apis::Core::Hashable
2793
-
2794
- # Output only. External IP addresses that will be used for establishing
2795
- # connection to the egress endpoints.
2796
- # Corresponds to the JSON property `egressIpAddresses`
2797
- # @return [Array<String>]
2798
- attr_accessor :egress_ip_addresses
2799
-
2800
- # Required. The region where the egress connectivity is required.
2801
- # Corresponds to the JSON property `region`
2802
- # @return [String]
2803
- attr_accessor :region
2804
-
2805
- def initialize(**args)
2806
- update!(**args)
2807
- end
2808
-
2809
- # Update properties of this object
2810
- def update!(**args)
2811
- @egress_ip_addresses = args[:egress_ip_addresses] if args.key?(:egress_ip_addresses)
2812
- @region = args[:region] if args.key?(:region)
2813
- end
2814
- end
2815
-
2816
2789
  # Information about a BeyoncCorp SecurityGateway resource.
2817
2790
  class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway
2818
2791
  include Google::Apis::Core::Hashable
@@ -2828,16 +2801,17 @@ module Google
2828
2801
  # @return [String]
2829
2802
  attr_accessor :display_name
2830
2803
 
2804
+ # Output only. IP addresses that will be used for establishing connection to the
2805
+ # endpoints.
2806
+ # Corresponds to the JSON property `externalIps`
2807
+ # @return [Array<String>]
2808
+ attr_accessor :external_ips
2809
+
2831
2810
  # Identifier. Name of the resource.
2832
2811
  # Corresponds to the JSON property `name`
2833
2812
  # @return [String]
2834
2813
  attr_accessor :name
2835
2814
 
2836
- # Optional. List of regions where the egress connectivity is required.
2837
- # Corresponds to the JSON property `regionConfigs`
2838
- # @return [Array<Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaRegionConfig>]
2839
- attr_accessor :region_configs
2840
-
2841
2815
  # Output only. The operational state of the SecurityGateway.
2842
2816
  # Corresponds to the JSON property `state`
2843
2817
  # @return [String]
@@ -2856,8 +2830,8 @@ module Google
2856
2830
  def update!(**args)
2857
2831
  @create_time = args[:create_time] if args.key?(:create_time)
2858
2832
  @display_name = args[:display_name] if args.key?(:display_name)
2833
+ @external_ips = args[:external_ips] if args.key?(:external_ips)
2859
2834
  @name = args[:name] if args.key?(:name)
2860
- @region_configs = args[:region_configs] if args.key?(:region_configs)
2861
2835
  @state = args[:state] if args.key?(:state)
2862
2836
  @update_time = args[:update_time] if args.key?(:update_time)
2863
2837
  end
@@ -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.34.0"
19
+ GEM_VERSION = "0.36.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 = "20240320"
25
+ REVISION = "20240417"
26
26
  end
27
27
  end
28
28
  end
@@ -442,12 +442,6 @@ module Google
442
442
  include Google::Apis::Core::JsonObjectSupport
443
443
  end
444
444
 
445
- class GoogleCloudBeyondcorpSecuritygatewaysV1alphaRegionConfig
446
- class Representation < Google::Apis::Core::JsonRepresentation; end
447
-
448
- include Google::Apis::Core::JsonObjectSupport
449
- end
450
-
451
445
  class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway
452
446
  class Representation < Google::Apis::Core::JsonRepresentation; end
453
447
 
@@ -1372,22 +1366,13 @@ module Google
1372
1366
  end
1373
1367
  end
1374
1368
 
1375
- class GoogleCloudBeyondcorpSecuritygatewaysV1alphaRegionConfig
1376
- # @private
1377
- class Representation < Google::Apis::Core::JsonRepresentation
1378
- collection :egress_ip_addresses, as: 'egressIpAddresses'
1379
- property :region, as: 'region'
1380
- end
1381
- end
1382
-
1383
1369
  class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway
1384
1370
  # @private
1385
1371
  class Representation < Google::Apis::Core::JsonRepresentation
1386
1372
  property :create_time, as: 'createTime'
1387
1373
  property :display_name, as: 'displayName'
1374
+ collection :external_ips, as: 'externalIps'
1388
1375
  property :name, as: 'name'
1389
- collection :region_configs, as: 'regionConfigs', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaRegionConfig, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaRegionConfig::Representation
1390
-
1391
1376
  property :state, as: 'state'
1392
1377
  property :update_time, as: 'updateTime'
1393
1378
  end
@@ -1517,6 +1517,61 @@ module Google
1517
1517
  execute_or_queue_command(command, &block)
1518
1518
  end
1519
1519
 
1520
+ # Updates an existing BeyondCorp Enterprise Subscription in a given organization.
1521
+ # Location will always be global as BeyondCorp subscriptions are per
1522
+ # organization.
1523
+ # @param [String] name
1524
+ # Required. Unique resource name of the Subscription. The name is ignored when
1525
+ # creating a subscription.
1526
+ # @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription] google_cloud_beyondcorp_saasplatform_subscriptions_v1alpha_subscription_object
1527
+ # @param [String] request_id
1528
+ # Optional. An optional request ID to identify requests. Specify a unique
1529
+ # request ID so that if you must retry your request, the server will know to
1530
+ # ignore the request if it has already been completed. The server will guarantee
1531
+ # that for at least 60 minutes since the first request. For example, consider a
1532
+ # situation where you make an initial request and the request times out. If you
1533
+ # make the request again with the same request ID, the server can check if
1534
+ # original operation with the same request ID was received, and if so, will
1535
+ # ignore the second request. This prevents clients from accidentally creating
1536
+ # duplicate commitments. The request ID must be a valid UUID with the exception
1537
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1538
+ # @param [String] update_mask
1539
+ # Required. Field mask is used to specify the fields to be overwritten in the
1540
+ # Subscription resource by the update. The fields specified in the update_mask
1541
+ # 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.
1544
+ # @param [String] fields
1545
+ # Selector specifying which fields to include in a partial response.
1546
+ # @param [String] quota_user
1547
+ # Available to use for quota purposes for server-side applications. Can be any
1548
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1549
+ # @param [Google::Apis::RequestOptions] options
1550
+ # Request-specific options
1551
+ #
1552
+ # @yield [result, err] Result & error if block supplied
1553
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription] parsed result object
1554
+ # @yieldparam err [StandardError] error object if request failed
1555
+ #
1556
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription]
1557
+ #
1558
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1559
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1560
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1561
+ 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)
1562
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
1563
+ command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription::Representation
1564
+ command.request_object = google_cloud_beyondcorp_saasplatform_subscriptions_v1alpha_subscription_object
1565
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription::Representation
1566
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription
1567
+ command.params['name'] = name unless name.nil?
1568
+ command.query['requestId'] = request_id unless request_id.nil?
1569
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1570
+ command.query['fields'] = fields unless fields.nil?
1571
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1572
+ execute_or_queue_command(command, &block)
1573
+ end
1574
+
1520
1575
  # Gets information about a location.
1521
1576
  # @param [String] name
1522
1577
  # 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.34.0
4
+ version: 0.36.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-03-31 00:00:00.000000000 Z
11
+ date: 2024-04-28 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.34.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.36.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: []