google-api-client 0.39.4 → 0.39.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +65 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +7 -0
- data/generated/google/apis/apigee_v1/representations.rb +1 -0
- data/generated/google/apis/apigee_v1/service.rb +9 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1010 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +380 -0
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +12 -1
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/service.rb +8 -8
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +18 -14
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +4 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +371 -27
- data/generated/google/apis/cloudasset_v1/representations.rb +97 -0
- data/generated/google/apis/cloudasset_v1/service.rb +186 -8
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +23 -10
- data/generated/google/apis/cloudasset_v1beta1/service.rb +12 -3
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +42 -10
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +121 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +142 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +60 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +142 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +60 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +35 -0
- data/generated/google/apis/container_v1beta1/representations.rb +17 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +6 -0
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +26 -12
- data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
- data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
- data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +3 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +3 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +2 -2
- data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
- data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5022 -0
- data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2057 -0
- data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/service.rb +7 -2
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +9 -21
- data/generated/google/apis/dlp_v2/service.rb +79 -142
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +160 -261
- data/generated/google/apis/dns_v1/representations.rb +17 -0
- data/generated/google/apis/dns_v1/service.rb +21 -141
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
- data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -141
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
- data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
- data/generated/google/apis/dns_v2beta1/service.rb +21 -141
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +31 -0
- data/generated/google/apis/file_v1/representations.rb +15 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +31 -0
- data/generated/google/apis/file_v1beta1/representations.rb +15 -0
- data/generated/google/apis/{pagespeedonline_v1.rb → firebaseml_v1.rb} +11 -9
- data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
- data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
- data/generated/google/apis/firebaseml_v1/service.rb +181 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +1 -1
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +26 -2
- data/generated/google/apis/networkmanagement_v1.rb +35 -0
- data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
- data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +27 -12
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +27 -12
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +27 -12
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -31
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +0 -31
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +0 -31
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +379 -31
- data/generated/google/apis/servicenetworking_v1/representations.rb +209 -1
- data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +188 -31
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +0 -31
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -31
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -1
- data/generated/google/apis/tasks_v1.rb +3 -3
- data/generated/google/apis/tasks_v1/classes.rb +26 -25
- data/generated/google/apis/tasks_v1/representations.rb +4 -8
- data/generated/google/apis/tasks_v1/service.rb +79 -128
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1.rb +3 -3
- data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
- data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +5 -5
- data/generated/google/apis/youtube_v3/classes.rb +1260 -1244
- data/generated/google/apis/youtube_v3/representations.rb +64 -192
- data/generated/google/apis/youtube_v3/service.rb +1833 -2125
- data/lib/google/apis/version.rb +1 -1
- metadata +19 -7
- data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
- data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
- data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
@@ -662,7 +662,6 @@ module Google
|
|
662
662
|
property :operation_deadline, as: 'operationDeadline'
|
663
663
|
property :path_translation, as: 'pathTranslation'
|
664
664
|
property :protocol, as: 'protocol'
|
665
|
-
property :rename_to, as: 'renameTo'
|
666
665
|
property :selector, as: 'selector'
|
667
666
|
end
|
668
667
|
end
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/service-consumer-management/docs/overview
|
26
26
|
module ServiceconsumermanagementV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200516'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -441,36 +441,6 @@ module Google
|
|
441
441
|
# @return [String]
|
442
442
|
attr_accessor :protocol
|
443
443
|
|
444
|
-
# Unimplemented. Do not use.
|
445
|
-
# The new name the selected proto elements should be renamed to.
|
446
|
-
# The package, the service and the method can all be renamed.
|
447
|
-
# The backend server should implement the renamed proto. However, clients
|
448
|
-
# should call the original method, and ESF routes the traffic to the renamed
|
449
|
-
# method.
|
450
|
-
# HTTP clients should call the URL mapped to the original method.
|
451
|
-
# gRPC and Stubby clients should call the original method with package name.
|
452
|
-
# For legacy reasons, ESF allows Stubby clients to call with the
|
453
|
-
# short name (without the package name). However, for API Versioning(or
|
454
|
-
# multiple methods mapped to the same short name), all Stubby clients must
|
455
|
-
# call the method's full name with the package name, otherwise the first one
|
456
|
-
# (selector) wins.
|
457
|
-
# If this `rename_to` is specified with a trailing `*`, the `selector` must
|
458
|
-
# be specified with a trailing `*` as well. The all element short names
|
459
|
-
# matched by the `*` in the selector will be kept in the `rename_to`.
|
460
|
-
# For example,
|
461
|
-
# rename_rules:
|
462
|
-
# - selector: |-
|
463
|
-
# google.example.library.v1.*
|
464
|
-
# rename_to: google.example.library.*
|
465
|
-
# The selector matches `google.example.library.v1.Library.CreateShelf` and
|
466
|
-
# `google.example.library.v1.Library.CreateBook`, they will be renamed to
|
467
|
-
# `google.example.library.Library.CreateShelf` and
|
468
|
-
# `google.example.library.Library.CreateBook`. It essentially renames the
|
469
|
-
# proto package name section of the matched proto service and methods.
|
470
|
-
# Corresponds to the JSON property `renameTo`
|
471
|
-
# @return [String]
|
472
|
-
attr_accessor :rename_to
|
473
|
-
|
474
444
|
# Selects the methods to which this rule applies.
|
475
445
|
# Refer to selector for syntax details.
|
476
446
|
# Corresponds to the JSON property `selector`
|
@@ -491,7 +461,6 @@ module Google
|
|
491
461
|
@operation_deadline = args[:operation_deadline] if args.key?(:operation_deadline)
|
492
462
|
@path_translation = args[:path_translation] if args.key?(:path_translation)
|
493
463
|
@protocol = args[:protocol] if args.key?(:protocol)
|
494
|
-
@rename_to = args[:rename_to] if args.key?(:rename_to)
|
495
464
|
@selector = args[:selector] if args.key?(:selector)
|
496
465
|
end
|
497
466
|
end
|
@@ -569,7 +569,6 @@ module Google
|
|
569
569
|
property :operation_deadline, as: 'operationDeadline'
|
570
570
|
property :path_translation, as: 'pathTranslation'
|
571
571
|
property :protocol, as: 'protocol'
|
572
|
-
property :rename_to, as: 'renameTo'
|
573
572
|
property :selector, as: 'selector'
|
574
573
|
end
|
575
574
|
end
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/service-management/
|
28
28
|
module ServicemanagementV1
|
29
29
|
VERSION = 'V1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20200515'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -578,36 +578,6 @@ module Google
|
|
578
578
|
# @return [String]
|
579
579
|
attr_accessor :protocol
|
580
580
|
|
581
|
-
# Unimplemented. Do not use.
|
582
|
-
# The new name the selected proto elements should be renamed to.
|
583
|
-
# The package, the service and the method can all be renamed.
|
584
|
-
# The backend server should implement the renamed proto. However, clients
|
585
|
-
# should call the original method, and ESF routes the traffic to the renamed
|
586
|
-
# method.
|
587
|
-
# HTTP clients should call the URL mapped to the original method.
|
588
|
-
# gRPC and Stubby clients should call the original method with package name.
|
589
|
-
# For legacy reasons, ESF allows Stubby clients to call with the
|
590
|
-
# short name (without the package name). However, for API Versioning(or
|
591
|
-
# multiple methods mapped to the same short name), all Stubby clients must
|
592
|
-
# call the method's full name with the package name, otherwise the first one
|
593
|
-
# (selector) wins.
|
594
|
-
# If this `rename_to` is specified with a trailing `*`, the `selector` must
|
595
|
-
# be specified with a trailing `*` as well. The all element short names
|
596
|
-
# matched by the `*` in the selector will be kept in the `rename_to`.
|
597
|
-
# For example,
|
598
|
-
# rename_rules:
|
599
|
-
# - selector: |-
|
600
|
-
# google.example.library.v1.*
|
601
|
-
# rename_to: google.example.library.*
|
602
|
-
# The selector matches `google.example.library.v1.Library.CreateShelf` and
|
603
|
-
# `google.example.library.v1.Library.CreateBook`, they will be renamed to
|
604
|
-
# `google.example.library.Library.CreateShelf` and
|
605
|
-
# `google.example.library.Library.CreateBook`. It essentially renames the
|
606
|
-
# proto package name section of the matched proto service and methods.
|
607
|
-
# Corresponds to the JSON property `renameTo`
|
608
|
-
# @return [String]
|
609
|
-
attr_accessor :rename_to
|
610
|
-
|
611
581
|
# Selects the methods to which this rule applies.
|
612
582
|
# Refer to selector for syntax details.
|
613
583
|
# Corresponds to the JSON property `selector`
|
@@ -628,7 +598,6 @@ module Google
|
|
628
598
|
@operation_deadline = args[:operation_deadline] if args.key?(:operation_deadline)
|
629
599
|
@path_translation = args[:path_translation] if args.key?(:path_translation)
|
630
600
|
@protocol = args[:protocol] if args.key?(:protocol)
|
631
|
-
@rename_to = args[:rename_to] if args.key?(:rename_to)
|
632
601
|
@selector = args[:selector] if args.key?(:selector)
|
633
602
|
end
|
634
603
|
end
|
@@ -665,7 +665,6 @@ module Google
|
|
665
665
|
property :operation_deadline, as: 'operationDeadline'
|
666
666
|
property :path_translation, as: 'pathTranslation'
|
667
667
|
property :protocol, as: 'protocol'
|
668
|
-
property :rename_to, as: 'renameTo'
|
669
668
|
property :selector, as: 'selector'
|
670
669
|
end
|
671
670
|
end
|
@@ -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 = '20200519'
|
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'
|
@@ -22,6 +22,137 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ServicenetworkingV1
|
24
24
|
|
25
|
+
# Metadata provided through GetOperation request for the LRO generated by
|
26
|
+
# AddDnsRecordSet API
|
27
|
+
class AddDnsRecordSetMetadata
|
28
|
+
include Google::Apis::Core::Hashable
|
29
|
+
|
30
|
+
def initialize(**args)
|
31
|
+
update!(**args)
|
32
|
+
end
|
33
|
+
|
34
|
+
# Update properties of this object
|
35
|
+
def update!(**args)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
# Request to add a record set to a private managed DNS zone in the shared
|
40
|
+
# producer host project.
|
41
|
+
class AddDnsRecordSetRequest
|
42
|
+
include Google::Apis::Core::Hashable
|
43
|
+
|
44
|
+
# Required. The network that the consumer is using to connect with services.
|
45
|
+
# Must be in the form of projects/`project`/global/networks/`network`
|
46
|
+
# `project` is the project number, as in '12345'
|
47
|
+
# `network` is the network name.
|
48
|
+
# Corresponds to the JSON property `consumerNetwork`
|
49
|
+
# @return [String]
|
50
|
+
attr_accessor :consumer_network
|
51
|
+
|
52
|
+
# Represents a DNS record set resource.
|
53
|
+
# Corresponds to the JSON property `dnsRecordSet`
|
54
|
+
# @return [Google::Apis::ServicenetworkingV1::DnsRecordSet]
|
55
|
+
attr_accessor :dns_record_set
|
56
|
+
|
57
|
+
# Required. The name of the private DNS zone in the shared producer host project
|
58
|
+
# to
|
59
|
+
# which the record set will be added.
|
60
|
+
# Corresponds to the JSON property `zone`
|
61
|
+
# @return [String]
|
62
|
+
attr_accessor :zone
|
63
|
+
|
64
|
+
def initialize(**args)
|
65
|
+
update!(**args)
|
66
|
+
end
|
67
|
+
|
68
|
+
# Update properties of this object
|
69
|
+
def update!(**args)
|
70
|
+
@consumer_network = args[:consumer_network] if args.key?(:consumer_network)
|
71
|
+
@dns_record_set = args[:dns_record_set] if args.key?(:dns_record_set)
|
72
|
+
@zone = args[:zone] if args.key?(:zone)
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
# Metadata provided through GetOperation request for the LRO generated by
|
77
|
+
# AddDnsZone API
|
78
|
+
class AddDnsZoneMetadata
|
79
|
+
include Google::Apis::Core::Hashable
|
80
|
+
|
81
|
+
def initialize(**args)
|
82
|
+
update!(**args)
|
83
|
+
end
|
84
|
+
|
85
|
+
# Update properties of this object
|
86
|
+
def update!(**args)
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
# Request to add a private managed DNS zone in the shared producer host project
|
91
|
+
# and a matching DNS peering zone in the consumer project.
|
92
|
+
class AddDnsZoneRequest
|
93
|
+
include Google::Apis::Core::Hashable
|
94
|
+
|
95
|
+
# Required. The network that the consumer is using to connect with services.
|
96
|
+
# Must be in the form of projects/`project`/global/networks/`network`
|
97
|
+
# `project` is the project number, as in '12345'
|
98
|
+
# `network` is the network name.
|
99
|
+
# Corresponds to the JSON property `consumerNetwork`
|
100
|
+
# @return [String]
|
101
|
+
attr_accessor :consumer_network
|
102
|
+
|
103
|
+
# Required. The DNS name suffix for the zones e.g. `example.com`.
|
104
|
+
# Corresponds to the JSON property `dnsSuffix`
|
105
|
+
# @return [String]
|
106
|
+
attr_accessor :dns_suffix
|
107
|
+
|
108
|
+
# Required. The name for both the private zone in the shared producer host
|
109
|
+
# project and
|
110
|
+
# the peering zone in the consumer project. Must be unique within both
|
111
|
+
# projects. The name must be 1-63 characters long, must begin with a letter,
|
112
|
+
# end with a letter or digit, and only contain lowercase letters, digits or
|
113
|
+
# dashes.
|
114
|
+
# Corresponds to the JSON property `name`
|
115
|
+
# @return [String]
|
116
|
+
attr_accessor :name
|
117
|
+
|
118
|
+
def initialize(**args)
|
119
|
+
update!(**args)
|
120
|
+
end
|
121
|
+
|
122
|
+
# Update properties of this object
|
123
|
+
def update!(**args)
|
124
|
+
@consumer_network = args[:consumer_network] if args.key?(:consumer_network)
|
125
|
+
@dns_suffix = args[:dns_suffix] if args.key?(:dns_suffix)
|
126
|
+
@name = args[:name] if args.key?(:name)
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
# Represents managed DNS zones created in the shared producer host and consumer
|
131
|
+
# projects.
|
132
|
+
class AddDnsZoneResponse
|
133
|
+
include Google::Apis::Core::Hashable
|
134
|
+
|
135
|
+
# Represents a DNS zone resource.
|
136
|
+
# Corresponds to the JSON property `consumerPeeringZone`
|
137
|
+
# @return [Google::Apis::ServicenetworkingV1::DnsZone]
|
138
|
+
attr_accessor :consumer_peering_zone
|
139
|
+
|
140
|
+
# Represents a DNS zone resource.
|
141
|
+
# Corresponds to the JSON property `producerPrivateZone`
|
142
|
+
# @return [Google::Apis::ServicenetworkingV1::DnsZone]
|
143
|
+
attr_accessor :producer_private_zone
|
144
|
+
|
145
|
+
def initialize(**args)
|
146
|
+
update!(**args)
|
147
|
+
end
|
148
|
+
|
149
|
+
# Update properties of this object
|
150
|
+
def update!(**args)
|
151
|
+
@consumer_peering_zone = args[:consumer_peering_zone] if args.key?(:consumer_peering_zone)
|
152
|
+
@producer_private_zone = args[:producer_private_zone] if args.key?(:producer_private_zone)
|
153
|
+
end
|
154
|
+
end
|
155
|
+
|
25
156
|
# Metadata provided through GetOperation request for the LRO generated by
|
26
157
|
# AddRoles API
|
27
158
|
class AddRolesMetadata
|
@@ -595,36 +726,6 @@ module Google
|
|
595
726
|
# @return [String]
|
596
727
|
attr_accessor :protocol
|
597
728
|
|
598
|
-
# Unimplemented. Do not use.
|
599
|
-
# The new name the selected proto elements should be renamed to.
|
600
|
-
# The package, the service and the method can all be renamed.
|
601
|
-
# The backend server should implement the renamed proto. However, clients
|
602
|
-
# should call the original method, and ESF routes the traffic to the renamed
|
603
|
-
# method.
|
604
|
-
# HTTP clients should call the URL mapped to the original method.
|
605
|
-
# gRPC and Stubby clients should call the original method with package name.
|
606
|
-
# For legacy reasons, ESF allows Stubby clients to call with the
|
607
|
-
# short name (without the package name). However, for API Versioning(or
|
608
|
-
# multiple methods mapped to the same short name), all Stubby clients must
|
609
|
-
# call the method's full name with the package name, otherwise the first one
|
610
|
-
# (selector) wins.
|
611
|
-
# If this `rename_to` is specified with a trailing `*`, the `selector` must
|
612
|
-
# be specified with a trailing `*` as well. The all element short names
|
613
|
-
# matched by the `*` in the selector will be kept in the `rename_to`.
|
614
|
-
# For example,
|
615
|
-
# rename_rules:
|
616
|
-
# - selector: |-
|
617
|
-
# google.example.library.v1.*
|
618
|
-
# rename_to: google.example.library.*
|
619
|
-
# The selector matches `google.example.library.v1.Library.CreateShelf` and
|
620
|
-
# `google.example.library.v1.Library.CreateBook`, they will be renamed to
|
621
|
-
# `google.example.library.Library.CreateShelf` and
|
622
|
-
# `google.example.library.Library.CreateBook`. It essentially renames the
|
623
|
-
# proto package name section of the matched proto service and methods.
|
624
|
-
# Corresponds to the JSON property `renameTo`
|
625
|
-
# @return [String]
|
626
|
-
attr_accessor :rename_to
|
627
|
-
|
628
729
|
# Selects the methods to which this rule applies.
|
629
730
|
# Refer to selector for syntax details.
|
630
731
|
# Corresponds to the JSON property `selector`
|
@@ -645,7 +746,6 @@ module Google
|
|
645
746
|
@operation_deadline = args[:operation_deadline] if args.key?(:operation_deadline)
|
646
747
|
@path_translation = args[:path_translation] if args.key?(:path_translation)
|
647
748
|
@protocol = args[:protocol] if args.key?(:protocol)
|
648
|
-
@rename_to = args[:rename_to] if args.key?(:rename_to)
|
649
749
|
@selector = args[:selector] if args.key?(:selector)
|
650
750
|
end
|
651
751
|
end
|
@@ -1042,6 +1142,72 @@ module Google
|
|
1042
1142
|
end
|
1043
1143
|
end
|
1044
1144
|
|
1145
|
+
# Represents a DNS record set resource.
|
1146
|
+
class DnsRecordSet
|
1147
|
+
include Google::Apis::Core::Hashable
|
1148
|
+
|
1149
|
+
# Required. As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) for
|
1150
|
+
# examples see https://cloud.google.com/dns/records/json-record.
|
1151
|
+
# Corresponds to the JSON property `data`
|
1152
|
+
# @return [Array<String>]
|
1153
|
+
attr_accessor :data
|
1154
|
+
|
1155
|
+
# Required. The DNS or domain name of the record set, e.g. `test.example.com`.
|
1156
|
+
# Corresponds to the JSON property `domain`
|
1157
|
+
# @return [String]
|
1158
|
+
attr_accessor :domain
|
1159
|
+
|
1160
|
+
# Required. The period of time for which this RecordSet can be cached by
|
1161
|
+
# resolvers.
|
1162
|
+
# Corresponds to the JSON property `ttl`
|
1163
|
+
# @return [String]
|
1164
|
+
attr_accessor :ttl
|
1165
|
+
|
1166
|
+
# Required. The identifier of a supported record type.
|
1167
|
+
# Corresponds to the JSON property `type`
|
1168
|
+
# @return [String]
|
1169
|
+
attr_accessor :type
|
1170
|
+
|
1171
|
+
def initialize(**args)
|
1172
|
+
update!(**args)
|
1173
|
+
end
|
1174
|
+
|
1175
|
+
# Update properties of this object
|
1176
|
+
def update!(**args)
|
1177
|
+
@data = args[:data] if args.key?(:data)
|
1178
|
+
@domain = args[:domain] if args.key?(:domain)
|
1179
|
+
@ttl = args[:ttl] if args.key?(:ttl)
|
1180
|
+
@type = args[:type] if args.key?(:type)
|
1181
|
+
end
|
1182
|
+
end
|
1183
|
+
|
1184
|
+
# Represents a DNS zone resource.
|
1185
|
+
class DnsZone
|
1186
|
+
include Google::Apis::Core::Hashable
|
1187
|
+
|
1188
|
+
# The DNS name suffix of this zone e.g. `example.com.`.
|
1189
|
+
# Corresponds to the JSON property `dnsSuffix`
|
1190
|
+
# @return [String]
|
1191
|
+
attr_accessor :dns_suffix
|
1192
|
+
|
1193
|
+
# User assigned name for this resource. Must be unique within the project.
|
1194
|
+
# The name must be 1-63 characters long, must begin with a letter, end with
|
1195
|
+
# a letter or digit, and only contain lowercase letters, digits or dashes.
|
1196
|
+
# Corresponds to the JSON property `name`
|
1197
|
+
# @return [String]
|
1198
|
+
attr_accessor :name
|
1199
|
+
|
1200
|
+
def initialize(**args)
|
1201
|
+
update!(**args)
|
1202
|
+
end
|
1203
|
+
|
1204
|
+
# Update properties of this object
|
1205
|
+
def update!(**args)
|
1206
|
+
@dns_suffix = args[:dns_suffix] if args.key?(:dns_suffix)
|
1207
|
+
@name = args[:name] if args.key?(:name)
|
1208
|
+
end
|
1209
|
+
end
|
1210
|
+
|
1045
1211
|
# `Documentation` provides the information for describing a service.
|
1046
1212
|
# Example:
|
1047
1213
|
# <pre><code>documentation:
|
@@ -3105,6 +3271,129 @@ module Google
|
|
3105
3271
|
end
|
3106
3272
|
end
|
3107
3273
|
|
3274
|
+
# Metadata provided through GetOperation request for the LRO generated by
|
3275
|
+
# RemoveDnsRecordSet API
|
3276
|
+
class RemoveDnsRecordSetMetadata
|
3277
|
+
include Google::Apis::Core::Hashable
|
3278
|
+
|
3279
|
+
def initialize(**args)
|
3280
|
+
update!(**args)
|
3281
|
+
end
|
3282
|
+
|
3283
|
+
# Update properties of this object
|
3284
|
+
def update!(**args)
|
3285
|
+
end
|
3286
|
+
end
|
3287
|
+
|
3288
|
+
# Request to remove a record set from a private managed DNS zone in the shared
|
3289
|
+
# producer host project. The name, type, ttl, and data values must all exactly
|
3290
|
+
# match an existing record set in the specified zone.
|
3291
|
+
class RemoveDnsRecordSetRequest
|
3292
|
+
include Google::Apis::Core::Hashable
|
3293
|
+
|
3294
|
+
# Required. The network that the consumer is using to connect with services.
|
3295
|
+
# Must be in the form of projects/`project`/global/networks/`network`
|
3296
|
+
# `project` is the project number, as in '12345'
|
3297
|
+
# `network` is the network name.
|
3298
|
+
# Corresponds to the JSON property `consumerNetwork`
|
3299
|
+
# @return [String]
|
3300
|
+
attr_accessor :consumer_network
|
3301
|
+
|
3302
|
+
# Represents a DNS record set resource.
|
3303
|
+
# Corresponds to the JSON property `dnsRecordSet`
|
3304
|
+
# @return [Google::Apis::ServicenetworkingV1::DnsRecordSet]
|
3305
|
+
attr_accessor :dns_record_set
|
3306
|
+
|
3307
|
+
# Required. The name of the private DNS zone in the shared producer host project
|
3308
|
+
# from
|
3309
|
+
# which the record set will be removed.
|
3310
|
+
# Corresponds to the JSON property `zone`
|
3311
|
+
# @return [String]
|
3312
|
+
attr_accessor :zone
|
3313
|
+
|
3314
|
+
def initialize(**args)
|
3315
|
+
update!(**args)
|
3316
|
+
end
|
3317
|
+
|
3318
|
+
# Update properties of this object
|
3319
|
+
def update!(**args)
|
3320
|
+
@consumer_network = args[:consumer_network] if args.key?(:consumer_network)
|
3321
|
+
@dns_record_set = args[:dns_record_set] if args.key?(:dns_record_set)
|
3322
|
+
@zone = args[:zone] if args.key?(:zone)
|
3323
|
+
end
|
3324
|
+
end
|
3325
|
+
|
3326
|
+
# Blank message response type for RemoveDnsRecordSet API
|
3327
|
+
class RemoveDnsRecordSetResponse
|
3328
|
+
include Google::Apis::Core::Hashable
|
3329
|
+
|
3330
|
+
def initialize(**args)
|
3331
|
+
update!(**args)
|
3332
|
+
end
|
3333
|
+
|
3334
|
+
# Update properties of this object
|
3335
|
+
def update!(**args)
|
3336
|
+
end
|
3337
|
+
end
|
3338
|
+
|
3339
|
+
# Metadata provided through GetOperation request for the LRO generated by
|
3340
|
+
# RemoveDnsZone API
|
3341
|
+
class RemoveDnsZoneMetadata
|
3342
|
+
include Google::Apis::Core::Hashable
|
3343
|
+
|
3344
|
+
def initialize(**args)
|
3345
|
+
update!(**args)
|
3346
|
+
end
|
3347
|
+
|
3348
|
+
# Update properties of this object
|
3349
|
+
def update!(**args)
|
3350
|
+
end
|
3351
|
+
end
|
3352
|
+
|
3353
|
+
# Request to remove a private managed DNS zone in the shared producer host
|
3354
|
+
# project and a matching DNS peering zone in the consumer project.
|
3355
|
+
class RemoveDnsZoneRequest
|
3356
|
+
include Google::Apis::Core::Hashable
|
3357
|
+
|
3358
|
+
# Required. The network that the consumer is using to connect with services.
|
3359
|
+
# Must be in the form of projects/`project`/global/networks/`network`
|
3360
|
+
# `project` is the project number, as in '12345'
|
3361
|
+
# `network` is the network name.
|
3362
|
+
# Corresponds to the JSON property `consumerNetwork`
|
3363
|
+
# @return [String]
|
3364
|
+
attr_accessor :consumer_network
|
3365
|
+
|
3366
|
+
# Required. The name for both the private zone in the shared producer host
|
3367
|
+
# project and
|
3368
|
+
# the peering zone in the consumer project.
|
3369
|
+
# Corresponds to the JSON property `name`
|
3370
|
+
# @return [String]
|
3371
|
+
attr_accessor :name
|
3372
|
+
|
3373
|
+
def initialize(**args)
|
3374
|
+
update!(**args)
|
3375
|
+
end
|
3376
|
+
|
3377
|
+
# Update properties of this object
|
3378
|
+
def update!(**args)
|
3379
|
+
@consumer_network = args[:consumer_network] if args.key?(:consumer_network)
|
3380
|
+
@name = args[:name] if args.key?(:name)
|
3381
|
+
end
|
3382
|
+
end
|
3383
|
+
|
3384
|
+
# Blank message response type for RemoveDnsZone API
|
3385
|
+
class RemoveDnsZoneResponse
|
3386
|
+
include Google::Apis::Core::Hashable
|
3387
|
+
|
3388
|
+
def initialize(**args)
|
3389
|
+
update!(**args)
|
3390
|
+
end
|
3391
|
+
|
3392
|
+
# Update properties of this object
|
3393
|
+
def update!(**args)
|
3394
|
+
end
|
3395
|
+
end
|
3396
|
+
|
3108
3397
|
# Represents a route that was created or discovered by a private access
|
3109
3398
|
# management service.
|
3110
3399
|
class Route
|
@@ -3959,6 +4248,65 @@ module Google
|
|
3959
4248
|
end
|
3960
4249
|
end
|
3961
4250
|
|
4251
|
+
# Metadata provided through GetOperation request for the LRO generated by
|
4252
|
+
# UpdateDnsRecordSet API
|
4253
|
+
class UpdateDnsRecordSetMetadata
|
4254
|
+
include Google::Apis::Core::Hashable
|
4255
|
+
|
4256
|
+
def initialize(**args)
|
4257
|
+
update!(**args)
|
4258
|
+
end
|
4259
|
+
|
4260
|
+
# Update properties of this object
|
4261
|
+
def update!(**args)
|
4262
|
+
end
|
4263
|
+
end
|
4264
|
+
|
4265
|
+
# Request to update a record set from a private managed DNS zone in the shared
|
4266
|
+
# producer host project. The name, type, ttl, and data values of the existing
|
4267
|
+
# record set must all exactly match an existing record set in the specified
|
4268
|
+
# zone.
|
4269
|
+
class UpdateDnsRecordSetRequest
|
4270
|
+
include Google::Apis::Core::Hashable
|
4271
|
+
|
4272
|
+
# Required. The network that the consumer is using to connect with services.
|
4273
|
+
# Must be in the form of projects/`project`/global/networks/`network`
|
4274
|
+
# `project` is the project number, as in '12345'
|
4275
|
+
# `network` is the network name.
|
4276
|
+
# Corresponds to the JSON property `consumerNetwork`
|
4277
|
+
# @return [String]
|
4278
|
+
attr_accessor :consumer_network
|
4279
|
+
|
4280
|
+
# Represents a DNS record set resource.
|
4281
|
+
# Corresponds to the JSON property `existingDnsRecordSet`
|
4282
|
+
# @return [Google::Apis::ServicenetworkingV1::DnsRecordSet]
|
4283
|
+
attr_accessor :existing_dns_record_set
|
4284
|
+
|
4285
|
+
# Represents a DNS record set resource.
|
4286
|
+
# Corresponds to the JSON property `newDnsRecordSet`
|
4287
|
+
# @return [Google::Apis::ServicenetworkingV1::DnsRecordSet]
|
4288
|
+
attr_accessor :new_dns_record_set
|
4289
|
+
|
4290
|
+
# Required. The name of the private DNS zone in the shared producer host project
|
4291
|
+
# from
|
4292
|
+
# which the record set will be removed.
|
4293
|
+
# Corresponds to the JSON property `zone`
|
4294
|
+
# @return [String]
|
4295
|
+
attr_accessor :zone
|
4296
|
+
|
4297
|
+
def initialize(**args)
|
4298
|
+
update!(**args)
|
4299
|
+
end
|
4300
|
+
|
4301
|
+
# Update properties of this object
|
4302
|
+
def update!(**args)
|
4303
|
+
@consumer_network = args[:consumer_network] if args.key?(:consumer_network)
|
4304
|
+
@existing_dns_record_set = args[:existing_dns_record_set] if args.key?(:existing_dns_record_set)
|
4305
|
+
@new_dns_record_set = args[:new_dns_record_set] if args.key?(:new_dns_record_set)
|
4306
|
+
@zone = args[:zone] if args.key?(:zone)
|
4307
|
+
end
|
4308
|
+
end
|
4309
|
+
|
3962
4310
|
# Configuration controlling usage of a service.
|
3963
4311
|
class Usage
|
3964
4312
|
include Google::Apis::Core::Hashable
|