google-api-client 0.40.2 → 0.41.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +66 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +9 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +39 -31
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +2 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +12 -3
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +948 -36
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +18 -19
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +10 -6
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -9
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +15 -6
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +4 -2
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +535 -43
- data/generated/google/apis/compute_alpha/representations.rb +167 -0
- data/generated/google/apis/compute_alpha/service.rb +922 -172
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +107 -42
- data/generated/google/apis/compute_beta/representations.rb +20 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +22 -10
- data/generated/google/apis/compute_v1/representations.rb +1 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +21 -7
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +7 -1
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2/service.rb +10 -5
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +93 -7
- data/generated/google/apis/content_v2_1/representations.rb +37 -0
- data/generated/google/apis/content_v2_1/service.rb +10 -5
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +46 -0
- data/generated/google/apis/dataproc_v1/representations.rb +17 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +12 -0
- 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/service.rb +14 -2
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/service.rb +28 -4
- data/generated/google/apis/documentai_v1beta2.rb +36 -0
- data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
- data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +269 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +26 -78
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +18 -54
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +6 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
- data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +2 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +910 -43
- data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +517 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +5 -0
- data/generated/google/apis/iam_v1/service.rb +4 -0
- data/generated/google/apis/iamcredentials_v1.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +56 -17
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +4 -4
- data/generated/google/apis/people_v1/service.rb +6 -5
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +6 -6
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +6 -6
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +10 -10
- data/generated/google/apis/securitycenter_v1/service.rb +10 -10
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +10 -10
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +10 -10
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +21 -2
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +21 -2
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +117 -37
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +13 -2
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +13 -2
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +27 -2
- data/generated/google/apis/serviceusage_v1/representations.rb +2 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +72 -2
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +30 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +37 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +4 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +18 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +38 -0
- data/generated/google/apis/youtube_v3/representations.rb +27 -0
- data/generated/google/apis/youtube_v3/service.rb +32 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -7
- data/generated/google/apis/customsearch_v1.rb +0 -31
- data/generated/google/apis/customsearch_v1/classes.rb +0 -1606
- data/generated/google/apis/customsearch_v1/representations.rb +0 -372
- data/generated/google/apis/customsearch_v1/service.rb +0 -608
@@ -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 = '20200615'
|
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'
|
@@ -2433,6 +2433,7 @@ module Google
|
|
2433
2433
|
# * `min` minute
|
2434
2434
|
# * `h` hour
|
2435
2435
|
# * `d` day
|
2436
|
+
# * `1` dimensionless
|
2436
2437
|
# **Prefixes (PREFIX)**
|
2437
2438
|
# * `k` kilo (10^3)
|
2438
2439
|
# * `M` mega (10^6)
|
@@ -2687,8 +2688,8 @@ module Google
|
|
2687
2688
|
# * The first label of the monitored resource descriptor must be
|
2688
2689
|
# `resource_container`. There are legacy monitored resource descritptors
|
2689
2690
|
# start with `project_id`.
|
2690
|
-
# * It must include a `location` label.
|
2691
|
-
# monitored resource descriptors
|
2691
|
+
# * It must include a `location` label.
|
2692
|
+
# * Maximum of default 5 service defined monitored resource descriptors
|
2692
2693
|
# is allowed per service.
|
2693
2694
|
# * Maximum of default 10 labels per monitored resource is allowed.
|
2694
2695
|
# The default maximum limit can be overridden. Please follow
|
@@ -2738,6 +2739,16 @@ module Google
|
|
2738
2739
|
# @return [String]
|
2739
2740
|
attr_accessor :name
|
2740
2741
|
|
2742
|
+
# Required. The monitored resource type. For example, the type
|
2743
|
+
# `cloudsql_database` represents databases in Google Cloud SQL.
|
2744
|
+
# All service defined monitored resource types must be prefixed with the
|
2745
|
+
# service name, in the format of ``service name`/`relative resource name``.
|
2746
|
+
# The relative resource name must follow:
|
2747
|
+
# * Only upper and lower-case letters and digits are allowed.
|
2748
|
+
# * It must start with upper case character and is recommended to use Upper
|
2749
|
+
# Camel Case style.
|
2750
|
+
# * The maximum number of characters allowed for the relative_resource_name
|
2751
|
+
# is 100.
|
2741
2752
|
# Note there are legacy service monitored resources not following this rule.
|
2742
2753
|
# Corresponds to the JSON property `type`
|
2743
2754
|
# @return [String]
|
@@ -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 = '20200615'
|
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'
|
@@ -2191,6 +2191,7 @@ module Google
|
|
2191
2191
|
# * `min` minute
|
2192
2192
|
# * `h` hour
|
2193
2193
|
# * `d` day
|
2194
|
+
# * `1` dimensionless
|
2194
2195
|
# **Prefixes (PREFIX)**
|
2195
2196
|
# * `k` kilo (10^3)
|
2196
2197
|
# * `M` mega (10^6)
|
@@ -2445,8 +2446,8 @@ module Google
|
|
2445
2446
|
# * The first label of the monitored resource descriptor must be
|
2446
2447
|
# `resource_container`. There are legacy monitored resource descritptors
|
2447
2448
|
# start with `project_id`.
|
2448
|
-
# * It must include a `location` label.
|
2449
|
-
# monitored resource descriptors
|
2449
|
+
# * It must include a `location` label.
|
2450
|
+
# * Maximum of default 5 service defined monitored resource descriptors
|
2450
2451
|
# is allowed per service.
|
2451
2452
|
# * Maximum of default 10 labels per monitored resource is allowed.
|
2452
2453
|
# The default maximum limit can be overridden. Please follow
|
@@ -2496,6 +2497,16 @@ module Google
|
|
2496
2497
|
# @return [String]
|
2497
2498
|
attr_accessor :name
|
2498
2499
|
|
2500
|
+
# Required. The monitored resource type. For example, the type
|
2501
|
+
# `cloudsql_database` represents databases in Google Cloud SQL.
|
2502
|
+
# All service defined monitored resource types must be prefixed with the
|
2503
|
+
# service name, in the format of ``service name`/`relative resource name``.
|
2504
|
+
# The relative resource name must follow:
|
2505
|
+
# * Only upper and lower-case letters and digits are allowed.
|
2506
|
+
# * It must start with upper case character and is recommended to use Upper
|
2507
|
+
# Camel Case style.
|
2508
|
+
# * The maximum number of characters allowed for the relative_resource_name
|
2509
|
+
# is 100.
|
2499
2510
|
# Note there are legacy service monitored resources not following this rule.
|
2500
2511
|
# Corresponds to the JSON property `type`
|
2501
2512
|
# @return [String]
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/service-usage/
|
28
28
|
module ServiceusageV1
|
29
29
|
VERSION = 'V1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20200617'
|
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'
|
@@ -943,6 +943,11 @@ module Google
|
|
943
943
|
class DisableServiceRequest
|
944
944
|
include Google::Apis::Core::Hashable
|
945
945
|
|
946
|
+
# Defines the behavior for checking service usage when disabling a service.
|
947
|
+
# Corresponds to the JSON property `checkIfServiceHasUsage`
|
948
|
+
# @return [String]
|
949
|
+
attr_accessor :check_if_service_has_usage
|
950
|
+
|
946
951
|
# Indicates if services that are enabled and which depend on this service
|
947
952
|
# should also be disabled. If not set, an error will be generated if any
|
948
953
|
# enabled services depend on the service to be disabled. When set, the
|
@@ -959,6 +964,7 @@ module Google
|
|
959
964
|
|
960
965
|
# Update properties of this object
|
961
966
|
def update!(**args)
|
967
|
+
@check_if_service_has_usage = args[:check_if_service_has_usage] if args.key?(:check_if_service_has_usage)
|
962
968
|
@disable_dependent_services = args[:disable_dependent_services] if args.key?(:disable_dependent_services)
|
963
969
|
end
|
964
970
|
end
|
@@ -3084,6 +3090,7 @@ module Google
|
|
3084
3090
|
# * `min` minute
|
3085
3091
|
# * `h` hour
|
3086
3092
|
# * `d` day
|
3093
|
+
# * `1` dimensionless
|
3087
3094
|
# **Prefixes (PREFIX)**
|
3088
3095
|
# * `k` kilo (10^3)
|
3089
3096
|
# * `M` mega (10^6)
|
@@ -3338,8 +3345,8 @@ module Google
|
|
3338
3345
|
# * The first label of the monitored resource descriptor must be
|
3339
3346
|
# `resource_container`. There are legacy monitored resource descritptors
|
3340
3347
|
# start with `project_id`.
|
3341
|
-
# * It must include a `location` label.
|
3342
|
-
# monitored resource descriptors
|
3348
|
+
# * It must include a `location` label.
|
3349
|
+
# * Maximum of default 5 service defined monitored resource descriptors
|
3343
3350
|
# is allowed per service.
|
3344
3351
|
# * Maximum of default 10 labels per monitored resource is allowed.
|
3345
3352
|
# The default maximum limit can be overridden. Please follow
|
@@ -3389,6 +3396,16 @@ module Google
|
|
3389
3396
|
# @return [String]
|
3390
3397
|
attr_accessor :name
|
3391
3398
|
|
3399
|
+
# Required. The monitored resource type. For example, the type
|
3400
|
+
# `cloudsql_database` represents databases in Google Cloud SQL.
|
3401
|
+
# All service defined monitored resource types must be prefixed with the
|
3402
|
+
# service name, in the format of ``service name`/`relative resource name``.
|
3403
|
+
# The relative resource name must follow:
|
3404
|
+
# * Only upper and lower-case letters and digits are allowed.
|
3405
|
+
# * It must start with upper case character and is recommended to use Upper
|
3406
|
+
# Camel Case style.
|
3407
|
+
# * The maximum number of characters allowed for the relative_resource_name
|
3408
|
+
# is 100.
|
3392
3409
|
# Note there are legacy service monitored resources not following this rule.
|
3393
3410
|
# Corresponds to the JSON property `type`
|
3394
3411
|
# @return [String]
|
@@ -3902,6 +3919,13 @@ module Google
|
|
3902
3919
|
class QuotaOverride
|
3903
3920
|
include Google::Apis::Core::Hashable
|
3904
3921
|
|
3922
|
+
# The resource name of the ancestor that requested the override. For example:
|
3923
|
+
# "organizations/12345" or "folders/67890".
|
3924
|
+
# Used by admin overrides only.
|
3925
|
+
# Corresponds to the JSON property `adminOverrideAncestor`
|
3926
|
+
# @return [String]
|
3927
|
+
attr_accessor :admin_override_ancestor
|
3928
|
+
|
3905
3929
|
# If this map is nonempty, then this override applies only to specific values
|
3906
3930
|
# for dimensions defined in the limit unit.
|
3907
3931
|
# For example, an override on a limit with the unit 1/`project`/`region`
|
@@ -3965,6 +3989,7 @@ module Google
|
|
3965
3989
|
|
3966
3990
|
# Update properties of this object
|
3967
3991
|
def update!(**args)
|
3992
|
+
@admin_override_ancestor = args[:admin_override_ancestor] if args.key?(:admin_override_ancestor)
|
3968
3993
|
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
3969
3994
|
@metric = args[:metric] if args.key?(:metric)
|
3970
3995
|
@name = args[:name] if args.key?(:name)
|
@@ -714,6 +714,7 @@ module Google
|
|
714
714
|
class DisableServiceRequest
|
715
715
|
# @private
|
716
716
|
class Representation < Google::Apis::Core::JsonRepresentation
|
717
|
+
property :check_if_service_has_usage, as: 'checkIfServiceHasUsage'
|
717
718
|
property :disable_dependent_services, as: 'disableDependentServices'
|
718
719
|
end
|
719
720
|
end
|
@@ -1235,6 +1236,7 @@ module Google
|
|
1235
1236
|
class QuotaOverride
|
1236
1237
|
# @private
|
1237
1238
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1239
|
+
property :admin_override_ancestor, as: 'adminOverrideAncestor'
|
1238
1240
|
hash :dimensions, as: 'dimensions'
|
1239
1241
|
property :metric, as: 'metric'
|
1240
1242
|
property :name, as: 'name'
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/service-usage/
|
28
28
|
module ServiceusageV1beta1
|
29
29
|
VERSION = 'V1beta1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20200617'
|
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'
|
@@ -2707,6 +2707,36 @@ module Google
|
|
2707
2707
|
end
|
2708
2708
|
end
|
2709
2709
|
|
2710
|
+
# Request message for ImportConsumerOverrides
|
2711
|
+
class ImportConsumerOverridesRequest
|
2712
|
+
include Google::Apis::Core::Hashable
|
2713
|
+
|
2714
|
+
# Whether to force the creation of the quota overrides.
|
2715
|
+
# If creating an override would cause the effective quota for the consumer to
|
2716
|
+
# decrease by more than 10 percent, the call is rejected, as a safety measure
|
2717
|
+
# to avoid accidentally decreasing quota too quickly. Setting the force
|
2718
|
+
# parameter to true ignores this restriction.
|
2719
|
+
# Corresponds to the JSON property `force`
|
2720
|
+
# @return [Boolean]
|
2721
|
+
attr_accessor :force
|
2722
|
+
alias_method :force?, :force
|
2723
|
+
|
2724
|
+
# Import data embedded in the request message
|
2725
|
+
# Corresponds to the JSON property `inlineSource`
|
2726
|
+
# @return [Google::Apis::ServiceusageV1beta1::OverrideInlineSource]
|
2727
|
+
attr_accessor :inline_source
|
2728
|
+
|
2729
|
+
def initialize(**args)
|
2730
|
+
update!(**args)
|
2731
|
+
end
|
2732
|
+
|
2733
|
+
# Update properties of this object
|
2734
|
+
def update!(**args)
|
2735
|
+
@force = args[:force] if args.key?(:force)
|
2736
|
+
@inline_source = args[:inline_source] if args.key?(:inline_source)
|
2737
|
+
end
|
2738
|
+
end
|
2739
|
+
|
2710
2740
|
# Response message for ImportConsumerOverrides
|
2711
2741
|
class ImportConsumerOverridesResponse
|
2712
2742
|
include Google::Apis::Core::Hashable
|
@@ -3237,6 +3267,7 @@ module Google
|
|
3237
3267
|
# * `min` minute
|
3238
3268
|
# * `h` hour
|
3239
3269
|
# * `d` day
|
3270
|
+
# * `1` dimensionless
|
3240
3271
|
# **Prefixes (PREFIX)**
|
3241
3272
|
# * `k` kilo (10^3)
|
3242
3273
|
# * `M` mega (10^6)
|
@@ -3491,8 +3522,8 @@ module Google
|
|
3491
3522
|
# * The first label of the monitored resource descriptor must be
|
3492
3523
|
# `resource_container`. There are legacy monitored resource descritptors
|
3493
3524
|
# start with `project_id`.
|
3494
|
-
# * It must include a `location` label.
|
3495
|
-
# monitored resource descriptors
|
3525
|
+
# * It must include a `location` label.
|
3526
|
+
# * Maximum of default 5 service defined monitored resource descriptors
|
3496
3527
|
# is allowed per service.
|
3497
3528
|
# * Maximum of default 10 labels per monitored resource is allowed.
|
3498
3529
|
# The default maximum limit can be overridden. Please follow
|
@@ -3542,6 +3573,16 @@ module Google
|
|
3542
3573
|
# @return [String]
|
3543
3574
|
attr_accessor :name
|
3544
3575
|
|
3576
|
+
# Required. The monitored resource type. For example, the type
|
3577
|
+
# `cloudsql_database` represents databases in Google Cloud SQL.
|
3578
|
+
# All service defined monitored resource types must be prefixed with the
|
3579
|
+
# service name, in the format of ``service name`/`relative resource name``.
|
3580
|
+
# The relative resource name must follow:
|
3581
|
+
# * Only upper and lower-case letters and digits are allowed.
|
3582
|
+
# * It must start with upper case character and is recommended to use Upper
|
3583
|
+
# Camel Case style.
|
3584
|
+
# * The maximum number of characters allowed for the relative_resource_name
|
3585
|
+
# is 100.
|
3545
3586
|
# Note there are legacy service monitored resources not following this rule.
|
3546
3587
|
# Corresponds to the JSON property `type`
|
3547
3588
|
# @return [String]
|
@@ -3826,6 +3867,27 @@ module Google
|
|
3826
3867
|
end
|
3827
3868
|
end
|
3828
3869
|
|
3870
|
+
# Import data embedded in the request message
|
3871
|
+
class OverrideInlineSource
|
3872
|
+
include Google::Apis::Core::Hashable
|
3873
|
+
|
3874
|
+
# The overrides to create.
|
3875
|
+
# Each override must have a value for 'metric' and 'unit', to specify
|
3876
|
+
# which metric and which limit the override should be applied to.
|
3877
|
+
# Corresponds to the JSON property `overrides`
|
3878
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::QuotaOverride>]
|
3879
|
+
attr_accessor :overrides
|
3880
|
+
|
3881
|
+
def initialize(**args)
|
3882
|
+
update!(**args)
|
3883
|
+
end
|
3884
|
+
|
3885
|
+
# Update properties of this object
|
3886
|
+
def update!(**args)
|
3887
|
+
@overrides = args[:overrides] if args.key?(:overrides)
|
3888
|
+
end
|
3889
|
+
end
|
3890
|
+
|
3829
3891
|
# Represents a documentation page. A page can contain subpages to represent
|
3830
3892
|
# nested documentation set structure.
|
3831
3893
|
class Page
|
@@ -4113,6 +4175,13 @@ module Google
|
|
4113
4175
|
class QuotaOverride
|
4114
4176
|
include Google::Apis::Core::Hashable
|
4115
4177
|
|
4178
|
+
# The resource name of the ancestor that requested the override. For example:
|
4179
|
+
# "organizations/12345" or "folders/67890".
|
4180
|
+
# Used by admin overrides only.
|
4181
|
+
# Corresponds to the JSON property `adminOverrideAncestor`
|
4182
|
+
# @return [String]
|
4183
|
+
attr_accessor :admin_override_ancestor
|
4184
|
+
|
4116
4185
|
# If this map is nonempty, then this override applies only to specific values
|
4117
4186
|
# for dimensions defined in the limit unit.
|
4118
4187
|
# For example, an override on a limit with the unit 1/`project`/`region`
|
@@ -4176,6 +4245,7 @@ module Google
|
|
4176
4245
|
|
4177
4246
|
# Update properties of this object
|
4178
4247
|
def update!(**args)
|
4248
|
+
@admin_override_ancestor = args[:admin_override_ancestor] if args.key?(:admin_override_ancestor)
|
4179
4249
|
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
4180
4250
|
@metric = args[:metric] if args.key?(:metric)
|
4181
4251
|
@name = args[:name] if args.key?(:name)
|
@@ -298,6 +298,12 @@ module Google
|
|
298
298
|
include Google::Apis::Core::JsonObjectSupport
|
299
299
|
end
|
300
300
|
|
301
|
+
class ImportConsumerOverridesRequest
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
301
307
|
class ImportConsumerOverridesResponse
|
302
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
309
|
|
@@ -436,6 +442,12 @@ module Google
|
|
436
442
|
include Google::Apis::Core::JsonObjectSupport
|
437
443
|
end
|
438
444
|
|
445
|
+
class OverrideInlineSource
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
|
+
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
449
|
+
end
|
450
|
+
|
439
451
|
class Page
|
440
452
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
453
|
|
@@ -1046,6 +1058,15 @@ module Google
|
|
1046
1058
|
end
|
1047
1059
|
end
|
1048
1060
|
|
1061
|
+
class ImportConsumerOverridesRequest
|
1062
|
+
# @private
|
1063
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1064
|
+
property :force, as: 'force'
|
1065
|
+
property :inline_source, as: 'inlineSource', class: Google::Apis::ServiceusageV1beta1::OverrideInlineSource, decorator: Google::Apis::ServiceusageV1beta1::OverrideInlineSource::Representation
|
1066
|
+
|
1067
|
+
end
|
1068
|
+
end
|
1069
|
+
|
1049
1070
|
class ImportConsumerOverridesResponse
|
1050
1071
|
# @private
|
1051
1072
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1269,6 +1290,14 @@ module Google
|
|
1269
1290
|
end
|
1270
1291
|
end
|
1271
1292
|
|
1293
|
+
class OverrideInlineSource
|
1294
|
+
# @private
|
1295
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1296
|
+
collection :overrides, as: 'overrides', class: Google::Apis::ServiceusageV1beta1::QuotaOverride, decorator: Google::Apis::ServiceusageV1beta1::QuotaOverride::Representation
|
1297
|
+
|
1298
|
+
end
|
1299
|
+
end
|
1300
|
+
|
1272
1301
|
class Page
|
1273
1302
|
# @private
|
1274
1303
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1323,6 +1352,7 @@ module Google
|
|
1323
1352
|
class QuotaOverride
|
1324
1353
|
# @private
|
1325
1354
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1355
|
+
property :admin_override_ancestor, as: 'adminOverrideAncestor'
|
1326
1356
|
hash :dimensions, as: 'dimensions'
|
1327
1357
|
property :metric, as: 'metric'
|
1328
1358
|
property :name, as: 'name'
|
@@ -406,6 +406,43 @@ module Google
|
|
406
406
|
execute_or_queue_command(command, &block)
|
407
407
|
end
|
408
408
|
|
409
|
+
# Create or update multiple consumer overrides atomically, all on the
|
410
|
+
# same consumer, but on many different metrics or limits.
|
411
|
+
# The name field in the quota override message should not be set.
|
412
|
+
# @param [String] parent
|
413
|
+
# The resource name of the consumer.
|
414
|
+
# An example name would be:
|
415
|
+
# `projects/123/services/compute.googleapis.com`
|
416
|
+
# @param [Google::Apis::ServiceusageV1beta1::ImportConsumerOverridesRequest] import_consumer_overrides_request_object
|
417
|
+
# @param [String] fields
|
418
|
+
# Selector specifying which fields to include in a partial response.
|
419
|
+
# @param [String] quota_user
|
420
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
421
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
422
|
+
# @param [Google::Apis::RequestOptions] options
|
423
|
+
# Request-specific options
|
424
|
+
#
|
425
|
+
# @yield [result, err] Result & error if block supplied
|
426
|
+
# @yieldparam result [Google::Apis::ServiceusageV1beta1::Operation] parsed result object
|
427
|
+
# @yieldparam err [StandardError] error object if request failed
|
428
|
+
#
|
429
|
+
# @return [Google::Apis::ServiceusageV1beta1::Operation]
|
430
|
+
#
|
431
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
432
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
433
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
434
|
+
def import_consumer_quota_metric_consumer_overrides(parent, import_consumer_overrides_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
435
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/consumerQuotaMetrics:importConsumerOverrides', options)
|
436
|
+
command.request_representation = Google::Apis::ServiceusageV1beta1::ImportConsumerOverridesRequest::Representation
|
437
|
+
command.request_object = import_consumer_overrides_request_object
|
438
|
+
command.response_representation = Google::Apis::ServiceusageV1beta1::Operation::Representation
|
439
|
+
command.response_class = Google::Apis::ServiceusageV1beta1::Operation
|
440
|
+
command.params['parent'] = parent unless parent.nil?
|
441
|
+
command.query['fields'] = fields unless fields.nil?
|
442
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
443
|
+
execute_or_queue_command(command, &block)
|
444
|
+
end
|
445
|
+
|
409
446
|
# Retrieves a summary of all quota information visible to the service
|
410
447
|
# consumer, organized by service metric. Each metric includes information
|
411
448
|
# about all of its defined limits. Each limit includes the limit
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/slides/
|
26
26
|
module SlidesV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200611'
|
29
29
|
|
30
30
|
# See, edit, create, and delete all of your Google Drive files
|
31
31
|
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
@@ -2149,6 +2149,8 @@ module Google
|
|
2149
2149
|
|
2150
2150
|
# The description of the page element. Combined with title to display alt
|
2151
2151
|
# text.
|
2152
|
+
# The field is not supported for Group
|
2153
|
+
# elements.
|
2152
2154
|
# Corresponds to the JSON property `description`
|
2153
2155
|
# @return [String]
|
2154
2156
|
attr_accessor :description
|
@@ -2203,6 +2205,8 @@ module Google
|
|
2203
2205
|
|
2204
2206
|
# The title of the page element. Combined with description to display alt
|
2205
2207
|
# text.
|
2208
|
+
# The field is not supported for Group
|
2209
|
+
# elements.
|
2206
2210
|
# Corresponds to the JSON property `title`
|
2207
2211
|
# @return [String]
|
2208
2212
|
attr_accessor :title
|