google-apis-servicenetworking_v1 0.49.0 → 0.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/servicenetworking_v1/classes.rb +42 -0
- data/lib/google/apis/servicenetworking_v1/gem_version.rb +2 -2
- data/lib/google/apis/servicenetworking_v1/representations.rb +15 -0
- data/lib/google/apis/servicenetworking_v1/service.rb +37 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2af775904ddb29ba5140845a31d8b10f374d84c21a5f6f93b7120204295a9e96
|
4
|
+
data.tar.gz: 8af04b1fafeeeae516c4bbb8e8595505b35060498b5cd28f81334766da4aebaa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f4230a535b39493a8e80a0a45856e03ca7a0e4f103ee6671adc623fcf55f0b37fea5821c90a17484fa24319451f2e618c923ae7587cc7608ad54bab35dd2e46
|
7
|
+
data.tar.gz: a9951c8742aac7a85df02605955d1fb7b5a4534cf3de11f96bc032fdf048e8424fe6aae3a956399a053a1a711401286a67ba751040d16b7dcff2c48fb6050638
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-servicenetworking_v1
|
2
2
|
|
3
|
+
### v0.51.0 (2023-11-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231119
|
6
|
+
|
7
|
+
### v0.50.0 (2023-11-05)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231029
|
10
|
+
|
3
11
|
### v0.49.0 (2023-08-13)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230806
|
@@ -267,6 +267,14 @@ module Google
|
|
267
267
|
# @return [String]
|
268
268
|
attr_accessor :description
|
269
269
|
|
270
|
+
# Optional. The url of an Internal Range. Eg: `projects//locations/global/
|
271
|
+
# internalRanges/`. If specified, it means that the subnetwork cidr will be
|
272
|
+
# created using the combination of requested_address/ip_prefix_length. Note that
|
273
|
+
# the subnet cidr has to be within the cidr range of this Internal Range.
|
274
|
+
# Corresponds to the JSON property `internalRange`
|
275
|
+
# @return [String]
|
276
|
+
attr_accessor :internal_range
|
277
|
+
|
270
278
|
# Required. The prefix length of the subnet's IP address range. Use CIDR range
|
271
279
|
# notation, such as `29` to provision a subnet with an `x.x.x.x/29` CIDR range.
|
272
280
|
# The IP address range is drawn from a pool of available ranges in the service
|
@@ -371,6 +379,7 @@ module Google
|
|
371
379
|
@consumer = args[:consumer] if args.key?(:consumer)
|
372
380
|
@consumer_network = args[:consumer_network] if args.key?(:consumer_network)
|
373
381
|
@description = args[:description] if args.key?(:description)
|
382
|
+
@internal_range = args[:internal_range] if args.key?(:internal_range)
|
374
383
|
@ip_prefix_length = args[:ip_prefix_length] if args.key?(:ip_prefix_length)
|
375
384
|
@outside_allocation_public_ip_range = args[:outside_allocation_public_ip_range] if args.key?(:outside_allocation_public_ip_range)
|
376
385
|
@private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
|
@@ -2928,6 +2937,15 @@ module Google
|
|
2928
2937
|
class MethodSettings
|
2929
2938
|
include Google::Apis::Core::Hashable
|
2930
2939
|
|
2940
|
+
# List of top-level fields of the request message, that should be automatically
|
2941
|
+
# populated by the client libraries based on their (google.api.field_info).
|
2942
|
+
# format. Currently supported format: UUID4. Example of a YAML configuration:
|
2943
|
+
# publishing: method_settings: - selector: google.example.v1.ExampleService.
|
2944
|
+
# CreateExample auto_populated_fields: - request_id
|
2945
|
+
# Corresponds to the JSON property `autoPopulatedFields`
|
2946
|
+
# @return [Array<String>]
|
2947
|
+
attr_accessor :auto_populated_fields
|
2948
|
+
|
2931
2949
|
# Describes settings to use when generating API methods that use the long-
|
2932
2950
|
# running operation pattern. All default values below are from those used in the
|
2933
2951
|
# client library generators (e.g. [Java](https://github.com/googleapis/gapic-
|
@@ -2949,6 +2967,7 @@ module Google
|
|
2949
2967
|
|
2950
2968
|
# Update properties of this object
|
2951
2969
|
def update!(**args)
|
2970
|
+
@auto_populated_fields = args[:auto_populated_fields] if args.key?(:auto_populated_fields)
|
2952
2971
|
@long_running = args[:long_running] if args.key?(:long_running)
|
2953
2972
|
@selector = args[:selector] if args.key?(:selector)
|
2954
2973
|
end
|
@@ -5151,6 +5170,29 @@ module Google
|
|
5151
5170
|
@validation_error = args[:validation_error] if args.key?(:validation_error)
|
5152
5171
|
end
|
5153
5172
|
end
|
5173
|
+
|
5174
|
+
# Response for the get VPC Service Controls request.
|
5175
|
+
class VpcServiceControls
|
5176
|
+
include Google::Apis::Core::Hashable
|
5177
|
+
|
5178
|
+
# Output only. Indicates whether the VPC Service Controls are enabled or
|
5179
|
+
# disabled for the connection. If the consumer called the
|
5180
|
+
# EnableVpcServiceControls method, then this is true. If the consumer called
|
5181
|
+
# DisableVpcServiceControls, then this is false. The default is false.
|
5182
|
+
# Corresponds to the JSON property `enabled`
|
5183
|
+
# @return [Boolean]
|
5184
|
+
attr_accessor :enabled
|
5185
|
+
alias_method :enabled?, :enabled
|
5186
|
+
|
5187
|
+
def initialize(**args)
|
5188
|
+
update!(**args)
|
5189
|
+
end
|
5190
|
+
|
5191
|
+
# Update properties of this object
|
5192
|
+
def update!(**args)
|
5193
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
5194
|
+
end
|
5195
|
+
end
|
5154
5196
|
end
|
5155
5197
|
end
|
5156
5198
|
end
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.51.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 = "20231119"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -754,6 +754,12 @@ module Google
|
|
754
754
|
include Google::Apis::Core::JsonObjectSupport
|
755
755
|
end
|
756
756
|
|
757
|
+
class VpcServiceControls
|
758
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
759
|
+
|
760
|
+
include Google::Apis::Core::JsonObjectSupport
|
761
|
+
end
|
762
|
+
|
757
763
|
class AddDnsRecordSetMetadata
|
758
764
|
# @private
|
759
765
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -827,6 +833,7 @@ module Google
|
|
827
833
|
property :consumer, as: 'consumer'
|
828
834
|
property :consumer_network, as: 'consumerNetwork'
|
829
835
|
property :description, as: 'description'
|
836
|
+
property :internal_range, as: 'internalRange'
|
830
837
|
property :ip_prefix_length, as: 'ipPrefixLength'
|
831
838
|
property :outside_allocation_public_ip_range, as: 'outsideAllocationPublicIpRange'
|
832
839
|
property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
|
@@ -1473,6 +1480,7 @@ module Google
|
|
1473
1480
|
class MethodSettings
|
1474
1481
|
# @private
|
1475
1482
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1483
|
+
collection :auto_populated_fields, as: 'autoPopulatedFields'
|
1476
1484
|
property :long_running, as: 'longRunning', class: Google::Apis::ServicenetworkingV1::LongRunning, decorator: Google::Apis::ServicenetworkingV1::LongRunning::Representation
|
1477
1485
|
|
1478
1486
|
property :selector, as: 'selector'
|
@@ -1994,6 +2002,13 @@ module Google
|
|
1994
2002
|
property :validation_error, as: 'validationError'
|
1995
2003
|
end
|
1996
2004
|
end
|
2005
|
+
|
2006
|
+
class VpcServiceControls
|
2007
|
+
# @private
|
2008
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2009
|
+
property :enabled, as: 'enabled'
|
2010
|
+
end
|
2011
|
+
end
|
1997
2012
|
end
|
1998
2013
|
end
|
1999
2014
|
end
|
@@ -867,6 +867,43 @@ module Google
|
|
867
867
|
execute_or_queue_command(command, &block)
|
868
868
|
end
|
869
869
|
|
870
|
+
# Consumers use this method to find out the state of VPC Service Controls. The
|
871
|
+
# controls could be enabled or disabled for a connection.
|
872
|
+
# @param [String] name
|
873
|
+
# Required. Name of the VPC Service Controls config to retrieve in the format: `
|
874
|
+
# services/`service`/projects/`project`/global/networks/`network``. `service` is
|
875
|
+
# the peering service that is managing connectivity for the service producer's
|
876
|
+
# organization. For Google services that support this functionality, this value
|
877
|
+
# is `servicenetworking.googleapis.com`. `project` is a project number e.g. `
|
878
|
+
# 12345` that contains the service consumer's VPC network. `network` is the name
|
879
|
+
# of the service consumer's VPC network.
|
880
|
+
# @param [String] fields
|
881
|
+
# Selector specifying which fields to include in a partial response.
|
882
|
+
# @param [String] quota_user
|
883
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
884
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
885
|
+
# @param [Google::Apis::RequestOptions] options
|
886
|
+
# Request-specific options
|
887
|
+
#
|
888
|
+
# @yield [result, err] Result & error if block supplied
|
889
|
+
# @yieldparam result [Google::Apis::ServicenetworkingV1::VpcServiceControls] parsed result object
|
890
|
+
# @yieldparam err [StandardError] error object if request failed
|
891
|
+
#
|
892
|
+
# @return [Google::Apis::ServicenetworkingV1::VpcServiceControls]
|
893
|
+
#
|
894
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
895
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
896
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
897
|
+
def get_service_project_global_network_vpc_service_controls(name, fields: nil, quota_user: nil, options: nil, &block)
|
898
|
+
command = make_simple_command(:get, 'v1/{+name}/vpcServiceControls', options)
|
899
|
+
command.response_representation = Google::Apis::ServicenetworkingV1::VpcServiceControls::Representation
|
900
|
+
command.response_class = Google::Apis::ServicenetworkingV1::VpcServiceControls
|
901
|
+
command.params['name'] = name unless name.nil?
|
902
|
+
command.query['fields'] = fields unless fields.nil?
|
903
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
904
|
+
execute_or_queue_command(command, &block)
|
905
|
+
end
|
906
|
+
|
870
907
|
# Service producers use this method to update the configuration of their
|
871
908
|
# connection including the import/export of custom routes and subnetwork routes
|
872
909
|
# with public IP.
|
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.
|
4
|
+
version: 0.51.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-
|
11
|
+
date: 2023-11-26 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-servicenetworking_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1/v0.51.0
|
62
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: []
|
@@ -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.4.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Service Networking API V1
|