google-api-client 0.46.2 → 0.47.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +370 -192
- data/Gemfile +1 -0
- data/Rakefile +31 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +13 -15
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +26 -12
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +3 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +2 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +16 -54
- data/generated/google/apis/apigee_v1/representations.rb +1 -18
- data/generated/google/apis/apigee_v1/service.rb +21 -13
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
- data/generated/google/apis/area120tables_v1alpha1/representations.rb +248 -0
- data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +72 -0
- data/generated/google/apis/bigquery_v2/representations.rb +33 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +2 -2
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -2
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +52 -52
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +8 -0
- data/generated/google/apis/chat_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +2 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +10 -2
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +15 -8
- data/generated/google/apis/content_v2.rb +2 -3
- data/generated/google/apis/content_v2/classes.rb +508 -1216
- data/generated/google/apis/content_v2/service.rb +373 -646
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +15 -3
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +15 -3
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +651 -374
- data/generated/google/apis/dialogflow_v2/representations.rb +284 -185
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +651 -374
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +288 -189
- data/generated/google/apis/dialogflow_v2beta1/service.rb +2 -2
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +682 -374
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +303 -188
- data/generated/google/apis/dialogflow_v3beta1/service.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +29 -29
- data/generated/google/apis/dns_v1.rb +2 -2
- data/generated/google/apis/dns_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +1 -1
- data/generated/google/apis/dns_v1beta2/service.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +3 -2
- data/generated/google/apis/eventarc_v1beta1.rb +34 -0
- data/generated/google/apis/eventarc_v1beta1/classes.rb +933 -0
- data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
- data/generated/google/apis/eventarc_v1beta1/service.rb +579 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +2 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +79 -0
- data/generated/google/apis/healthcare_v1beta1/representations.rb +31 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +53 -11
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/localservices_v1.rb +1 -1
- data/generated/google/apis/localservices_v1/classes.rb +7 -0
- data/generated/google/apis/localservices_v1/representations.rb +2 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +4 -5
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +238 -77
- data/generated/google/apis/ml_v1/representations.rb +17 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +11 -5
- data/generated/google/apis/monitoring_v3/service.rb +50 -1
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +2 -2
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +5 -63
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +5 -63
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +32 -2
- data/generated/google/apis/servicecontrol_v1/representations.rb +4 -0
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +17 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +2 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +4 -3
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +78 -60
- data/generated/google/apis/servicenetworking_v1/representations.rb +29 -14
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +32 -60
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +12 -14
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +5 -63
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +5 -63
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -18
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +29 -29
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +45 -33
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/testing_v1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +0 -62
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +2 -2
- data/google-api-client.gemspec +25 -25
- data/lib/google/apis/core/http_command.rb +2 -1
- data/lib/google/apis/options.rb +8 -5
- data/lib/google/apis/version.rb +1 -1
- metadata +12 -8
- data/generated/google/apis/safebrowsing_v4.rb +0 -35
- data/generated/google/apis/safebrowsing_v4/classes.rb +0 -909
- data/generated/google/apis/safebrowsing_v4/representations.rb +0 -445
- data/generated/google/apis/safebrowsing_v4/service.rb +0 -286
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
|
27
27
|
module ServicenetworkingV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20201021'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -261,6 +261,12 @@ module Google
|
|
261
261
|
# @return [String]
|
262
262
|
attr_accessor :requested_address
|
263
263
|
|
264
|
+
# Optional. A list of secondary IP ranges to be created within the new
|
265
|
+
# subnetwork.
|
266
|
+
# Corresponds to the JSON property `secondaryIpRangeSpecs`
|
267
|
+
# @return [Array<Google::Apis::ServicenetworkingV1::SecondaryIpRangeSpec>]
|
268
|
+
attr_accessor :secondary_ip_range_specs
|
269
|
+
|
264
270
|
# Required. A name for the new subnet. For information about the naming
|
265
271
|
# requirements, see [subnetwork](/compute/docs/reference/rest/v1/subnetworks) in
|
266
272
|
# the Compute API documentation.
|
@@ -286,6 +292,7 @@ module Google
|
|
286
292
|
@ip_prefix_length = args[:ip_prefix_length] if args.key?(:ip_prefix_length)
|
287
293
|
@region = args[:region] if args.key?(:region)
|
288
294
|
@requested_address = args[:requested_address] if args.key?(:requested_address)
|
295
|
+
@secondary_ip_range_specs = args[:secondary_ip_range_specs] if args.key?(:secondary_ip_range_specs)
|
289
296
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
290
297
|
@subnetwork_users = args[:subnetwork_users] if args.key?(:subnetwork_users)
|
291
298
|
end
|
@@ -1783,13 +1790,6 @@ module Google
|
|
1783
1790
|
# @return [Array<Google::Apis::ServicenetworkingV1::HttpRule>]
|
1784
1791
|
attr_accessor :additional_bindings
|
1785
1792
|
|
1786
|
-
# When this flag is set to true, HTTP requests will be allowed to invoke a half-
|
1787
|
-
# duplex streaming method.
|
1788
|
-
# Corresponds to the JSON property `allowHalfDuplex`
|
1789
|
-
# @return [Boolean]
|
1790
|
-
attr_accessor :allow_half_duplex
|
1791
|
-
alias_method :allow_half_duplex?, :allow_half_duplex
|
1792
|
-
|
1793
1793
|
# The name of the request field whose value is mapped to the HTTP request body,
|
1794
1794
|
# or `*` for mapping all request fields not captured by the path pattern to the
|
1795
1795
|
# HTTP body, or omitted for not having any HTTP request body. NOTE: the referred
|
@@ -1849,7 +1849,6 @@ module Google
|
|
1849
1849
|
# Update properties of this object
|
1850
1850
|
def update!(**args)
|
1851
1851
|
@additional_bindings = args[:additional_bindings] if args.key?(:additional_bindings)
|
1852
|
-
@allow_half_duplex = args[:allow_half_duplex] if args.key?(:allow_half_duplex)
|
1853
1852
|
@body = args[:body] if args.key?(:body)
|
1854
1853
|
@custom = args[:custom] if args.key?(:custom)
|
1855
1854
|
@delete = args[:delete] if args.key?(:delete)
|
@@ -3217,6 +3216,70 @@ module Google
|
|
3217
3216
|
end
|
3218
3217
|
end
|
3219
3218
|
|
3219
|
+
#
|
3220
|
+
class SecondaryIpRange
|
3221
|
+
include Google::Apis::Core::Hashable
|
3222
|
+
|
3223
|
+
# Secondary IP CIDR range in `x.x.x.x/y` format.
|
3224
|
+
# Corresponds to the JSON property `ipCidrRange`
|
3225
|
+
# @return [String]
|
3226
|
+
attr_accessor :ip_cidr_range
|
3227
|
+
|
3228
|
+
# Name of the secondary IP range.
|
3229
|
+
# Corresponds to the JSON property `rangeName`
|
3230
|
+
# @return [String]
|
3231
|
+
attr_accessor :range_name
|
3232
|
+
|
3233
|
+
def initialize(**args)
|
3234
|
+
update!(**args)
|
3235
|
+
end
|
3236
|
+
|
3237
|
+
# Update properties of this object
|
3238
|
+
def update!(**args)
|
3239
|
+
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
|
3240
|
+
@range_name = args[:range_name] if args.key?(:range_name)
|
3241
|
+
end
|
3242
|
+
end
|
3243
|
+
|
3244
|
+
#
|
3245
|
+
class SecondaryIpRangeSpec
|
3246
|
+
include Google::Apis::Core::Hashable
|
3247
|
+
|
3248
|
+
# Required. The prefix length of the secondary IP range. Use CIDR range notation,
|
3249
|
+
# such as `30` to provision a secondary IP range with an `x.x.x.x/30` CIDR
|
3250
|
+
# range. The IP address range is drawn from a pool of available ranges in the
|
3251
|
+
# service consumer's allocated range.
|
3252
|
+
# Corresponds to the JSON property `ipPrefixLength`
|
3253
|
+
# @return [Fixnum]
|
3254
|
+
attr_accessor :ip_prefix_length
|
3255
|
+
|
3256
|
+
# Required. A name for the secondary IP range. The name must be 1-63 characters
|
3257
|
+
# long, and comply with RFC1035. The name must be unique within the subnetwork.
|
3258
|
+
# Corresponds to the JSON property `rangeName`
|
3259
|
+
# @return [String]
|
3260
|
+
attr_accessor :range_name
|
3261
|
+
|
3262
|
+
# Optional. The starting address of a range. The address must be a valid IPv4
|
3263
|
+
# address in the x.x.x.x format. This value combined with the IP prefix range is
|
3264
|
+
# the CIDR range for the secondary IP range. The range must be within the
|
3265
|
+
# allocated range that is assigned to the private connection. If the CIDR range
|
3266
|
+
# isn't available, the call fails.
|
3267
|
+
# Corresponds to the JSON property `requestedAddress`
|
3268
|
+
# @return [String]
|
3269
|
+
attr_accessor :requested_address
|
3270
|
+
|
3271
|
+
def initialize(**args)
|
3272
|
+
update!(**args)
|
3273
|
+
end
|
3274
|
+
|
3275
|
+
# Update properties of this object
|
3276
|
+
def update!(**args)
|
3277
|
+
@ip_prefix_length = args[:ip_prefix_length] if args.key?(:ip_prefix_length)
|
3278
|
+
@range_name = args[:range_name] if args.key?(:range_name)
|
3279
|
+
@requested_address = args[:requested_address] if args.key?(:requested_address)
|
3280
|
+
end
|
3281
|
+
end
|
3282
|
+
|
3220
3283
|
# `Service` is the root object of Google service configuration schema. It
|
3221
3284
|
# describes basic information about a service, such as the name and the title,
|
3222
3285
|
# and delegates other aspects to sub-sections. Each sub-section is either a
|
@@ -3272,10 +3335,7 @@ module Google
|
|
3272
3335
|
# @return [Google::Apis::ServicenetworkingV1::Billing]
|
3273
3336
|
attr_accessor :billing
|
3274
3337
|
|
3275
|
-
#
|
3276
|
-
# the interpretation of the service configuration. For example, certain features
|
3277
|
-
# are enabled by default for certain config versions. The latest config version
|
3278
|
-
# is `3`.
|
3338
|
+
# This field is obsolete. Its value must be set to `3`.
|
3279
3339
|
# Corresponds to the JSON property `configVersion`
|
3280
3340
|
# @return [Fixnum]
|
3281
3341
|
attr_accessor :config_version
|
@@ -3540,44 +3600,6 @@ module Google
|
|
3540
3600
|
end
|
3541
3601
|
end
|
3542
3602
|
|
3543
|
-
# The per-product per-project service identity for a service. Use this field to
|
3544
|
-
# configure per-product per-project service identity. Example of a service
|
3545
|
-
# identity configuration. usage: service_identity: - service_account_parent: "
|
3546
|
-
# projects/123456789" display_name: "Cloud XXX Service Agent" description: "Used
|
3547
|
-
# as the identity of Cloud XXX to access resources"
|
3548
|
-
class ServiceIdentity
|
3549
|
-
include Google::Apis::Core::Hashable
|
3550
|
-
|
3551
|
-
# Optional. A user-specified opaque description of the service account. Must be
|
3552
|
-
# less than or equal to 256 UTF-8 bytes.
|
3553
|
-
# Corresponds to the JSON property `description`
|
3554
|
-
# @return [String]
|
3555
|
-
attr_accessor :description
|
3556
|
-
|
3557
|
-
# Optional. A user-specified name for the service account. Must be less than or
|
3558
|
-
# equal to 100 UTF-8 bytes.
|
3559
|
-
# Corresponds to the JSON property `displayName`
|
3560
|
-
# @return [String]
|
3561
|
-
attr_accessor :display_name
|
3562
|
-
|
3563
|
-
# A service account project that hosts the service accounts. An example name
|
3564
|
-
# would be: `projects/123456789`
|
3565
|
-
# Corresponds to the JSON property `serviceAccountParent`
|
3566
|
-
# @return [String]
|
3567
|
-
attr_accessor :service_account_parent
|
3568
|
-
|
3569
|
-
def initialize(**args)
|
3570
|
-
update!(**args)
|
3571
|
-
end
|
3572
|
-
|
3573
|
-
# Update properties of this object
|
3574
|
-
def update!(**args)
|
3575
|
-
@description = args[:description] if args.key?(:description)
|
3576
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
3577
|
-
@service_account_parent = args[:service_account_parent] if args.key?(:service_account_parent)
|
3578
|
-
end
|
3579
|
-
end
|
3580
|
-
|
3581
3603
|
# `SourceContext` represents information about the source of a protobuf element,
|
3582
3604
|
# like the file in which it is defined.
|
3583
3605
|
class SourceContext
|
@@ -3685,6 +3707,11 @@ module Google
|
|
3685
3707
|
attr_accessor :outside_allocation
|
3686
3708
|
alias_method :outside_allocation?, :outside_allocation
|
3687
3709
|
|
3710
|
+
# List of secondary IP ranges in this subnetwork.
|
3711
|
+
# Corresponds to the JSON property `secondaryIpRanges`
|
3712
|
+
# @return [Array<Google::Apis::ServicenetworkingV1::SecondaryIpRange>]
|
3713
|
+
attr_accessor :secondary_ip_ranges
|
3714
|
+
|
3688
3715
|
def initialize(**args)
|
3689
3716
|
update!(**args)
|
3690
3717
|
end
|
@@ -3695,6 +3722,7 @@ module Google
|
|
3695
3722
|
@name = args[:name] if args.key?(:name)
|
3696
3723
|
@network = args[:network] if args.key?(:network)
|
3697
3724
|
@outside_allocation = args[:outside_allocation] if args.key?(:outside_allocation)
|
3725
|
+
@secondary_ip_ranges = args[:secondary_ip_ranges] if args.key?(:secondary_ip_ranges)
|
3698
3726
|
end
|
3699
3727
|
end
|
3700
3728
|
|
@@ -3925,15 +3953,6 @@ module Google
|
|
3925
3953
|
# @return [Array<Google::Apis::ServicenetworkingV1::UsageRule>]
|
3926
3954
|
attr_accessor :rules
|
3927
3955
|
|
3928
|
-
# The per-product per-project service identity for a service. Use this field to
|
3929
|
-
# configure per-product per-project service identity. Example of a service
|
3930
|
-
# identity configuration. usage: service_identity: - service_account_parent: "
|
3931
|
-
# projects/123456789" display_name: "Cloud XXX Service Agent" description: "Used
|
3932
|
-
# as the identity of Cloud XXX to access resources"
|
3933
|
-
# Corresponds to the JSON property `serviceIdentity`
|
3934
|
-
# @return [Google::Apis::ServicenetworkingV1::ServiceIdentity]
|
3935
|
-
attr_accessor :service_identity
|
3936
|
-
|
3937
3956
|
def initialize(**args)
|
3938
3957
|
update!(**args)
|
3939
3958
|
end
|
@@ -3943,7 +3962,6 @@ module Google
|
|
3943
3962
|
@producer_notification_channel = args[:producer_notification_channel] if args.key?(:producer_notification_channel)
|
3944
3963
|
@requirements = args[:requirements] if args.key?(:requirements)
|
3945
3964
|
@rules = args[:rules] if args.key?(:rules)
|
3946
|
-
@service_identity = args[:service_identity] if args.key?(:service_identity)
|
3947
3965
|
end
|
3948
3966
|
end
|
3949
3967
|
|
@@ -496,13 +496,19 @@ module Google
|
|
496
496
|
include Google::Apis::Core::JsonObjectSupport
|
497
497
|
end
|
498
498
|
|
499
|
-
class
|
499
|
+
class SecondaryIpRange
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
|
+
|
502
|
+
include Google::Apis::Core::JsonObjectSupport
|
503
|
+
end
|
504
|
+
|
505
|
+
class SecondaryIpRangeSpec
|
500
506
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
507
|
|
502
508
|
include Google::Apis::Core::JsonObjectSupport
|
503
509
|
end
|
504
510
|
|
505
|
-
class
|
511
|
+
class Service
|
506
512
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
513
|
|
508
514
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -665,6 +671,8 @@ module Google
|
|
665
671
|
property :ip_prefix_length, as: 'ipPrefixLength'
|
666
672
|
property :region, as: 'region'
|
667
673
|
property :requested_address, as: 'requestedAddress'
|
674
|
+
collection :secondary_ip_range_specs, as: 'secondaryIpRangeSpecs', class: Google::Apis::ServicenetworkingV1::SecondaryIpRangeSpec, decorator: Google::Apis::ServicenetworkingV1::SecondaryIpRangeSpec::Representation
|
675
|
+
|
668
676
|
property :subnetwork, as: 'subnetwork'
|
669
677
|
collection :subnetwork_users, as: 'subnetworkUsers'
|
670
678
|
end
|
@@ -1007,7 +1015,6 @@ module Google
|
|
1007
1015
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1008
1016
|
collection :additional_bindings, as: 'additionalBindings', class: Google::Apis::ServicenetworkingV1::HttpRule, decorator: Google::Apis::ServicenetworkingV1::HttpRule::Representation
|
1009
1017
|
|
1010
|
-
property :allow_half_duplex, as: 'allowHalfDuplex'
|
1011
1018
|
property :body, as: 'body'
|
1012
1019
|
property :custom, as: 'custom', class: Google::Apis::ServicenetworkingV1::CustomHttpPattern, decorator: Google::Apis::ServicenetworkingV1::CustomHttpPattern::Representation
|
1013
1020
|
|
@@ -1343,6 +1350,23 @@ module Google
|
|
1343
1350
|
end
|
1344
1351
|
end
|
1345
1352
|
|
1353
|
+
class SecondaryIpRange
|
1354
|
+
# @private
|
1355
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1356
|
+
property :ip_cidr_range, as: 'ipCidrRange'
|
1357
|
+
property :range_name, as: 'rangeName'
|
1358
|
+
end
|
1359
|
+
end
|
1360
|
+
|
1361
|
+
class SecondaryIpRangeSpec
|
1362
|
+
# @private
|
1363
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1364
|
+
property :ip_prefix_length, as: 'ipPrefixLength'
|
1365
|
+
property :range_name, as: 'rangeName'
|
1366
|
+
property :requested_address, as: 'requestedAddress'
|
1367
|
+
end
|
1368
|
+
end
|
1369
|
+
|
1346
1370
|
class Service
|
1347
1371
|
# @private
|
1348
1372
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1398,15 +1422,6 @@ module Google
|
|
1398
1422
|
end
|
1399
1423
|
end
|
1400
1424
|
|
1401
|
-
class ServiceIdentity
|
1402
|
-
# @private
|
1403
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1404
|
-
property :description, as: 'description'
|
1405
|
-
property :display_name, as: 'displayName'
|
1406
|
-
property :service_account_parent, as: 'serviceAccountParent'
|
1407
|
-
end
|
1408
|
-
end
|
1409
|
-
|
1410
1425
|
class SourceContext
|
1411
1426
|
# @private
|
1412
1427
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1437,6 +1452,8 @@ module Google
|
|
1437
1452
|
property :name, as: 'name'
|
1438
1453
|
property :network, as: 'network'
|
1439
1454
|
property :outside_allocation, as: 'outsideAllocation'
|
1455
|
+
collection :secondary_ip_ranges, as: 'secondaryIpRanges', class: Google::Apis::ServicenetworkingV1::SecondaryIpRange, decorator: Google::Apis::ServicenetworkingV1::SecondaryIpRange::Representation
|
1456
|
+
|
1440
1457
|
end
|
1441
1458
|
end
|
1442
1459
|
|
@@ -1506,8 +1523,6 @@ module Google
|
|
1506
1523
|
collection :requirements, as: 'requirements'
|
1507
1524
|
collection :rules, as: 'rules', class: Google::Apis::ServicenetworkingV1::UsageRule, decorator: Google::Apis::ServicenetworkingV1::UsageRule::Representation
|
1508
1525
|
|
1509
|
-
property :service_identity, as: 'serviceIdentity', class: Google::Apis::ServicenetworkingV1::ServiceIdentity, decorator: Google::Apis::ServicenetworkingV1::ServiceIdentity::Representation
|
1510
|
-
|
1511
1526
|
end
|
1512
1527
|
end
|
1513
1528
|
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
|
27
27
|
module ServicenetworkingV1beta
|
28
28
|
VERSION = 'V1beta'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20201021'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -1586,13 +1586,6 @@ module Google
|
|
1586
1586
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::HttpRule>]
|
1587
1587
|
attr_accessor :additional_bindings
|
1588
1588
|
|
1589
|
-
# When this flag is set to true, HTTP requests will be allowed to invoke a half-
|
1590
|
-
# duplex streaming method.
|
1591
|
-
# Corresponds to the JSON property `allowHalfDuplex`
|
1592
|
-
# @return [Boolean]
|
1593
|
-
attr_accessor :allow_half_duplex
|
1594
|
-
alias_method :allow_half_duplex?, :allow_half_duplex
|
1595
|
-
|
1596
1589
|
# The name of the request field whose value is mapped to the HTTP request body,
|
1597
1590
|
# or `*` for mapping all request fields not captured by the path pattern to the
|
1598
1591
|
# HTTP body, or omitted for not having any HTTP request body. NOTE: the referred
|
@@ -1652,7 +1645,6 @@ module Google
|
|
1652
1645
|
# Update properties of this object
|
1653
1646
|
def update!(**args)
|
1654
1647
|
@additional_bindings = args[:additional_bindings] if args.key?(:additional_bindings)
|
1655
|
-
@allow_half_duplex = args[:allow_half_duplex] if args.key?(:allow_half_duplex)
|
1656
1648
|
@body = args[:body] if args.key?(:body)
|
1657
1649
|
@custom = args[:custom] if args.key?(:custom)
|
1658
1650
|
@delete = args[:delete] if args.key?(:delete)
|
@@ -2880,6 +2872,31 @@ module Google
|
|
2880
2872
|
end
|
2881
2873
|
end
|
2882
2874
|
|
2875
|
+
#
|
2876
|
+
class SecondaryIpRange
|
2877
|
+
include Google::Apis::Core::Hashable
|
2878
|
+
|
2879
|
+
# Secondary IP CIDR range in `x.x.x.x/y` format.
|
2880
|
+
# Corresponds to the JSON property `ipCidrRange`
|
2881
|
+
# @return [String]
|
2882
|
+
attr_accessor :ip_cidr_range
|
2883
|
+
|
2884
|
+
# Name of the secondary IP range.
|
2885
|
+
# Corresponds to the JSON property `rangeName`
|
2886
|
+
# @return [String]
|
2887
|
+
attr_accessor :range_name
|
2888
|
+
|
2889
|
+
def initialize(**args)
|
2890
|
+
update!(**args)
|
2891
|
+
end
|
2892
|
+
|
2893
|
+
# Update properties of this object
|
2894
|
+
def update!(**args)
|
2895
|
+
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
|
2896
|
+
@range_name = args[:range_name] if args.key?(:range_name)
|
2897
|
+
end
|
2898
|
+
end
|
2899
|
+
|
2883
2900
|
# `Service` is the root object of Google service configuration schema. It
|
2884
2901
|
# describes basic information about a service, such as the name and the title,
|
2885
2902
|
# and delegates other aspects to sub-sections. Each sub-section is either a
|
@@ -2935,10 +2952,7 @@ module Google
|
|
2935
2952
|
# @return [Google::Apis::ServicenetworkingV1beta::Billing]
|
2936
2953
|
attr_accessor :billing
|
2937
2954
|
|
2938
|
-
#
|
2939
|
-
# the interpretation of the service configuration. For example, certain features
|
2940
|
-
# are enabled by default for certain config versions. The latest config version
|
2941
|
-
# is `3`.
|
2955
|
+
# This field is obsolete. Its value must be set to `3`.
|
2942
2956
|
# Corresponds to the JSON property `configVersion`
|
2943
2957
|
# @return [Fixnum]
|
2944
2958
|
attr_accessor :config_version
|
@@ -3203,44 +3217,6 @@ module Google
|
|
3203
3217
|
end
|
3204
3218
|
end
|
3205
3219
|
|
3206
|
-
# The per-product per-project service identity for a service. Use this field to
|
3207
|
-
# configure per-product per-project service identity. Example of a service
|
3208
|
-
# identity configuration. usage: service_identity: - service_account_parent: "
|
3209
|
-
# projects/123456789" display_name: "Cloud XXX Service Agent" description: "Used
|
3210
|
-
# as the identity of Cloud XXX to access resources"
|
3211
|
-
class ServiceIdentity
|
3212
|
-
include Google::Apis::Core::Hashable
|
3213
|
-
|
3214
|
-
# Optional. A user-specified opaque description of the service account. Must be
|
3215
|
-
# less than or equal to 256 UTF-8 bytes.
|
3216
|
-
# Corresponds to the JSON property `description`
|
3217
|
-
# @return [String]
|
3218
|
-
attr_accessor :description
|
3219
|
-
|
3220
|
-
# Optional. A user-specified name for the service account. Must be less than or
|
3221
|
-
# equal to 100 UTF-8 bytes.
|
3222
|
-
# Corresponds to the JSON property `displayName`
|
3223
|
-
# @return [String]
|
3224
|
-
attr_accessor :display_name
|
3225
|
-
|
3226
|
-
# A service account project that hosts the service accounts. An example name
|
3227
|
-
# would be: `projects/123456789`
|
3228
|
-
# Corresponds to the JSON property `serviceAccountParent`
|
3229
|
-
# @return [String]
|
3230
|
-
attr_accessor :service_account_parent
|
3231
|
-
|
3232
|
-
def initialize(**args)
|
3233
|
-
update!(**args)
|
3234
|
-
end
|
3235
|
-
|
3236
|
-
# Update properties of this object
|
3237
|
-
def update!(**args)
|
3238
|
-
@description = args[:description] if args.key?(:description)
|
3239
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
3240
|
-
@service_account_parent = args[:service_account_parent] if args.key?(:service_account_parent)
|
3241
|
-
end
|
3242
|
-
end
|
3243
|
-
|
3244
3220
|
# `SourceContext` represents information about the source of a protobuf element,
|
3245
3221
|
# like the file in which it is defined.
|
3246
3222
|
class SourceContext
|
@@ -3348,6 +3324,11 @@ module Google
|
|
3348
3324
|
attr_accessor :outside_allocation
|
3349
3325
|
alias_method :outside_allocation?, :outside_allocation
|
3350
3326
|
|
3327
|
+
# List of secondary IP ranges in this subnetwork.
|
3328
|
+
# Corresponds to the JSON property `secondaryIpRanges`
|
3329
|
+
# @return [Array<Google::Apis::ServicenetworkingV1beta::SecondaryIpRange>]
|
3330
|
+
attr_accessor :secondary_ip_ranges
|
3331
|
+
|
3351
3332
|
def initialize(**args)
|
3352
3333
|
update!(**args)
|
3353
3334
|
end
|
@@ -3358,6 +3339,7 @@ module Google
|
|
3358
3339
|
@name = args[:name] if args.key?(:name)
|
3359
3340
|
@network = args[:network] if args.key?(:network)
|
3360
3341
|
@outside_allocation = args[:outside_allocation] if args.key?(:outside_allocation)
|
3342
|
+
@secondary_ip_ranges = args[:secondary_ip_ranges] if args.key?(:secondary_ip_ranges)
|
3361
3343
|
end
|
3362
3344
|
end
|
3363
3345
|
|
@@ -3546,15 +3528,6 @@ module Google
|
|
3546
3528
|
# @return [Array<Google::Apis::ServicenetworkingV1beta::UsageRule>]
|
3547
3529
|
attr_accessor :rules
|
3548
3530
|
|
3549
|
-
# The per-product per-project service identity for a service. Use this field to
|
3550
|
-
# configure per-product per-project service identity. Example of a service
|
3551
|
-
# identity configuration. usage: service_identity: - service_account_parent: "
|
3552
|
-
# projects/123456789" display_name: "Cloud XXX Service Agent" description: "Used
|
3553
|
-
# as the identity of Cloud XXX to access resources"
|
3554
|
-
# Corresponds to the JSON property `serviceIdentity`
|
3555
|
-
# @return [Google::Apis::ServicenetworkingV1beta::ServiceIdentity]
|
3556
|
-
attr_accessor :service_identity
|
3557
|
-
|
3558
3531
|
def initialize(**args)
|
3559
3532
|
update!(**args)
|
3560
3533
|
end
|
@@ -3564,7 +3537,6 @@ module Google
|
|
3564
3537
|
@producer_notification_channel = args[:producer_notification_channel] if args.key?(:producer_notification_channel)
|
3565
3538
|
@requirements = args[:requirements] if args.key?(:requirements)
|
3566
3539
|
@rules = args[:rules] if args.key?(:rules)
|
3567
|
-
@service_identity = args[:service_identity] if args.key?(:service_identity)
|
3568
3540
|
end
|
3569
3541
|
end
|
3570
3542
|
|