google-api-client 0.46.1 → 0.46.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/autoapprove.yml +49 -0
- data/.gitignore +2 -0
- data/CHANGELOG.md +58 -0
- data/api_list_config.yaml +8 -0
- data/bin/generate-api +77 -15
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
- data/generated/google/apis/admin_directory_v1/service.rb +72 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +29 -29
- data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +6 -6
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +8 -9
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +7 -7
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +5 -2
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +80 -5
- data/generated/google/apis/bigquery_v2/representations.rb +33 -0
- data/generated/google/apis/bigquery_v2/service.rb +46 -0
- data/generated/google/apis/billingbudgets_v1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +1 -1
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +21 -21
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +22 -10
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +22 -10
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +6 -3
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +30 -30
- data/generated/google/apis/displayvideo_v1/service.rb +8 -8
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +4 -3
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +181 -0
- data/generated/google/apis/dns_v1/representations.rb +83 -0
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +181 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1alpha2/classes.rb +1534 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +605 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/domains_v1beta1.rb +34 -0
- data/generated/google/apis/domains_v1beta1/classes.rb +1534 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +605 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +4 -2
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +3 -1
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +15 -14
- data/generated/google/apis/gameservices_v1/service.rb +54 -51
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +15 -14
- data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +4 -4
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +7 -6
- 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/service.rb +20 -20
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +1 -1
- data/generated/google/apis/managedidentities_v1/service.rb +1 -4
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +80 -9
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +33 -1
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +81 -9
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +33 -1
- data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +8 -8
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +45 -45
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
- data/generated/google/apis/poly_v1.rb +3 -4
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +33 -33
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -4
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +7 -6
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +107 -4
- data/generated/google/apis/servicenetworking_v1/representations.rb +34 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +2 -2
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +107 -4
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +34 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +8 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +17 -18
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
- data/generated/google/apis/sts_v1beta.rb +1 -1
- data/generated/google/apis/sts_v1beta/classes.rb +12 -11
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1/service.rb +8 -8
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +333 -0
- data/generated/google/apis/vault_v1/representations.rb +162 -0
- data/generated/google/apis/vault_v1/service.rb +151 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +2 -2
- data/google-api-client.gemspec +1 -1
- data/lib/google/apis/core/api_command.rb +1 -0
- data/lib/google/apis/version.rb +1 -1
- data/synth.py +40 -0
- metadata +13 -3
@@ -816,8 +816,8 @@ module Google
|
|
816
816
|
|
817
817
|
# Service producers can use this method to add roles in the shared VPC host
|
818
818
|
# project. Each role is bound to the provided member. Each role must be selected
|
819
|
-
# from within
|
820
|
-
# granularity specified in the
|
819
|
+
# from within an allowlisted set of roles. Each role is applied at only the
|
820
|
+
# granularity specified in the allowlist.
|
821
821
|
# @param [String] parent
|
822
822
|
# Required. This is in a form services/`service` where `service` is the name of
|
823
823
|
# the private access management service. For example 'service-peering.example.
|
@@ -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 = '20201015'
|
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'
|
@@ -414,7 +414,8 @@ module Google
|
|
414
414
|
class AuthenticationRule
|
415
415
|
include Google::Apis::Core::Hashable
|
416
416
|
|
417
|
-
# If true, the service accepts API keys without any other credential.
|
417
|
+
# If true, the service accepts API keys without any other credential. This flag
|
418
|
+
# only applies to HTTP and gRPC requests.
|
418
419
|
# Corresponds to the JSON property `allowWithoutCredential`
|
419
420
|
# @return [Boolean]
|
420
421
|
attr_accessor :allow_without_credential
|
@@ -684,12 +685,114 @@ module Google
|
|
684
685
|
end
|
685
686
|
end
|
686
687
|
|
688
|
+
# Configuration information for a private service access connection.
|
689
|
+
class ConsumerConfig
|
690
|
+
include Google::Apis::Core::Hashable
|
691
|
+
|
692
|
+
# Export custom routes flag value for peering from consumer to producer.
|
693
|
+
# Corresponds to the JSON property `consumerExportCustomRoutes`
|
694
|
+
# @return [Boolean]
|
695
|
+
attr_accessor :consumer_export_custom_routes
|
696
|
+
alias_method :consumer_export_custom_routes?, :consumer_export_custom_routes
|
697
|
+
|
698
|
+
# Export subnet routes with public ip flag value for peering from consumer to
|
699
|
+
# producer.
|
700
|
+
# Corresponds to the JSON property `consumerExportSubnetRoutesWithPublicIp`
|
701
|
+
# @return [Boolean]
|
702
|
+
attr_accessor :consumer_export_subnet_routes_with_public_ip
|
703
|
+
alias_method :consumer_export_subnet_routes_with_public_ip?, :consumer_export_subnet_routes_with_public_ip
|
704
|
+
|
705
|
+
# Import custom routes flag value for peering from consumer to producer.
|
706
|
+
# Corresponds to the JSON property `consumerImportCustomRoutes`
|
707
|
+
# @return [Boolean]
|
708
|
+
attr_accessor :consumer_import_custom_routes
|
709
|
+
alias_method :consumer_import_custom_routes?, :consumer_import_custom_routes
|
710
|
+
|
711
|
+
# Import subnet routes with public ip flag value for peering from consumer to
|
712
|
+
# producer.
|
713
|
+
# Corresponds to the JSON property `consumerImportSubnetRoutesWithPublicIp`
|
714
|
+
# @return [Boolean]
|
715
|
+
attr_accessor :consumer_import_subnet_routes_with_public_ip
|
716
|
+
alias_method :consumer_import_subnet_routes_with_public_ip?, :consumer_import_subnet_routes_with_public_ip
|
717
|
+
|
718
|
+
# Export custom routes flag value for peering from producer to consumer.
|
719
|
+
# Corresponds to the JSON property `producerExportCustomRoutes`
|
720
|
+
# @return [Boolean]
|
721
|
+
attr_accessor :producer_export_custom_routes
|
722
|
+
alias_method :producer_export_custom_routes?, :producer_export_custom_routes
|
723
|
+
|
724
|
+
# Export subnet routes with public ip flag value for peering from producer to
|
725
|
+
# consumer.
|
726
|
+
# Corresponds to the JSON property `producerExportSubnetRoutesWithPublicIp`
|
727
|
+
# @return [Boolean]
|
728
|
+
attr_accessor :producer_export_subnet_routes_with_public_ip
|
729
|
+
alias_method :producer_export_subnet_routes_with_public_ip?, :producer_export_subnet_routes_with_public_ip
|
730
|
+
|
731
|
+
# Import custom routes flag value for peering from producer to consumer.
|
732
|
+
# Corresponds to the JSON property `producerImportCustomRoutes`
|
733
|
+
# @return [Boolean]
|
734
|
+
attr_accessor :producer_import_custom_routes
|
735
|
+
alias_method :producer_import_custom_routes?, :producer_import_custom_routes
|
736
|
+
|
737
|
+
# Import subnet routes with public ip flag value for peering from producer to
|
738
|
+
# consumer.
|
739
|
+
# Corresponds to the JSON property `producerImportSubnetRoutesWithPublicIp`
|
740
|
+
# @return [Boolean]
|
741
|
+
attr_accessor :producer_import_subnet_routes_with_public_ip
|
742
|
+
alias_method :producer_import_subnet_routes_with_public_ip?, :producer_import_subnet_routes_with_public_ip
|
743
|
+
|
744
|
+
# Output only. The VPC host network that is used to host managed service
|
745
|
+
# instances. In the format, projects/`project`/global/networks/`network` where `
|
746
|
+
# project` is the project number e.g. '12345' and `network` is the network name.
|
747
|
+
# Corresponds to the JSON property `producerNetwork`
|
748
|
+
# @return [String]
|
749
|
+
attr_accessor :producer_network
|
750
|
+
|
751
|
+
# Output only. The name of the allocated IP address ranges for this private
|
752
|
+
# service access connection.
|
753
|
+
# Corresponds to the JSON property `reservedRanges`
|
754
|
+
# @return [Array<String>]
|
755
|
+
attr_accessor :reserved_ranges
|
756
|
+
|
757
|
+
def initialize(**args)
|
758
|
+
update!(**args)
|
759
|
+
end
|
760
|
+
|
761
|
+
# Update properties of this object
|
762
|
+
def update!(**args)
|
763
|
+
@consumer_export_custom_routes = args[:consumer_export_custom_routes] if args.key?(:consumer_export_custom_routes)
|
764
|
+
@consumer_export_subnet_routes_with_public_ip = args[:consumer_export_subnet_routes_with_public_ip] if args.key?(:consumer_export_subnet_routes_with_public_ip)
|
765
|
+
@consumer_import_custom_routes = args[:consumer_import_custom_routes] if args.key?(:consumer_import_custom_routes)
|
766
|
+
@consumer_import_subnet_routes_with_public_ip = args[:consumer_import_subnet_routes_with_public_ip] if args.key?(:consumer_import_subnet_routes_with_public_ip)
|
767
|
+
@producer_export_custom_routes = args[:producer_export_custom_routes] if args.key?(:producer_export_custom_routes)
|
768
|
+
@producer_export_subnet_routes_with_public_ip = args[:producer_export_subnet_routes_with_public_ip] if args.key?(:producer_export_subnet_routes_with_public_ip)
|
769
|
+
@producer_import_custom_routes = args[:producer_import_custom_routes] if args.key?(:producer_import_custom_routes)
|
770
|
+
@producer_import_subnet_routes_with_public_ip = args[:producer_import_subnet_routes_with_public_ip] if args.key?(:producer_import_subnet_routes_with_public_ip)
|
771
|
+
@producer_network = args[:producer_network] if args.key?(:producer_network)
|
772
|
+
@reserved_ranges = args[:reserved_ranges] if args.key?(:reserved_ranges)
|
773
|
+
end
|
774
|
+
end
|
775
|
+
|
776
|
+
# Metadata provided through GetOperation request for the LRO generated by
|
777
|
+
# UpdateConsumerConfig API.
|
778
|
+
class ConsumerConfigMetadata
|
779
|
+
include Google::Apis::Core::Hashable
|
780
|
+
|
781
|
+
def initialize(**args)
|
782
|
+
update!(**args)
|
783
|
+
end
|
784
|
+
|
785
|
+
# Update properties of this object
|
786
|
+
def update!(**args)
|
787
|
+
end
|
788
|
+
end
|
789
|
+
|
687
790
|
# `Context` defines which contexts an API requests. Example: context: rules: -
|
688
791
|
# selector: "*" requested: - google.rpc.context.ProjectContext - google.rpc.
|
689
792
|
# context.OriginContext The above specifies that all methods in the API request `
|
690
793
|
# google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
|
691
794
|
# Available context types are defined in package `google.rpc.context`. This also
|
692
|
-
# provides mechanism to
|
795
|
+
# provides mechanism to allowlist any protobuf message extension that can be
|
693
796
|
# sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
|
694
797
|
# For example, list any service specific protobuf types that can appear in grpc
|
695
798
|
# metadata as follows in your yaml file: Example: context: rules: - selector: "
|
@@ -2453,7 +2556,7 @@ module Google
|
|
2453
2556
|
# @return [String]
|
2454
2557
|
attr_accessor :member
|
2455
2558
|
|
2456
|
-
# Required. Role to apply. Only
|
2559
|
+
# Required. Role to apply. Only allowlisted roles can be used at the specified
|
2457
2560
|
# granularity. The role must be one of the following: - 'roles/container.
|
2458
2561
|
# hostServiceAgentUser' applied on the shared VPC host project - 'roles/compute.
|
2459
2562
|
# securityAdmin' applied on the shared VPC host project
|
@@ -2845,7 +2948,7 @@ module Google
|
|
2845
2948
|
# context.OriginContext The above specifies that all methods in the API request `
|
2846
2949
|
# google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
|
2847
2950
|
# Available context types are defined in package `google.rpc.context`. This also
|
2848
|
-
# provides mechanism to
|
2951
|
+
# provides mechanism to allowlist any protobuf message extension that can be
|
2849
2952
|
# sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
|
2850
2953
|
# For example, list any service specific protobuf types that can appear in grpc
|
2851
2954
|
# metadata as follows in your yaml file: Example: context: rules: - selector: "
|
@@ -118,6 +118,18 @@ module Google
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
119
119
|
end
|
120
120
|
|
121
|
+
class ConsumerConfig
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class ConsumerConfigMetadata
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
121
133
|
class Context
|
122
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
135
|
|
@@ -643,6 +655,28 @@ module Google
|
|
643
655
|
end
|
644
656
|
end
|
645
657
|
|
658
|
+
class ConsumerConfig
|
659
|
+
# @private
|
660
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
661
|
+
property :consumer_export_custom_routes, as: 'consumerExportCustomRoutes'
|
662
|
+
property :consumer_export_subnet_routes_with_public_ip, as: 'consumerExportSubnetRoutesWithPublicIp'
|
663
|
+
property :consumer_import_custom_routes, as: 'consumerImportCustomRoutes'
|
664
|
+
property :consumer_import_subnet_routes_with_public_ip, as: 'consumerImportSubnetRoutesWithPublicIp'
|
665
|
+
property :producer_export_custom_routes, as: 'producerExportCustomRoutes'
|
666
|
+
property :producer_export_subnet_routes_with_public_ip, as: 'producerExportSubnetRoutesWithPublicIp'
|
667
|
+
property :producer_import_custom_routes, as: 'producerImportCustomRoutes'
|
668
|
+
property :producer_import_subnet_routes_with_public_ip, as: 'producerImportSubnetRoutesWithPublicIp'
|
669
|
+
property :producer_network, as: 'producerNetwork'
|
670
|
+
collection :reserved_ranges, as: 'reservedRanges'
|
671
|
+
end
|
672
|
+
end
|
673
|
+
|
674
|
+
class ConsumerConfigMetadata
|
675
|
+
# @private
|
676
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
677
|
+
end
|
678
|
+
end
|
679
|
+
|
646
680
|
class Context
|
647
681
|
# @private
|
648
682
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/storage-transfer/docs
|
27
27
|
module StoragetransferV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20201013'
|
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'
|
@@ -882,6 +882,13 @@ module Google
|
|
882
882
|
# @return [String]
|
883
883
|
attr_accessor :last_modification_time
|
884
884
|
|
885
|
+
# The name of the most recently started TransferOperation of this JobConfig.
|
886
|
+
# Present if and only if at least one TransferOperation has been created for
|
887
|
+
# this JobConfig.
|
888
|
+
# Corresponds to the JSON property `latestOperationName`
|
889
|
+
# @return [String]
|
890
|
+
attr_accessor :latest_operation_name
|
891
|
+
|
885
892
|
# A unique name (within the transfer project) assigned when the job is created.
|
886
893
|
# If this field is empty in a CreateTransferJobRequest, Storage Transfer Service
|
887
894
|
# will assign a unique name. Otherwise, the specified name is used as the unique
|
@@ -941,6 +948,7 @@ module Google
|
|
941
948
|
@deletion_time = args[:deletion_time] if args.key?(:deletion_time)
|
942
949
|
@description = args[:description] if args.key?(:description)
|
943
950
|
@last_modification_time = args[:last_modification_time] if args.key?(:last_modification_time)
|
951
|
+
@latest_operation_name = args[:latest_operation_name] if args.key?(:latest_operation_name)
|
944
952
|
@name = args[:name] if args.key?(:name)
|
945
953
|
@notification_config = args[:notification_config] if args.key?(:notification_config)
|
946
954
|
@project_id = args[:project_id] if args.key?(:project_id)
|
@@ -407,6 +407,7 @@ module Google
|
|
407
407
|
property :deletion_time, as: 'deletionTime'
|
408
408
|
property :description, as: 'description'
|
409
409
|
property :last_modification_time, as: 'lastModificationTime'
|
410
|
+
property :latest_operation_name, as: 'latestOperationName'
|
410
411
|
property :name, as: 'name'
|
411
412
|
property :notification_config, as: 'notificationConfig', class: Google::Apis::StoragetransferV1::NotificationConfig, decorator: Google::Apis::StoragetransferV1::NotificationConfig::Representation
|
412
413
|
|
@@ -138,7 +138,7 @@ module Google
|
|
138
138
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
139
139
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
140
140
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
141
|
-
def get_transfer_job(job_name, project_id
|
141
|
+
def get_transfer_job(job_name, project_id, fields: nil, quota_user: nil, options: nil, &block)
|
142
142
|
command = make_simple_command(:get, 'v1/{+jobName}', options)
|
143
143
|
command.response_representation = Google::Apis::StoragetransferV1::TransferJob::Representation
|
144
144
|
command.response_class = Google::Apis::StoragetransferV1::TransferJob
|
@@ -151,13 +151,12 @@ module Google
|
|
151
151
|
|
152
152
|
# Lists transfer jobs.
|
153
153
|
# @param [String] filter
|
154
|
-
# Required. A list of query parameters specified as JSON text in the form of:
|
155
|
-
#
|
156
|
-
#
|
157
|
-
#
|
158
|
-
#
|
159
|
-
#
|
160
|
-
# DELETED.
|
154
|
+
# Required. A list of query parameters specified as JSON text in the form of: ``"
|
155
|
+
# projectId":"my_project_id", "jobNames":["jobid1","jobid2",...], "jobStatuses":[
|
156
|
+
# "status1","status2",...]`` Since `jobNames` and `jobStatuses` support multiple
|
157
|
+
# values, their values must be specified with array notation. `projectId` is
|
158
|
+
# required. `jobNames` and `jobStatuses` are optional. The valid values for `
|
159
|
+
# jobStatuses` are case-insensitive: ENABLED, DISABLED, and DELETED.
|
161
160
|
# @param [Fixnum] page_size
|
162
161
|
# The list page size. The max allowed value is 256.
|
163
162
|
# @param [String] page_token
|
@@ -179,7 +178,7 @@ module Google
|
|
179
178
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
180
179
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
181
180
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
182
|
-
def list_transfer_jobs(filter
|
181
|
+
def list_transfer_jobs(filter, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
183
182
|
command = make_simple_command(:get, 'v1/transferJobs', options)
|
184
183
|
command.response_representation = Google::Apis::StoragetransferV1::ListTransferJobsResponse::Representation
|
185
184
|
command.response_class = Google::Apis::StoragetransferV1::ListTransferJobsResponse
|
@@ -311,14 +310,14 @@ module Google
|
|
311
310
|
# @param [String] name
|
312
311
|
# Required. The value `transferOperations`.
|
313
312
|
# @param [String] filter
|
314
|
-
# Required. A list of query parameters specified as JSON text in the form of:
|
315
|
-
#
|
316
|
-
#
|
317
|
-
#
|
318
|
-
#
|
319
|
-
#
|
320
|
-
#
|
321
|
-
#
|
313
|
+
# Required. A list of query parameters specified as JSON text in the form of: ``"
|
314
|
+
# projectId":"my_project_id", "jobNames":["jobid1","jobid2",...], "
|
315
|
+
# operationNames":["opid1","opid2",...], "transferStatuses":["status1","status2",
|
316
|
+
# ...]`` Since `jobNames`, `operationNames`, and `transferStatuses` support
|
317
|
+
# multiple values, they must be specified with array notation. `projectId` is
|
318
|
+
# required. `jobNames`, `operationNames`, and `transferStatuses` are optional.
|
319
|
+
# The valid values for `transferStatuses` are case-insensitive: IN_PROGRESS,
|
320
|
+
# PAUSED, SUCCESS, FAILED, and ABORTED.
|
322
321
|
# @param [Fixnum] page_size
|
323
322
|
# The list page size. The max allowed value is 256.
|
324
323
|
# @param [String] page_token
|
@@ -340,7 +339,7 @@ module Google
|
|
340
339
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
341
340
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
342
341
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
343
|
-
def list_transfer_operations(name, filter
|
342
|
+
def list_transfer_operations(name, filter, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
344
343
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
345
344
|
command.response_representation = Google::Apis::StoragetransferV1::ListOperationsResponse::Representation
|
346
345
|
command.response_class = Google::Apis::StoragetransferV1::ListOperationsResponse
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://developers.google.com/streetview/publish/
|
28
28
|
module StreetviewpublishV1
|
29
29
|
VERSION = 'V1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20201012'
|
31
31
|
|
32
32
|
# Publish and manage your 360 photos on Google Street View
|
33
33
|
AUTH_STREETVIEWPUBLISH = 'https://www.googleapis.com/auth/streetviewpublish'
|
@@ -157,8 +157,8 @@ module Google
|
|
157
157
|
end
|
158
158
|
end
|
159
159
|
|
160
|
-
# An object
|
161
|
-
# of doubles
|
160
|
+
# An object that represents a latitude/longitude pair. This is expressed as a
|
161
|
+
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
162
162
|
# specified otherwise, this must conform to the WGS84 standard. Values must be
|
163
163
|
# within normalized ranges.
|
164
164
|
class LatLng
|
@@ -500,8 +500,8 @@ module Google
|
|
500
500
|
# @return [Float]
|
501
501
|
attr_accessor :heading
|
502
502
|
|
503
|
-
# An object
|
504
|
-
# of doubles
|
503
|
+
# An object that represents a latitude/longitude pair. This is expressed as a
|
504
|
+
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
505
505
|
# specified otherwise, this must conform to the WGS84 standard. Values must be
|
506
506
|
# within normalized ranges.
|
507
507
|
# Corresponds to the JSON property `latLngPair`
|
@@ -69,17 +69,18 @@ module Google
|
|
69
69
|
# be `RS256`. The following payload fields are required. For more information,
|
70
70
|
# see [RFC 7523, Section 3](https://tools.ietf.org/html/rfc7523#section-3): - `
|
71
71
|
# iss`: The issuer of the token. The issuer must provide a discovery document at
|
72
|
-
# `/.well-known/openid-configuration`,
|
73
|
-
# [OIDC 1.
|
74
|
-
# discovery-
|
75
|
-
#
|
76
|
-
#
|
77
|
-
#
|
78
|
-
#
|
79
|
-
#
|
80
|
-
#
|
81
|
-
#
|
82
|
-
#
|
72
|
+
# the URL `/.well-known/openid-configuration`, where `` is the value of this
|
73
|
+
# field. The document must be formatted according to section 4.2 of the [OIDC 1.
|
74
|
+
# 0 Discovery specification](https://openid.net/specs/openid-connect-discovery-
|
75
|
+
# 1_0.html#ProviderConfigurationResponse). - `iat`: The issue time, in seconds,
|
76
|
+
# since the Unix epoch. Must be in the past. - `exp`: The expiration time, in
|
77
|
+
# seconds, since the Unix epoch. Must be less than 48 hours after `iat`. Shorter
|
78
|
+
# expiration times are more secure. If possible, we recommend setting an
|
79
|
+
# expiration time less than 6 hours. - `sub`: The identity asserted in the JWT. -
|
80
|
+
# `aud`: Configured by the mapper policy. The default value is the service
|
81
|
+
# account's unique ID. Example header: ``` ` "alg": "RS256", "kid": "us-east-11"
|
82
|
+
# ` ``` Example payload: ``` ` "iss": "https://accounts.google.com", "iat":
|
83
|
+
# 1517963104, "exp": 1517966704, "aud": "113475438248934895348", "sub": "
|
83
84
|
# 113475438248934895348", "my_claims": ` "additional_claim": "value" ` ` ``` If `
|
84
85
|
# subject_token` is an AWS token, it must be a serialized, [signed](https://docs.
|
85
86
|
# aws.amazon.com/general/latest/gr/signing_aws_api_requests.html) request to the
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/tpu/
|
26
26
|
module TpuV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201014'
|
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'
|
@@ -283,7 +283,7 @@ module Google
|
|
283
283
|
class Node
|
284
284
|
include Google::Apis::Core::Hashable
|
285
285
|
|
286
|
-
# The type of hardware accelerators associated with this node.
|
286
|
+
# Required. The type of hardware accelerators associated with this node.
|
287
287
|
# Corresponds to the JSON property `acceleratorType`
|
288
288
|
# @return [String]
|
289
289
|
attr_accessor :accelerator_type
|
@@ -331,7 +331,7 @@ module Google
|
|
331
331
|
# @return [Hash<String,String>]
|
332
332
|
attr_accessor :labels
|
333
333
|
|
334
|
-
# Output only. The
|
334
|
+
# Output only. Immutable. The name of the TPU
|
335
335
|
# Corresponds to the JSON property `name`
|
336
336
|
# @return [String]
|
337
337
|
attr_accessor :name
|
@@ -379,7 +379,7 @@ module Google
|
|
379
379
|
# @return [Array<Google::Apis::TpuV1::Symptom>]
|
380
380
|
attr_accessor :symptoms
|
381
381
|
|
382
|
-
# The version of Tensorflow running in the Node.
|
382
|
+
# Required. The version of Tensorflow running in the Node.
|
383
383
|
# Corresponds to the JSON property `tensorflowVersion`
|
384
384
|
# @return [String]
|
385
385
|
attr_accessor :tensorflow_version
|
@@ -118,7 +118,7 @@ module Google
|
|
118
118
|
|
119
119
|
# Gets AcceleratorType.
|
120
120
|
# @param [String] name
|
121
|
-
# The resource name.
|
121
|
+
# Required. The resource name.
|
122
122
|
# @param [String] fields
|
123
123
|
# Selector specifying which fields to include in a partial response.
|
124
124
|
# @param [String] quota_user
|
@@ -148,7 +148,7 @@ module Google
|
|
148
148
|
|
149
149
|
# Lists accelerator types supported by this API.
|
150
150
|
# @param [String] parent
|
151
|
-
# The parent resource name.
|
151
|
+
# Required. The parent resource name.
|
152
152
|
# @param [String] filter
|
153
153
|
# List filter.
|
154
154
|
# @param [String] order_by
|
@@ -190,7 +190,7 @@ module Google
|
|
190
190
|
|
191
191
|
# Creates a node.
|
192
192
|
# @param [String] parent
|
193
|
-
# The parent resource name.
|
193
|
+
# Required. The parent resource name.
|
194
194
|
# @param [Google::Apis::TpuV1::Node] node_object
|
195
195
|
# @param [String] node_id
|
196
196
|
# The unqualified resource name.
|
@@ -226,7 +226,7 @@ module Google
|
|
226
226
|
|
227
227
|
# Deletes a node.
|
228
228
|
# @param [String] name
|
229
|
-
# The resource name.
|
229
|
+
# Required. The resource name.
|
230
230
|
# @param [String] fields
|
231
231
|
# Selector specifying which fields to include in a partial response.
|
232
232
|
# @param [String] quota_user
|
@@ -256,7 +256,7 @@ module Google
|
|
256
256
|
|
257
257
|
# Gets the details of a node.
|
258
258
|
# @param [String] name
|
259
|
-
# The resource name.
|
259
|
+
# Required. The resource name.
|
260
260
|
# @param [String] fields
|
261
261
|
# Selector specifying which fields to include in a partial response.
|
262
262
|
# @param [String] quota_user
|
@@ -286,7 +286,7 @@ module Google
|
|
286
286
|
|
287
287
|
# Lists nodes.
|
288
288
|
# @param [String] parent
|
289
|
-
# The parent resource name.
|
289
|
+
# Required. The parent resource name.
|
290
290
|
# @param [Fixnum] page_size
|
291
291
|
# The maximum number of items to return.
|
292
292
|
# @param [String] page_token
|
@@ -568,7 +568,7 @@ module Google
|
|
568
568
|
|
569
569
|
# Gets TensorFlow Version.
|
570
570
|
# @param [String] name
|
571
|
-
# The resource name.
|
571
|
+
# Required. The resource name.
|
572
572
|
# @param [String] fields
|
573
573
|
# Selector specifying which fields to include in a partial response.
|
574
574
|
# @param [String] quota_user
|
@@ -598,7 +598,7 @@ module Google
|
|
598
598
|
|
599
599
|
# List TensorFlow versions supported by this API.
|
600
600
|
# @param [String] parent
|
601
|
-
# The parent resource name.
|
601
|
+
# Required. The parent resource name.
|
602
602
|
# @param [String] filter
|
603
603
|
# List filter.
|
604
604
|
# @param [String] order_by
|