google-api-client 0.28.5 → 0.28.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/CHANGELOG.md +46 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +0 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +18 -4
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +892 -0
- data/generated/google/apis/bigquery_v2/representations.rb +352 -0
- data/generated/google/apis/bigquery_v2/service.rb +162 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +78 -0
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +43 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +76 -0
- data/generated/google/apis/cloudasset_v1.rb +2 -2
- data/generated/google/apis/cloudasset_v1/service.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
- data/generated/google/apis/cloudasset_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +6 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +7 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +10 -10
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +10 -10
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +100 -0
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +33 -0
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -2
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +5 -4
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +24 -21
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +31 -0
- data/generated/google/apis/container_v1/representations.rb +3 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +70 -0
- data/generated/google/apis/container_v1beta1/representations.rb +32 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +19 -10
- data/generated/google/apis/dataflow_v1b3/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +45 -0
- data/generated/google/apis/dlp_v2/representations.rb +20 -0
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +71 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +33 -0
- data/generated/google/apis/factchecktools_v1alpha1.rb +3 -3
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/oauth2_v1.rb +1 -1
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +2 -5
- data/generated/google/apis/plus_domains_v1/service.rb +0 -292
- data/generated/google/apis/plus_v1.rb +2 -2
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +30 -10
- data/generated/google/apis/redis_v1/representations.rb +13 -0
- data/generated/google/apis/redis_v1/service.rb +36 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +18 -11
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +122 -5
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +26 -0
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +83 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +83 -5
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +83 -5
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +123 -6
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +163 -7
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +1 -1
- data/generated/google/apis/speech_v1/service.rb +2 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/service.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +62 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +32 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +0 -14
- data/generated/google/apis/testing_v1/representations.rb +0 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +4 -3
|
@@ -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 = '20190327'
|
|
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'
|
|
@@ -963,9 +963,9 @@ module Google
|
|
|
963
963
|
# The selector is a comma-separated list of patterns. Each pattern is a
|
|
964
964
|
# qualified name of the element which may end in "*", indicating a wildcard.
|
|
965
965
|
# Wildcards are only allowed at the end and for a whole component of the
|
|
966
|
-
# qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar".
|
|
967
|
-
#
|
|
968
|
-
# is used.
|
|
966
|
+
# qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A
|
|
967
|
+
# wildcard will match one or more components. To specify a default for all
|
|
968
|
+
# applicable elements, the whole pattern "*" is used.
|
|
969
969
|
# Corresponds to the JSON property `selector`
|
|
970
970
|
# @return [String]
|
|
971
971
|
attr_accessor :selector
|
|
@@ -2559,7 +2559,46 @@ module Google
|
|
|
2559
2559
|
end
|
|
2560
2560
|
end
|
|
2561
2561
|
|
|
2562
|
-
#
|
|
2562
|
+
# Quota configuration helps to achieve fairness and budgeting in service
|
|
2563
|
+
# usage.
|
|
2564
|
+
# The metric based quota configuration works this way:
|
|
2565
|
+
# - The service configuration defines a set of metrics.
|
|
2566
|
+
# - For API calls, the quota.metric_rules maps methods to metrics with
|
|
2567
|
+
# corresponding costs.
|
|
2568
|
+
# - The quota.limits defines limits on the metrics, which will be used for
|
|
2569
|
+
# quota checks at runtime.
|
|
2570
|
+
# An example quota configuration in yaml format:
|
|
2571
|
+
# quota:
|
|
2572
|
+
# limits:
|
|
2573
|
+
# - name: apiWriteQpsPerProject
|
|
2574
|
+
# metric: library.googleapis.com/write_calls
|
|
2575
|
+
# unit: "1/min/`project`" # rate limit for consumer projects
|
|
2576
|
+
# values:
|
|
2577
|
+
# STANDARD: 10000
|
|
2578
|
+
# # The metric rules bind all methods to the read_calls metric,
|
|
2579
|
+
# # except for the UpdateBook and DeleteBook methods. These two methods
|
|
2580
|
+
# # are mapped to the write_calls metric, with the UpdateBook method
|
|
2581
|
+
# # consuming at twice rate as the DeleteBook method.
|
|
2582
|
+
# metric_rules:
|
|
2583
|
+
# - selector: "*"
|
|
2584
|
+
# metric_costs:
|
|
2585
|
+
# library.googleapis.com/read_calls: 1
|
|
2586
|
+
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
|
2587
|
+
# metric_costs:
|
|
2588
|
+
# library.googleapis.com/write_calls: 2
|
|
2589
|
+
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
|
2590
|
+
# metric_costs:
|
|
2591
|
+
# library.googleapis.com/write_calls: 1
|
|
2592
|
+
# Corresponding Metric definition:
|
|
2593
|
+
# metrics:
|
|
2594
|
+
# - name: library.googleapis.com/read_calls
|
|
2595
|
+
# display_name: Read requests
|
|
2596
|
+
# metric_kind: DELTA
|
|
2597
|
+
# value_type: INT64
|
|
2598
|
+
# - name: library.googleapis.com/write_calls
|
|
2599
|
+
# display_name: Write requests
|
|
2600
|
+
# metric_kind: DELTA
|
|
2601
|
+
# value_type: INT64
|
|
2563
2602
|
class Quota
|
|
2564
2603
|
include Google::Apis::Core::Hashable
|
|
2565
2604
|
|
|
@@ -3089,7 +3128,46 @@ module Google
|
|
|
3089
3128
|
# @return [String]
|
|
3090
3129
|
attr_accessor :producer_project_id
|
|
3091
3130
|
|
|
3092
|
-
# Quota configuration
|
|
3131
|
+
# Quota configuration helps to achieve fairness and budgeting in service
|
|
3132
|
+
# usage.
|
|
3133
|
+
# The metric based quota configuration works this way:
|
|
3134
|
+
# - The service configuration defines a set of metrics.
|
|
3135
|
+
# - For API calls, the quota.metric_rules maps methods to metrics with
|
|
3136
|
+
# corresponding costs.
|
|
3137
|
+
# - The quota.limits defines limits on the metrics, which will be used for
|
|
3138
|
+
# quota checks at runtime.
|
|
3139
|
+
# An example quota configuration in yaml format:
|
|
3140
|
+
# quota:
|
|
3141
|
+
# limits:
|
|
3142
|
+
# - name: apiWriteQpsPerProject
|
|
3143
|
+
# metric: library.googleapis.com/write_calls
|
|
3144
|
+
# unit: "1/min/`project`" # rate limit for consumer projects
|
|
3145
|
+
# values:
|
|
3146
|
+
# STANDARD: 10000
|
|
3147
|
+
# # The metric rules bind all methods to the read_calls metric,
|
|
3148
|
+
# # except for the UpdateBook and DeleteBook methods. These two methods
|
|
3149
|
+
# # are mapped to the write_calls metric, with the UpdateBook method
|
|
3150
|
+
# # consuming at twice rate as the DeleteBook method.
|
|
3151
|
+
# metric_rules:
|
|
3152
|
+
# - selector: "*"
|
|
3153
|
+
# metric_costs:
|
|
3154
|
+
# library.googleapis.com/read_calls: 1
|
|
3155
|
+
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
|
3156
|
+
# metric_costs:
|
|
3157
|
+
# library.googleapis.com/write_calls: 2
|
|
3158
|
+
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
|
3159
|
+
# metric_costs:
|
|
3160
|
+
# library.googleapis.com/write_calls: 1
|
|
3161
|
+
# Corresponding Metric definition:
|
|
3162
|
+
# metrics:
|
|
3163
|
+
# - name: library.googleapis.com/read_calls
|
|
3164
|
+
# display_name: Read requests
|
|
3165
|
+
# metric_kind: DELTA
|
|
3166
|
+
# value_type: INT64
|
|
3167
|
+
# - name: library.googleapis.com/write_calls
|
|
3168
|
+
# display_name: Write requests
|
|
3169
|
+
# metric_kind: DELTA
|
|
3170
|
+
# value_type: INT64
|
|
3093
3171
|
# Corresponds to the JSON property `quota`
|
|
3094
3172
|
# @return [Google::Apis::ServicenetworkingV1::Quota]
|
|
3095
3173
|
attr_accessor :quota
|
|
@@ -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 = '20190327'
|
|
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'
|
|
@@ -947,9 +947,9 @@ module Google
|
|
|
947
947
|
# The selector is a comma-separated list of patterns. Each pattern is a
|
|
948
948
|
# qualified name of the element which may end in "*", indicating a wildcard.
|
|
949
949
|
# Wildcards are only allowed at the end and for a whole component of the
|
|
950
|
-
# qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar".
|
|
951
|
-
#
|
|
952
|
-
# is used.
|
|
950
|
+
# qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A
|
|
951
|
+
# wildcard will match one or more components. To specify a default for all
|
|
952
|
+
# applicable elements, the whole pattern "*" is used.
|
|
953
953
|
# Corresponds to the JSON property `selector`
|
|
954
954
|
# @return [String]
|
|
955
955
|
attr_accessor :selector
|
|
@@ -2499,7 +2499,46 @@ module Google
|
|
|
2499
2499
|
end
|
|
2500
2500
|
end
|
|
2501
2501
|
|
|
2502
|
-
#
|
|
2502
|
+
# Quota configuration helps to achieve fairness and budgeting in service
|
|
2503
|
+
# usage.
|
|
2504
|
+
# The metric based quota configuration works this way:
|
|
2505
|
+
# - The service configuration defines a set of metrics.
|
|
2506
|
+
# - For API calls, the quota.metric_rules maps methods to metrics with
|
|
2507
|
+
# corresponding costs.
|
|
2508
|
+
# - The quota.limits defines limits on the metrics, which will be used for
|
|
2509
|
+
# quota checks at runtime.
|
|
2510
|
+
# An example quota configuration in yaml format:
|
|
2511
|
+
# quota:
|
|
2512
|
+
# limits:
|
|
2513
|
+
# - name: apiWriteQpsPerProject
|
|
2514
|
+
# metric: library.googleapis.com/write_calls
|
|
2515
|
+
# unit: "1/min/`project`" # rate limit for consumer projects
|
|
2516
|
+
# values:
|
|
2517
|
+
# STANDARD: 10000
|
|
2518
|
+
# # The metric rules bind all methods to the read_calls metric,
|
|
2519
|
+
# # except for the UpdateBook and DeleteBook methods. These two methods
|
|
2520
|
+
# # are mapped to the write_calls metric, with the UpdateBook method
|
|
2521
|
+
# # consuming at twice rate as the DeleteBook method.
|
|
2522
|
+
# metric_rules:
|
|
2523
|
+
# - selector: "*"
|
|
2524
|
+
# metric_costs:
|
|
2525
|
+
# library.googleapis.com/read_calls: 1
|
|
2526
|
+
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
|
2527
|
+
# metric_costs:
|
|
2528
|
+
# library.googleapis.com/write_calls: 2
|
|
2529
|
+
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
|
2530
|
+
# metric_costs:
|
|
2531
|
+
# library.googleapis.com/write_calls: 1
|
|
2532
|
+
# Corresponding Metric definition:
|
|
2533
|
+
# metrics:
|
|
2534
|
+
# - name: library.googleapis.com/read_calls
|
|
2535
|
+
# display_name: Read requests
|
|
2536
|
+
# metric_kind: DELTA
|
|
2537
|
+
# value_type: INT64
|
|
2538
|
+
# - name: library.googleapis.com/write_calls
|
|
2539
|
+
# display_name: Write requests
|
|
2540
|
+
# metric_kind: DELTA
|
|
2541
|
+
# value_type: INT64
|
|
2503
2542
|
class Quota
|
|
2504
2543
|
include Google::Apis::Core::Hashable
|
|
2505
2544
|
|
|
@@ -3029,7 +3068,46 @@ module Google
|
|
|
3029
3068
|
# @return [String]
|
|
3030
3069
|
attr_accessor :producer_project_id
|
|
3031
3070
|
|
|
3032
|
-
# Quota configuration
|
|
3071
|
+
# Quota configuration helps to achieve fairness and budgeting in service
|
|
3072
|
+
# usage.
|
|
3073
|
+
# The metric based quota configuration works this way:
|
|
3074
|
+
# - The service configuration defines a set of metrics.
|
|
3075
|
+
# - For API calls, the quota.metric_rules maps methods to metrics with
|
|
3076
|
+
# corresponding costs.
|
|
3077
|
+
# - The quota.limits defines limits on the metrics, which will be used for
|
|
3078
|
+
# quota checks at runtime.
|
|
3079
|
+
# An example quota configuration in yaml format:
|
|
3080
|
+
# quota:
|
|
3081
|
+
# limits:
|
|
3082
|
+
# - name: apiWriteQpsPerProject
|
|
3083
|
+
# metric: library.googleapis.com/write_calls
|
|
3084
|
+
# unit: "1/min/`project`" # rate limit for consumer projects
|
|
3085
|
+
# values:
|
|
3086
|
+
# STANDARD: 10000
|
|
3087
|
+
# # The metric rules bind all methods to the read_calls metric,
|
|
3088
|
+
# # except for the UpdateBook and DeleteBook methods. These two methods
|
|
3089
|
+
# # are mapped to the write_calls metric, with the UpdateBook method
|
|
3090
|
+
# # consuming at twice rate as the DeleteBook method.
|
|
3091
|
+
# metric_rules:
|
|
3092
|
+
# - selector: "*"
|
|
3093
|
+
# metric_costs:
|
|
3094
|
+
# library.googleapis.com/read_calls: 1
|
|
3095
|
+
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
|
3096
|
+
# metric_costs:
|
|
3097
|
+
# library.googleapis.com/write_calls: 2
|
|
3098
|
+
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
|
3099
|
+
# metric_costs:
|
|
3100
|
+
# library.googleapis.com/write_calls: 1
|
|
3101
|
+
# Corresponding Metric definition:
|
|
3102
|
+
# metrics:
|
|
3103
|
+
# - name: library.googleapis.com/read_calls
|
|
3104
|
+
# display_name: Read requests
|
|
3105
|
+
# metric_kind: DELTA
|
|
3106
|
+
# value_type: INT64
|
|
3107
|
+
# - name: library.googleapis.com/write_calls
|
|
3108
|
+
# display_name: Write requests
|
|
3109
|
+
# metric_kind: DELTA
|
|
3110
|
+
# value_type: INT64
|
|
3033
3111
|
# Corresponds to the JSON property `quota`
|
|
3034
3112
|
# @return [Google::Apis::ServicenetworkingV1beta::Quota]
|
|
3035
3113
|
attr_accessor :quota
|
|
@@ -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 = '20190327'
|
|
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'
|
|
@@ -928,9 +928,9 @@ module Google
|
|
|
928
928
|
# The selector is a comma-separated list of patterns. Each pattern is a
|
|
929
929
|
# qualified name of the element which may end in "*", indicating a wildcard.
|
|
930
930
|
# Wildcards are only allowed at the end and for a whole component of the
|
|
931
|
-
# qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar".
|
|
932
|
-
#
|
|
933
|
-
# is used.
|
|
931
|
+
# qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A
|
|
932
|
+
# wildcard will match one or more components. To specify a default for all
|
|
933
|
+
# applicable elements, the whole pattern "*" is used.
|
|
934
934
|
# Corresponds to the JSON property `selector`
|
|
935
935
|
# @return [String]
|
|
936
936
|
attr_accessor :selector
|
|
@@ -1597,7 +1597,46 @@ module Google
|
|
|
1597
1597
|
# @return [String]
|
|
1598
1598
|
attr_accessor :producer_project_id
|
|
1599
1599
|
|
|
1600
|
-
# Quota configuration
|
|
1600
|
+
# Quota configuration helps to achieve fairness and budgeting in service
|
|
1601
|
+
# usage.
|
|
1602
|
+
# The metric based quota configuration works this way:
|
|
1603
|
+
# - The service configuration defines a set of metrics.
|
|
1604
|
+
# - For API calls, the quota.metric_rules maps methods to metrics with
|
|
1605
|
+
# corresponding costs.
|
|
1606
|
+
# - The quota.limits defines limits on the metrics, which will be used for
|
|
1607
|
+
# quota checks at runtime.
|
|
1608
|
+
# An example quota configuration in yaml format:
|
|
1609
|
+
# quota:
|
|
1610
|
+
# limits:
|
|
1611
|
+
# - name: apiWriteQpsPerProject
|
|
1612
|
+
# metric: library.googleapis.com/write_calls
|
|
1613
|
+
# unit: "1/min/`project`" # rate limit for consumer projects
|
|
1614
|
+
# values:
|
|
1615
|
+
# STANDARD: 10000
|
|
1616
|
+
# # The metric rules bind all methods to the read_calls metric,
|
|
1617
|
+
# # except for the UpdateBook and DeleteBook methods. These two methods
|
|
1618
|
+
# # are mapped to the write_calls metric, with the UpdateBook method
|
|
1619
|
+
# # consuming at twice rate as the DeleteBook method.
|
|
1620
|
+
# metric_rules:
|
|
1621
|
+
# - selector: "*"
|
|
1622
|
+
# metric_costs:
|
|
1623
|
+
# library.googleapis.com/read_calls: 1
|
|
1624
|
+
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
|
1625
|
+
# metric_costs:
|
|
1626
|
+
# library.googleapis.com/write_calls: 2
|
|
1627
|
+
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
|
1628
|
+
# metric_costs:
|
|
1629
|
+
# library.googleapis.com/write_calls: 1
|
|
1630
|
+
# Corresponding Metric definition:
|
|
1631
|
+
# metrics:
|
|
1632
|
+
# - name: library.googleapis.com/read_calls
|
|
1633
|
+
# display_name: Read requests
|
|
1634
|
+
# metric_kind: DELTA
|
|
1635
|
+
# value_type: INT64
|
|
1636
|
+
# - name: library.googleapis.com/write_calls
|
|
1637
|
+
# display_name: Write requests
|
|
1638
|
+
# metric_kind: DELTA
|
|
1639
|
+
# value_type: INT64
|
|
1601
1640
|
# Corresponds to the JSON property `quota`
|
|
1602
1641
|
# @return [Google::Apis::ServiceusageV1::Quota]
|
|
1603
1642
|
attr_accessor :quota
|
|
@@ -1837,7 +1876,46 @@ module Google
|
|
|
1837
1876
|
# @return [String]
|
|
1838
1877
|
attr_accessor :name
|
|
1839
1878
|
|
|
1840
|
-
# Quota configuration
|
|
1879
|
+
# Quota configuration helps to achieve fairness and budgeting in service
|
|
1880
|
+
# usage.
|
|
1881
|
+
# The metric based quota configuration works this way:
|
|
1882
|
+
# - The service configuration defines a set of metrics.
|
|
1883
|
+
# - For API calls, the quota.metric_rules maps methods to metrics with
|
|
1884
|
+
# corresponding costs.
|
|
1885
|
+
# - The quota.limits defines limits on the metrics, which will be used for
|
|
1886
|
+
# quota checks at runtime.
|
|
1887
|
+
# An example quota configuration in yaml format:
|
|
1888
|
+
# quota:
|
|
1889
|
+
# limits:
|
|
1890
|
+
# - name: apiWriteQpsPerProject
|
|
1891
|
+
# metric: library.googleapis.com/write_calls
|
|
1892
|
+
# unit: "1/min/`project`" # rate limit for consumer projects
|
|
1893
|
+
# values:
|
|
1894
|
+
# STANDARD: 10000
|
|
1895
|
+
# # The metric rules bind all methods to the read_calls metric,
|
|
1896
|
+
# # except for the UpdateBook and DeleteBook methods. These two methods
|
|
1897
|
+
# # are mapped to the write_calls metric, with the UpdateBook method
|
|
1898
|
+
# # consuming at twice rate as the DeleteBook method.
|
|
1899
|
+
# metric_rules:
|
|
1900
|
+
# - selector: "*"
|
|
1901
|
+
# metric_costs:
|
|
1902
|
+
# library.googleapis.com/read_calls: 1
|
|
1903
|
+
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
|
1904
|
+
# metric_costs:
|
|
1905
|
+
# library.googleapis.com/write_calls: 2
|
|
1906
|
+
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
|
1907
|
+
# metric_costs:
|
|
1908
|
+
# library.googleapis.com/write_calls: 1
|
|
1909
|
+
# Corresponding Metric definition:
|
|
1910
|
+
# metrics:
|
|
1911
|
+
# - name: library.googleapis.com/read_calls
|
|
1912
|
+
# display_name: Read requests
|
|
1913
|
+
# metric_kind: DELTA
|
|
1914
|
+
# value_type: INT64
|
|
1915
|
+
# - name: library.googleapis.com/write_calls
|
|
1916
|
+
# display_name: Write requests
|
|
1917
|
+
# metric_kind: DELTA
|
|
1918
|
+
# value_type: INT64
|
|
1841
1919
|
# Corresponds to the JSON property `quota`
|
|
1842
1920
|
# @return [Google::Apis::ServiceusageV1::Quota]
|
|
1843
1921
|
attr_accessor :quota
|
|
@@ -3164,7 +3242,46 @@ module Google
|
|
|
3164
3242
|
end
|
|
3165
3243
|
end
|
|
3166
3244
|
|
|
3167
|
-
#
|
|
3245
|
+
# Quota configuration helps to achieve fairness and budgeting in service
|
|
3246
|
+
# usage.
|
|
3247
|
+
# The metric based quota configuration works this way:
|
|
3248
|
+
# - The service configuration defines a set of metrics.
|
|
3249
|
+
# - For API calls, the quota.metric_rules maps methods to metrics with
|
|
3250
|
+
# corresponding costs.
|
|
3251
|
+
# - The quota.limits defines limits on the metrics, which will be used for
|
|
3252
|
+
# quota checks at runtime.
|
|
3253
|
+
# An example quota configuration in yaml format:
|
|
3254
|
+
# quota:
|
|
3255
|
+
# limits:
|
|
3256
|
+
# - name: apiWriteQpsPerProject
|
|
3257
|
+
# metric: library.googleapis.com/write_calls
|
|
3258
|
+
# unit: "1/min/`project`" # rate limit for consumer projects
|
|
3259
|
+
# values:
|
|
3260
|
+
# STANDARD: 10000
|
|
3261
|
+
# # The metric rules bind all methods to the read_calls metric,
|
|
3262
|
+
# # except for the UpdateBook and DeleteBook methods. These two methods
|
|
3263
|
+
# # are mapped to the write_calls metric, with the UpdateBook method
|
|
3264
|
+
# # consuming at twice rate as the DeleteBook method.
|
|
3265
|
+
# metric_rules:
|
|
3266
|
+
# - selector: "*"
|
|
3267
|
+
# metric_costs:
|
|
3268
|
+
# library.googleapis.com/read_calls: 1
|
|
3269
|
+
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
|
3270
|
+
# metric_costs:
|
|
3271
|
+
# library.googleapis.com/write_calls: 2
|
|
3272
|
+
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
|
3273
|
+
# metric_costs:
|
|
3274
|
+
# library.googleapis.com/write_calls: 1
|
|
3275
|
+
# Corresponding Metric definition:
|
|
3276
|
+
# metrics:
|
|
3277
|
+
# - name: library.googleapis.com/read_calls
|
|
3278
|
+
# display_name: Read requests
|
|
3279
|
+
# metric_kind: DELTA
|
|
3280
|
+
# value_type: INT64
|
|
3281
|
+
# - name: library.googleapis.com/write_calls
|
|
3282
|
+
# display_name: Write requests
|
|
3283
|
+
# metric_kind: DELTA
|
|
3284
|
+
# value_type: INT64
|
|
3168
3285
|
class Quota
|
|
3169
3286
|
include Google::Apis::Core::Hashable
|
|
3170
3287
|
|
|
@@ -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 = '20190327'
|
|
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'
|
|
@@ -904,9 +904,9 @@ module Google
|
|
|
904
904
|
# The selector is a comma-separated list of patterns. Each pattern is a
|
|
905
905
|
# qualified name of the element which may end in "*", indicating a wildcard.
|
|
906
906
|
# Wildcards are only allowed at the end and for a whole component of the
|
|
907
|
-
# qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar".
|
|
908
|
-
#
|
|
909
|
-
# is used.
|
|
907
|
+
# qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A
|
|
908
|
+
# wildcard will match one or more components. To specify a default for all
|
|
909
|
+
# applicable elements, the whole pattern "*" is used.
|
|
910
910
|
# Corresponds to the JSON property `selector`
|
|
911
911
|
# @return [String]
|
|
912
912
|
attr_accessor :selector
|
|
@@ -1573,7 +1573,46 @@ module Google
|
|
|
1573
1573
|
# @return [String]
|
|
1574
1574
|
attr_accessor :producer_project_id
|
|
1575
1575
|
|
|
1576
|
-
# Quota configuration
|
|
1576
|
+
# Quota configuration helps to achieve fairness and budgeting in service
|
|
1577
|
+
# usage.
|
|
1578
|
+
# The metric based quota configuration works this way:
|
|
1579
|
+
# - The service configuration defines a set of metrics.
|
|
1580
|
+
# - For API calls, the quota.metric_rules maps methods to metrics with
|
|
1581
|
+
# corresponding costs.
|
|
1582
|
+
# - The quota.limits defines limits on the metrics, which will be used for
|
|
1583
|
+
# quota checks at runtime.
|
|
1584
|
+
# An example quota configuration in yaml format:
|
|
1585
|
+
# quota:
|
|
1586
|
+
# limits:
|
|
1587
|
+
# - name: apiWriteQpsPerProject
|
|
1588
|
+
# metric: library.googleapis.com/write_calls
|
|
1589
|
+
# unit: "1/min/`project`" # rate limit for consumer projects
|
|
1590
|
+
# values:
|
|
1591
|
+
# STANDARD: 10000
|
|
1592
|
+
# # The metric rules bind all methods to the read_calls metric,
|
|
1593
|
+
# # except for the UpdateBook and DeleteBook methods. These two methods
|
|
1594
|
+
# # are mapped to the write_calls metric, with the UpdateBook method
|
|
1595
|
+
# # consuming at twice rate as the DeleteBook method.
|
|
1596
|
+
# metric_rules:
|
|
1597
|
+
# - selector: "*"
|
|
1598
|
+
# metric_costs:
|
|
1599
|
+
# library.googleapis.com/read_calls: 1
|
|
1600
|
+
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
|
1601
|
+
# metric_costs:
|
|
1602
|
+
# library.googleapis.com/write_calls: 2
|
|
1603
|
+
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
|
1604
|
+
# metric_costs:
|
|
1605
|
+
# library.googleapis.com/write_calls: 1
|
|
1606
|
+
# Corresponding Metric definition:
|
|
1607
|
+
# metrics:
|
|
1608
|
+
# - name: library.googleapis.com/read_calls
|
|
1609
|
+
# display_name: Read requests
|
|
1610
|
+
# metric_kind: DELTA
|
|
1611
|
+
# value_type: INT64
|
|
1612
|
+
# - name: library.googleapis.com/write_calls
|
|
1613
|
+
# display_name: Write requests
|
|
1614
|
+
# metric_kind: DELTA
|
|
1615
|
+
# value_type: INT64
|
|
1577
1616
|
# Corresponds to the JSON property `quota`
|
|
1578
1617
|
# @return [Google::Apis::ServiceusageV1beta1::Quota]
|
|
1579
1618
|
attr_accessor :quota
|
|
@@ -1813,7 +1852,46 @@ module Google
|
|
|
1813
1852
|
# @return [String]
|
|
1814
1853
|
attr_accessor :name
|
|
1815
1854
|
|
|
1816
|
-
# Quota configuration
|
|
1855
|
+
# Quota configuration helps to achieve fairness and budgeting in service
|
|
1856
|
+
# usage.
|
|
1857
|
+
# The metric based quota configuration works this way:
|
|
1858
|
+
# - The service configuration defines a set of metrics.
|
|
1859
|
+
# - For API calls, the quota.metric_rules maps methods to metrics with
|
|
1860
|
+
# corresponding costs.
|
|
1861
|
+
# - The quota.limits defines limits on the metrics, which will be used for
|
|
1862
|
+
# quota checks at runtime.
|
|
1863
|
+
# An example quota configuration in yaml format:
|
|
1864
|
+
# quota:
|
|
1865
|
+
# limits:
|
|
1866
|
+
# - name: apiWriteQpsPerProject
|
|
1867
|
+
# metric: library.googleapis.com/write_calls
|
|
1868
|
+
# unit: "1/min/`project`" # rate limit for consumer projects
|
|
1869
|
+
# values:
|
|
1870
|
+
# STANDARD: 10000
|
|
1871
|
+
# # The metric rules bind all methods to the read_calls metric,
|
|
1872
|
+
# # except for the UpdateBook and DeleteBook methods. These two methods
|
|
1873
|
+
# # are mapped to the write_calls metric, with the UpdateBook method
|
|
1874
|
+
# # consuming at twice rate as the DeleteBook method.
|
|
1875
|
+
# metric_rules:
|
|
1876
|
+
# - selector: "*"
|
|
1877
|
+
# metric_costs:
|
|
1878
|
+
# library.googleapis.com/read_calls: 1
|
|
1879
|
+
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
|
1880
|
+
# metric_costs:
|
|
1881
|
+
# library.googleapis.com/write_calls: 2
|
|
1882
|
+
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
|
1883
|
+
# metric_costs:
|
|
1884
|
+
# library.googleapis.com/write_calls: 1
|
|
1885
|
+
# Corresponding Metric definition:
|
|
1886
|
+
# metrics:
|
|
1887
|
+
# - name: library.googleapis.com/read_calls
|
|
1888
|
+
# display_name: Read requests
|
|
1889
|
+
# metric_kind: DELTA
|
|
1890
|
+
# value_type: INT64
|
|
1891
|
+
# - name: library.googleapis.com/write_calls
|
|
1892
|
+
# display_name: Write requests
|
|
1893
|
+
# metric_kind: DELTA
|
|
1894
|
+
# value_type: INT64
|
|
1817
1895
|
# Corresponds to the JSON property `quota`
|
|
1818
1896
|
# @return [Google::Apis::ServiceusageV1beta1::Quota]
|
|
1819
1897
|
attr_accessor :quota
|
|
@@ -3140,7 +3218,46 @@ module Google
|
|
|
3140
3218
|
end
|
|
3141
3219
|
end
|
|
3142
3220
|
|
|
3143
|
-
#
|
|
3221
|
+
# Quota configuration helps to achieve fairness and budgeting in service
|
|
3222
|
+
# usage.
|
|
3223
|
+
# The metric based quota configuration works this way:
|
|
3224
|
+
# - The service configuration defines a set of metrics.
|
|
3225
|
+
# - For API calls, the quota.metric_rules maps methods to metrics with
|
|
3226
|
+
# corresponding costs.
|
|
3227
|
+
# - The quota.limits defines limits on the metrics, which will be used for
|
|
3228
|
+
# quota checks at runtime.
|
|
3229
|
+
# An example quota configuration in yaml format:
|
|
3230
|
+
# quota:
|
|
3231
|
+
# limits:
|
|
3232
|
+
# - name: apiWriteQpsPerProject
|
|
3233
|
+
# metric: library.googleapis.com/write_calls
|
|
3234
|
+
# unit: "1/min/`project`" # rate limit for consumer projects
|
|
3235
|
+
# values:
|
|
3236
|
+
# STANDARD: 10000
|
|
3237
|
+
# # The metric rules bind all methods to the read_calls metric,
|
|
3238
|
+
# # except for the UpdateBook and DeleteBook methods. These two methods
|
|
3239
|
+
# # are mapped to the write_calls metric, with the UpdateBook method
|
|
3240
|
+
# # consuming at twice rate as the DeleteBook method.
|
|
3241
|
+
# metric_rules:
|
|
3242
|
+
# - selector: "*"
|
|
3243
|
+
# metric_costs:
|
|
3244
|
+
# library.googleapis.com/read_calls: 1
|
|
3245
|
+
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
|
3246
|
+
# metric_costs:
|
|
3247
|
+
# library.googleapis.com/write_calls: 2
|
|
3248
|
+
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
|
3249
|
+
# metric_costs:
|
|
3250
|
+
# library.googleapis.com/write_calls: 1
|
|
3251
|
+
# Corresponding Metric definition:
|
|
3252
|
+
# metrics:
|
|
3253
|
+
# - name: library.googleapis.com/read_calls
|
|
3254
|
+
# display_name: Read requests
|
|
3255
|
+
# metric_kind: DELTA
|
|
3256
|
+
# value_type: INT64
|
|
3257
|
+
# - name: library.googleapis.com/write_calls
|
|
3258
|
+
# display_name: Write requests
|
|
3259
|
+
# metric_kind: DELTA
|
|
3260
|
+
# value_type: INT64
|
|
3144
3261
|
class Quota
|
|
3145
3262
|
include Google::Apis::Core::Hashable
|
|
3146
3263
|
|
|
@@ -3416,7 +3533,46 @@ module Google
|
|
|
3416
3533
|
# @return [String]
|
|
3417
3534
|
attr_accessor :name
|
|
3418
3535
|
|
|
3419
|
-
# Quota configuration
|
|
3536
|
+
# Quota configuration helps to achieve fairness and budgeting in service
|
|
3537
|
+
# usage.
|
|
3538
|
+
# The metric based quota configuration works this way:
|
|
3539
|
+
# - The service configuration defines a set of metrics.
|
|
3540
|
+
# - For API calls, the quota.metric_rules maps methods to metrics with
|
|
3541
|
+
# corresponding costs.
|
|
3542
|
+
# - The quota.limits defines limits on the metrics, which will be used for
|
|
3543
|
+
# quota checks at runtime.
|
|
3544
|
+
# An example quota configuration in yaml format:
|
|
3545
|
+
# quota:
|
|
3546
|
+
# limits:
|
|
3547
|
+
# - name: apiWriteQpsPerProject
|
|
3548
|
+
# metric: library.googleapis.com/write_calls
|
|
3549
|
+
# unit: "1/min/`project`" # rate limit for consumer projects
|
|
3550
|
+
# values:
|
|
3551
|
+
# STANDARD: 10000
|
|
3552
|
+
# # The metric rules bind all methods to the read_calls metric,
|
|
3553
|
+
# # except for the UpdateBook and DeleteBook methods. These two methods
|
|
3554
|
+
# # are mapped to the write_calls metric, with the UpdateBook method
|
|
3555
|
+
# # consuming at twice rate as the DeleteBook method.
|
|
3556
|
+
# metric_rules:
|
|
3557
|
+
# - selector: "*"
|
|
3558
|
+
# metric_costs:
|
|
3559
|
+
# library.googleapis.com/read_calls: 1
|
|
3560
|
+
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
|
3561
|
+
# metric_costs:
|
|
3562
|
+
# library.googleapis.com/write_calls: 2
|
|
3563
|
+
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
|
3564
|
+
# metric_costs:
|
|
3565
|
+
# library.googleapis.com/write_calls: 1
|
|
3566
|
+
# Corresponding Metric definition:
|
|
3567
|
+
# metrics:
|
|
3568
|
+
# - name: library.googleapis.com/read_calls
|
|
3569
|
+
# display_name: Read requests
|
|
3570
|
+
# metric_kind: DELTA
|
|
3571
|
+
# value_type: INT64
|
|
3572
|
+
# - name: library.googleapis.com/write_calls
|
|
3573
|
+
# display_name: Write requests
|
|
3574
|
+
# metric_kind: DELTA
|
|
3575
|
+
# value_type: INT64
|
|
3420
3576
|
# Corresponds to the JSON property `quota`
|
|
3421
3577
|
# @return [Google::Apis::ServiceusageV1beta1::Quota]
|
|
3422
3578
|
attr_accessor :quota
|