google-apis-servicenetworking_v1 0.14.0 → 0.18.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: 43db36b3fc48d892f56f7fa50c5f8734097cfd878c4ab89de1400cb7a6771b0a
4
- data.tar.gz: 88e2ef84d82a85845e02a8e371d489a18d36f0a3a4eb4cb849fd0acf9969d678
3
+ metadata.gz: a6f10986f53c9bf823df50fe5f2fed7c863cb5db8e1ba6a8fe90ca64ec2d6617
4
+ data.tar.gz: e63605577738a816dc9f11767728e7456b638b85dd01fd60574fa977d4790ae7
5
5
  SHA512:
6
- metadata.gz: 0a2c39c38e586edf979b794d987233cca223b02875eccb5823934025546b16fbf18108e8b52129988f66eb8deab7197b8ce73764ec4c1929070bf127c6ae9d2a
7
- data.tar.gz: 2b42b8ff76cbde3654730f93729133eabe5be0693a9b5d984cdbcede0a7c4adbfd82eb0023c5b6484bd04cfbfc2118a8d144b158bd25f5adf6a8a2223a7a1e70
6
+ metadata.gz: b17fe8600a370cd98007d6aec49c78435827127315a4ed599a6aa531fd56d21fb3ea997e5c3b5b5b93b61afc7a25b794d10ee6d13213a652526951ad41fa5df3
7
+ data.tar.gz: 90314f96d788bbeca5b3ba619072bb005974895e7b081285bda9a653d2c3737a750bbba8a9b801a247d4e71a920126e4d2d0f5ece3a5400dcf164a0c6b3f113a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-servicenetworking_v1
2
2
 
3
+ ### v0.18.0 (2022-01-07)
4
+
5
+ * Regenerated from discovery document revision 20211222
6
+
7
+ ### v0.17.0 (2021-10-20)
8
+
9
+ * Unspecified changes
10
+
11
+ ### v0.16.0 (2021-10-12)
12
+
13
+ * Regenerated from discovery document revision 20211008
14
+
15
+ ### v0.15.0 (2021-09-28)
16
+
17
+ * Regenerated from discovery document revision 20210924
18
+
3
19
  ### v0.14.0 (2021-09-01)
4
20
 
5
21
  * Regenerated from discovery document revision 20210813
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/servicenetworking_v1"
51
51
  client = Google::Apis::ServicenetworkingV1::ServiceNetworkingService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Servicenetworking service in particular.)
67
67
 
@@ -246,6 +246,13 @@ module Google
246
246
  # @return [Fixnum]
247
247
  attr_accessor :ip_prefix_length
248
248
 
249
+ # Optional. Enable outside allocation using public IP addresses. Any public IP
250
+ # range may be specified. If this field is provided, we will not use customer
251
+ # reserved ranges for this primary IP range.
252
+ # Corresponds to the JSON property `outsideAllocationPublicIpRange`
253
+ # @return [String]
254
+ attr_accessor :outside_allocation_public_ip_range
255
+
249
256
  # Optional. The private IPv6 google access type for the VMs in this subnet. For
250
257
  # information about the access types that can be set using this field, see [
251
258
  # subnetwork](https://cloud.google.com/compute/docs/reference/rest/v1/
@@ -254,6 +261,14 @@ module Google
254
261
  # @return [String]
255
262
  attr_accessor :private_ipv6_google_access
256
263
 
264
+ # Optional. Defines the purpose field of the subnet, e.g. '
265
+ # PRIVATE_SERVICE_CONNECT'. For information about the purposes that can be set
266
+ # using this field, see [subnetwork](https://cloud.google.com/compute/docs/
267
+ # reference/rest/v1/subnetworks) in the Compute API documentation.
268
+ # Corresponds to the JSON property `purpose`
269
+ # @return [String]
270
+ attr_accessor :purpose
271
+
257
272
  # Required. The name of a [region](/compute/docs/regions-zones) for the subnet,
258
273
  # such `europe-west1`.
259
274
  # Corresponds to the JSON property `region`
@@ -307,7 +322,9 @@ module Google
307
322
  @consumer_network = args[:consumer_network] if args.key?(:consumer_network)
308
323
  @description = args[:description] if args.key?(:description)
309
324
  @ip_prefix_length = args[:ip_prefix_length] if args.key?(:ip_prefix_length)
325
+ @outside_allocation_public_ip_range = args[:outside_allocation_public_ip_range] if args.key?(:outside_allocation_public_ip_range)
310
326
  @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
327
+ @purpose = args[:purpose] if args.key?(:purpose)
311
328
  @region = args[:region] if args.key?(:region)
312
329
  @requested_address = args[:requested_address] if args.key?(:requested_address)
313
330
  @requested_ranges = args[:requested_ranges] if args.key?(:requested_ranges)
@@ -1034,13 +1051,20 @@ module Google
1034
1051
  end
1035
1052
 
1036
1053
  # Selects and configures the service controller used by the service. The service
1037
- # controller handles features like abuse, quota, billing, logging, monitoring,
1038
- # etc.
1054
+ # controller handles two things: - **What is allowed:** for each API request,
1055
+ # Chemist checks the project status, activation status, abuse status, billing
1056
+ # status, service status, location restrictions, VPC Service Controls,
1057
+ # SuperQuota, and other policies. - **What has happened:** for each API response,
1058
+ # Chemist reports the telemetry data to analytics, auditing, billing, eventing,
1059
+ # logging, monitoring, sawmill, and tracing. Chemist also accepts telemetry data
1060
+ # not associated with API traffic, such as billing metrics. Example: control:
1061
+ # environment: servicecontrol.googleapis.com
1039
1062
  class Control
1040
1063
  include Google::Apis::Core::Hashable
1041
1064
 
1042
- # The service control environment to use. If empty, no control plane feature (
1043
- # like quota and billing) will be enabled.
1065
+ # The service controller environment to use. If empty, no control plane feature (
1066
+ # like quota and billing) will be enabled. The recommended value for most
1067
+ # services is servicecontrol.googleapis.com
1044
1068
  # Corresponds to the JSON property `environment`
1045
1069
  # @return [String]
1046
1070
  attr_accessor :environment
@@ -3430,6 +3454,13 @@ module Google
3430
3454
  # @return [Fixnum]
3431
3455
  attr_accessor :ip_prefix_length
3432
3456
 
3457
+ # Optional. Enable outside allocation using public IP addresses. Any public IP
3458
+ # range may be specified. If this field is provided, we will not use customer
3459
+ # reserved ranges for this secondary IP range.
3460
+ # Corresponds to the JSON property `outsideAllocationPublicIpRange`
3461
+ # @return [String]
3462
+ attr_accessor :outside_allocation_public_ip_range
3463
+
3433
3464
  # Required. A name for the secondary IP range. The name must be 1-63 characters
3434
3465
  # long, and comply with RFC1035. The name must be unique within the subnetwork.
3435
3466
  # Corresponds to the JSON property `rangeName`
@@ -3452,6 +3483,7 @@ module Google
3452
3483
  # Update properties of this object
3453
3484
  def update!(**args)
3454
3485
  @ip_prefix_length = args[:ip_prefix_length] if args.key?(:ip_prefix_length)
3486
+ @outside_allocation_public_ip_range = args[:outside_allocation_public_ip_range] if args.key?(:outside_allocation_public_ip_range)
3455
3487
  @range_name = args[:range_name] if args.key?(:range_name)
3456
3488
  @requested_address = args[:requested_address] if args.key?(:requested_address)
3457
3489
  end
@@ -3541,8 +3573,14 @@ module Google
3541
3573
  attr_accessor :context
3542
3574
 
3543
3575
  # Selects and configures the service controller used by the service. The service
3544
- # controller handles features like abuse, quota, billing, logging, monitoring,
3545
- # etc.
3576
+ # controller handles two things: - **What is allowed:** for each API request,
3577
+ # Chemist checks the project status, activation status, abuse status, billing
3578
+ # status, service status, location restrictions, VPC Service Controls,
3579
+ # SuperQuota, and other policies. - **What has happened:** for each API response,
3580
+ # Chemist reports the telemetry data to analytics, auditing, billing, eventing,
3581
+ # logging, monitoring, sawmill, and tracing. Chemist also accepts telemetry data
3582
+ # not associated with API traffic, such as billing metrics. Example: control:
3583
+ # environment: servicecontrol.googleapis.com
3546
3584
  # Corresponds to the JSON property `control`
3547
3585
  # @return [Google::Apis::ServicenetworkingV1::Control]
3548
3586
  attr_accessor :control
@@ -4231,6 +4269,13 @@ module Google
4231
4269
  class ValidateConsumerConfigRequest
4232
4270
  include Google::Apis::Core::Hashable
4233
4271
 
4272
+ # Optional. The IAM permission check determines whether the consumer project has
4273
+ # 'servicenetworking.services.use' permission or not.
4274
+ # Corresponds to the JSON property `checkServiceNetworkingUsePermission`
4275
+ # @return [Boolean]
4276
+ attr_accessor :check_service_networking_use_permission
4277
+ alias_method :check_service_networking_use_permission?, :check_service_networking_use_permission
4278
+
4234
4279
  # Required. The network that the consumer is using to connect with services.
4235
4280
  # Must be in the form of projects/`project`/global/networks/`network` `project`
4236
4281
  # is a project number, as in '12345' `network` is network name.
@@ -4265,6 +4310,7 @@ module Google
4265
4310
 
4266
4311
  # Update properties of this object
4267
4312
  def update!(**args)
4313
+ @check_service_networking_use_permission = args[:check_service_networking_use_permission] if args.key?(:check_service_networking_use_permission)
4268
4314
  @consumer_network = args[:consumer_network] if args.key?(:consumer_network)
4269
4315
  @consumer_project = args[:consumer_project] if args.key?(:consumer_project)
4270
4316
  @range_reservation = args[:range_reservation] if args.key?(:range_reservation)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServicenetworkingV1
18
18
  # Version of the google-apis-servicenetworking_v1 gem
19
- GEM_VERSION = "0.14.0"
19
+ GEM_VERSION = "0.18.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210813"
25
+ REVISION = "20211222"
26
26
  end
27
27
  end
28
28
  end
@@ -705,7 +705,9 @@ module Google
705
705
  property :consumer_network, as: 'consumerNetwork'
706
706
  property :description, as: 'description'
707
707
  property :ip_prefix_length, as: 'ipPrefixLength'
708
+ property :outside_allocation_public_ip_range, as: 'outsideAllocationPublicIpRange'
708
709
  property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
710
+ property :purpose, as: 'purpose'
709
711
  property :region, as: 'region'
710
712
  property :requested_address, as: 'requestedAddress'
711
713
  collection :requested_ranges, as: 'requestedRanges'
@@ -1441,6 +1443,7 @@ module Google
1441
1443
  # @private
1442
1444
  class Representation < Google::Apis::Core::JsonRepresentation
1443
1445
  property :ip_prefix_length, as: 'ipPrefixLength'
1446
+ property :outside_allocation_public_ip_range, as: 'outsideAllocationPublicIpRange'
1444
1447
  property :range_name, as: 'rangeName'
1445
1448
  property :requested_address, as: 'requestedAddress'
1446
1449
  end
@@ -1626,6 +1629,7 @@ module Google
1626
1629
  class ValidateConsumerConfigRequest
1627
1630
  # @private
1628
1631
  class Representation < Google::Apis::Core::JsonRepresentation
1632
+ property :check_service_networking_use_permission, as: 'checkServiceNetworkingUsePermission'
1629
1633
  property :consumer_network, as: 'consumerNetwork'
1630
1634
  property :consumer_project, as: 'consumerProject', class: Google::Apis::ServicenetworkingV1::ConsumerProject, decorator: Google::Apis::ServicenetworkingV1::ConsumerProject::Representation
1631
1635
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-servicenetworking_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.18.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: 2021-09-06 00:00:00.000000000 Z
11
+ date: 2022-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-servicenetworking_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1/v0.14.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-servicenetworking_v1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicenetworking_v1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1/v0.18.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicenetworking_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths:
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.4
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Service Networking API V1