google-api-client 0.30.3 → 0.30.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +43 -0
- data/generated/google/apis/admin_directory_v1/classes.rb +1 -1
- data/generated/google/apis/admin_reports_v1/classes.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +22 -7
- data/generated/google/apis/bigquery_v2/representations.rb +3 -0
- data/generated/google/apis/bigquery_v2/service.rb +4 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +345 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +66 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -22
- data/generated/google/apis/cloudbuild_v1/representations.rb +0 -14
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +239 -1
- data/generated/google/apis/cloudkms_v1/representations.rb +71 -0
- data/generated/google/apis/cloudkms_v1/service.rb +215 -7
- data/generated/google/apis/cloudsearch_v1.rb +2 -2
- data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +15 -13
- data/generated/google/apis/compute_alpha/service.rb +3 -2
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +15 -13
- data/generated/google/apis/compute_beta/service.rb +2 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +15 -13
- data/generated/google/apis/compute_v1/service.rb +2 -1
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +16 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +16 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +2 -2
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +2 -2
- data/generated/google/apis/dns_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +6 -7
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +2 -2
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +1 -1
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +3 -3
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +117 -24
- data/generated/google/apis/firebase_v1beta1/representations.rb +41 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +139 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +1 -0
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +28 -0
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +15 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +35 -5
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +28 -4
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +10 -10
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +34 -98
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +30 -12
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +6 -10
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +8 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +22 -2
- data/generated/google/apis/redis_v1beta1/representations.rb +13 -0
- data/generated/google/apis/redis_v1beta1/service.rb +36 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +32 -4
- data/generated/google/apis/run_v1alpha1/representations.rb +3 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +48 -75
- data/generated/google/apis/sourcerepo_v1/representations.rb +16 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/service.rb +0 -32
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/service.rb +0 -32
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +41 -6
- data/generated/google/apis/storage_v1/representations.rb +17 -0
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/storage_v1beta2/classes.rb +1 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +3 -3
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +3 -3
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +8 -74
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +45 -35
- data/generated/google/apis/websecurityscanner_v1.rb +31 -0
- data/generated/google/apis/websecurityscanner_v1/classes.rb +26 -0
- data/generated/google/apis/websecurityscanner_v1/representations.rb +26 -0
- data/generated/google/apis/websecurityscanner_v1/service.rb +59 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
27
27
|
module JobsV3
|
28
28
|
VERSION = 'V3'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190629'
|
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'
|
@@ -1845,7 +1845,7 @@ module Google
|
|
1845
1845
|
|
1846
1846
|
# Optional.
|
1847
1847
|
# Allows the client to return jobs without a
|
1848
|
-
# set location, specifically, telecommuting jobs (
|
1848
|
+
# set location, specifically, telecommuting jobs (telecommuting is considered
|
1849
1849
|
# by the service as a special location.
|
1850
1850
|
# Job.posting_region indicates if a job permits telecommuting.
|
1851
1851
|
# If this field is set to TelecommutePreference.TELECOMMUTE_ALLOWED,
|
@@ -2394,28 +2394,28 @@ module Google
|
|
2394
2394
|
# The criteria determining how search results are sorted. Default is
|
2395
2395
|
# "relevance desc".
|
2396
2396
|
# Supported options are:
|
2397
|
-
# * "relevance desc"
|
2397
|
+
# * `"relevance desc"`: By relevance descending, as determined by the API
|
2398
2398
|
# algorithms. Relevance thresholding of query results is only available
|
2399
2399
|
# with this ordering.
|
2400
|
-
# * "
|
2400
|
+
# * `"posting_publish_time desc"`: By Job.posting_publish_time
|
2401
2401
|
# descending.
|
2402
|
-
# * "
|
2402
|
+
# * `"posting_update_time desc"`: By Job.posting_update_time
|
2403
2403
|
# descending.
|
2404
|
-
# * "title"
|
2405
|
-
# * "title desc"
|
2406
|
-
# *
|
2404
|
+
# * `"title"`: By Job.title ascending.
|
2405
|
+
# * `"title desc"`: By Job.title descending.
|
2406
|
+
# * `"annualized_base_compensation"`: By job's
|
2407
2407
|
# CompensationInfo.annualized_base_compensation_range ascending. Jobs
|
2408
2408
|
# whose annualized base compensation is unspecified are put at the end of
|
2409
2409
|
# search results.
|
2410
|
-
# * "
|
2410
|
+
# * `"annualized_base_compensation desc"`: By job's
|
2411
2411
|
# CompensationInfo.annualized_base_compensation_range descending. Jobs
|
2412
2412
|
# whose annualized base compensation is unspecified are put at the end of
|
2413
2413
|
# search results.
|
2414
|
-
# *
|
2414
|
+
# * `"annualized_total_compensation"`: By job's
|
2415
2415
|
# CompensationInfo.annualized_total_compensation_range ascending. Jobs
|
2416
2416
|
# whose annualized base compensation is unspecified are put at the end of
|
2417
2417
|
# search results.
|
2418
|
-
# * "
|
2418
|
+
# * `"annualized_total_compensation desc"`: By job's
|
2419
2419
|
# CompensationInfo.annualized_total_compensation_range descending. Jobs
|
2420
2420
|
# whose annualized base compensation is unspecified are put at the end of
|
2421
2421
|
# search results.
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
27
27
|
module JobsV3p1beta1
|
28
28
|
VERSION = 'V3p1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190629'
|
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'
|
@@ -2024,7 +2024,7 @@ module Google
|
|
2024
2024
|
|
2025
2025
|
# Optional.
|
2026
2026
|
# Allows the client to return jobs without a
|
2027
|
-
# set location, specifically, telecommuting jobs (
|
2027
|
+
# set location, specifically, telecommuting jobs (telecommuting is considered
|
2028
2028
|
# by the service as a special location.
|
2029
2029
|
# Job.posting_region indicates if a job permits telecommuting.
|
2030
2030
|
# If this field is set to TelecommutePreference.TELECOMMUTE_ALLOWED,
|
@@ -2229,43 +2229,10 @@ module Google
|
|
2229
2229
|
|
2230
2230
|
# The `Status` type defines a logical error model that is suitable for
|
2231
2231
|
# different programming environments, including REST APIs and RPC APIs. It is
|
2232
|
-
# used by [gRPC](https://github.com/grpc).
|
2233
|
-
#
|
2234
|
-
#
|
2235
|
-
#
|
2236
|
-
# The `Status` message contains three pieces of data: error code, error
|
2237
|
-
# message, and error details. The error code should be an enum value of
|
2238
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
2239
|
-
# error message should be a developer-facing English message that helps
|
2240
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
2241
|
-
# error message is needed, put the localized message in the error details or
|
2242
|
-
# localize it in the client. The optional error details may contain arbitrary
|
2243
|
-
# information about the error. There is a predefined set of error detail types
|
2244
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
2245
|
-
# # Language mapping
|
2246
|
-
# The `Status` message is the logical representation of the error model, but it
|
2247
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
2248
|
-
# exposed in different client libraries and different wire protocols, it can be
|
2249
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
2250
|
-
# in Java, but more likely mapped to some error codes in C.
|
2251
|
-
# # Other uses
|
2252
|
-
# The error model and the `Status` message can be used in a variety of
|
2253
|
-
# environments, either with or without APIs, to provide a
|
2254
|
-
# consistent developer experience across different environments.
|
2255
|
-
# Example uses of this error model include:
|
2256
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
2257
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
2258
|
-
# errors.
|
2259
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
2260
|
-
# have a `Status` message for error reporting.
|
2261
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
2262
|
-
# `Status` message should be used directly inside batch response, one for
|
2263
|
-
# each error sub-response.
|
2264
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
2265
|
-
# results in its response, the status of those operations should be
|
2266
|
-
# represented directly using the `Status` message.
|
2267
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
2268
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
2232
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
2233
|
+
# three pieces of data: error code, error message, and error details.
|
2234
|
+
# You can find out more about this error model and how to work with it in the
|
2235
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
2269
2236
|
# Corresponds to the JSON property `error`
|
2270
2237
|
# @return [Google::Apis::JobsV3p1beta1::Status]
|
2271
2238
|
attr_accessor :error
|
@@ -2682,49 +2649,51 @@ module Google
|
|
2682
2649
|
# The criteria determining how search results are sorted. Default is
|
2683
2650
|
# "relevance desc".
|
2684
2651
|
# Supported options are:
|
2685
|
-
# * "relevance desc"
|
2652
|
+
# * `"relevance desc"`: By relevance descending, as determined by the API
|
2686
2653
|
# algorithms. Relevance thresholding of query results is only available
|
2687
2654
|
# with this ordering.
|
2688
|
-
# * "
|
2655
|
+
# * `"posting_publish_time desc"`: By Job.posting_publish_time
|
2689
2656
|
# descending.
|
2690
|
-
# * "
|
2657
|
+
# * `"posting_update_time desc"`: By Job.posting_update_time
|
2691
2658
|
# descending.
|
2692
|
-
# * "title"
|
2693
|
-
# * "title desc"
|
2694
|
-
# *
|
2659
|
+
# * `"title"`: By Job.title ascending.
|
2660
|
+
# * `"title desc"`: By Job.title descending.
|
2661
|
+
# * `"annualized_base_compensation"`: By job's
|
2695
2662
|
# CompensationInfo.annualized_base_compensation_range ascending. Jobs
|
2696
2663
|
# whose annualized base compensation is unspecified are put at the end of
|
2697
2664
|
# search results.
|
2698
|
-
# * "
|
2665
|
+
# * `"annualized_base_compensation desc"`: By job's
|
2699
2666
|
# CompensationInfo.annualized_base_compensation_range descending. Jobs
|
2700
2667
|
# whose annualized base compensation is unspecified are put at the end of
|
2701
2668
|
# search results.
|
2702
|
-
# *
|
2669
|
+
# * `"annualized_total_compensation"`: By job's
|
2703
2670
|
# CompensationInfo.annualized_total_compensation_range ascending. Jobs
|
2704
2671
|
# whose annualized base compensation is unspecified are put at the end of
|
2705
2672
|
# search results.
|
2706
|
-
# * "
|
2673
|
+
# * `"annualized_total_compensation desc"`: By job's
|
2707
2674
|
# CompensationInfo.annualized_total_compensation_range descending. Jobs
|
2708
2675
|
# whose annualized base compensation is unspecified are put at the end of
|
2709
2676
|
# search results.
|
2710
|
-
# * "
|
2677
|
+
# * `"custom_ranking desc"`: By the relevance score adjusted to the
|
2711
2678
|
# SearchJobsRequest.custom_ranking_info.ranking_expression with weight
|
2712
2679
|
# factor assigned by
|
2713
2680
|
# SearchJobsRequest.custom_ranking_info.importance_level in descending
|
2714
2681
|
# order.
|
2715
|
-
# *
|
2716
|
-
#
|
2717
|
-
#
|
2718
|
-
#
|
2719
|
-
#
|
2720
|
-
#
|
2721
|
-
#
|
2722
|
-
#
|
2723
|
-
#
|
2724
|
-
#
|
2725
|
-
#
|
2726
|
-
#
|
2727
|
-
#
|
2682
|
+
# * Location sorting: Use the special syntax to order jobs by distance:<br>
|
2683
|
+
# "`distance_from('Hawaii')`": Order by distance from Hawaii.<br>
|
2684
|
+
# "`distance_from(19.89, 155.5)`": Order by distance from a coordinate.<br>
|
2685
|
+
# "`distance_from('Hawaii'), distance_from('Puerto Rico')`": Order by
|
2686
|
+
# multiple locations. See details below.<br>
|
2687
|
+
# "`distance_from('Hawaii'), distance_from(19.89, 155.5)`": Order by
|
2688
|
+
# multiple locations. See details below.<br>
|
2689
|
+
# The string can have a maximum of 256 characters. When multiple distance
|
2690
|
+
# centers are provided, a job that is close to any of the distance centers
|
2691
|
+
# would have a high rank. When a job has multiple locations, the job location
|
2692
|
+
# closest to one of the distance centers will be used. Jobs that don't have
|
2693
|
+
# locations will be ranked at the bottom. Distance is calculated with a
|
2694
|
+
# precision of 11.3 meters (37.4 feet). Diversification strategy is still
|
2695
|
+
# applied unless explicitly disabled in
|
2696
|
+
# diversification_level.
|
2728
2697
|
# Corresponds to the JSON property `orderBy`
|
2729
2698
|
# @return [String]
|
2730
2699
|
attr_accessor :order_by
|
@@ -2918,43 +2887,10 @@ module Google
|
|
2918
2887
|
|
2919
2888
|
# The `Status` type defines a logical error model that is suitable for
|
2920
2889
|
# different programming environments, including REST APIs and RPC APIs. It is
|
2921
|
-
# used by [gRPC](https://github.com/grpc).
|
2922
|
-
#
|
2923
|
-
#
|
2924
|
-
#
|
2925
|
-
# The `Status` message contains three pieces of data: error code, error
|
2926
|
-
# message, and error details. The error code should be an enum value of
|
2927
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
2928
|
-
# error message should be a developer-facing English message that helps
|
2929
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
2930
|
-
# error message is needed, put the localized message in the error details or
|
2931
|
-
# localize it in the client. The optional error details may contain arbitrary
|
2932
|
-
# information about the error. There is a predefined set of error detail types
|
2933
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
2934
|
-
# # Language mapping
|
2935
|
-
# The `Status` message is the logical representation of the error model, but it
|
2936
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
2937
|
-
# exposed in different client libraries and different wire protocols, it can be
|
2938
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
2939
|
-
# in Java, but more likely mapped to some error codes in C.
|
2940
|
-
# # Other uses
|
2941
|
-
# The error model and the `Status` message can be used in a variety of
|
2942
|
-
# environments, either with or without APIs, to provide a
|
2943
|
-
# consistent developer experience across different environments.
|
2944
|
-
# Example uses of this error model include:
|
2945
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
2946
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
2947
|
-
# errors.
|
2948
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
2949
|
-
# have a `Status` message for error reporting.
|
2950
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
2951
|
-
# `Status` message should be used directly inside batch response, one for
|
2952
|
-
# each error sub-response.
|
2953
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
2954
|
-
# results in its response, the status of those operations should be
|
2955
|
-
# represented directly using the `Status` message.
|
2956
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
2957
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
2890
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
2891
|
+
# three pieces of data: error code, error message, and error details.
|
2892
|
+
# You can find out more about this error model and how to work with it in the
|
2893
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
2958
2894
|
class Status
|
2959
2895
|
include Google::Apis::Core::Hashable
|
2960
2896
|
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# @see https://cloud.google.com/monitoring/api/
|
31
31
|
module MonitoringV3
|
32
32
|
VERSION = 'V3'
|
33
|
-
REVISION = '
|
33
|
+
REVISION = '20190622'
|
34
34
|
|
35
35
|
# View and manage your data across Google Cloud Platform services
|
36
36
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -2286,12 +2286,21 @@ module Google
|
|
2286
2286
|
class Point
|
2287
2287
|
include Google::Apis::Core::Hashable
|
2288
2288
|
|
2289
|
-
# A time interval
|
2290
|
-
#
|
2291
|
-
#
|
2292
|
-
#
|
2293
|
-
#
|
2294
|
-
#
|
2289
|
+
# A closed time interval. It extends from the start time to the end time, and
|
2290
|
+
# includes both: [startTime, endTime]. Valid time intervals depend on the
|
2291
|
+
# MetricKind of the metric value. In no case can the end time be earlier than
|
2292
|
+
# the start time.
|
2293
|
+
# For a GAUGE metric, the startTime value is technically optional; if no value
|
2294
|
+
# is specified, the start time defaults to the value of the end time, and the
|
2295
|
+
# interval represents a single point in time. Such an interval is valid only
|
2296
|
+
# for GAUGE metrics, which are point-in-time measurements.
|
2297
|
+
# For DELTA and CUMULATIVE metrics, the start time must be later than the end
|
2298
|
+
# time.
|
2299
|
+
# In all cases, the start time of the next interval must be at least a
|
2300
|
+
# microsecond after the end time of the previous interval. Because the interval
|
2301
|
+
# is closed, if the start time of a new interval is the same as the end time of
|
2302
|
+
# the previous interval, data written at the new start time could overwrite
|
2303
|
+
# data written at the previous end time.
|
2295
2304
|
# Corresponds to the JSON property `interval`
|
2296
2305
|
# @return [Google::Apis::MonitoringV3::TimeInterval]
|
2297
2306
|
attr_accessor :interval
|
@@ -2483,12 +2492,21 @@ module Google
|
|
2483
2492
|
end
|
2484
2493
|
end
|
2485
2494
|
|
2486
|
-
# A time interval
|
2487
|
-
#
|
2488
|
-
#
|
2489
|
-
#
|
2490
|
-
#
|
2491
|
-
#
|
2495
|
+
# A closed time interval. It extends from the start time to the end time, and
|
2496
|
+
# includes both: [startTime, endTime]. Valid time intervals depend on the
|
2497
|
+
# MetricKind of the metric value. In no case can the end time be earlier than
|
2498
|
+
# the start time.
|
2499
|
+
# For a GAUGE metric, the startTime value is technically optional; if no value
|
2500
|
+
# is specified, the start time defaults to the value of the end time, and the
|
2501
|
+
# interval represents a single point in time. Such an interval is valid only
|
2502
|
+
# for GAUGE metrics, which are point-in-time measurements.
|
2503
|
+
# For DELTA and CUMULATIVE metrics, the start time must be later than the end
|
2504
|
+
# time.
|
2505
|
+
# In all cases, the start time of the next interval must be at least a
|
2506
|
+
# microsecond after the end time of the previous interval. Because the interval
|
2507
|
+
# is closed, if the start time of a new interval is the same as the end time of
|
2508
|
+
# the previous interval, data written at the new start time could overwrite
|
2509
|
+
# data written at the previous end time.
|
2492
2510
|
class TimeInterval
|
2493
2511
|
include Google::Apis::Core::Hashable
|
2494
2512
|
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/pubsub/docs
|
26
26
|
module PubsubV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190619'
|
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'
|
@@ -352,12 +352,11 @@ module Google
|
|
352
352
|
class MessageStoragePolicy
|
353
353
|
include Google::Apis::Core::Hashable
|
354
354
|
|
355
|
-
#
|
355
|
+
# A list of IDs of GCP regions where messages that are published to the topic
|
356
356
|
# may be persisted in storage. Messages published by publishers running in
|
357
357
|
# non-allowed GCP regions (or running outside of GCP altogether) will be
|
358
|
-
# routed for storage in one of the allowed regions. An empty list
|
359
|
-
#
|
360
|
-
# all Publish operations failing.
|
358
|
+
# routed for storage in one of the allowed regions. An empty list means that
|
359
|
+
# no regions are allowed, and is not a valid configuration.
|
361
360
|
# Corresponds to the JSON property `allowedPersistenceRegions`
|
362
361
|
# @return [Array<String>]
|
363
362
|
attr_accessor :allowed_persistence_regions
|
@@ -1075,12 +1074,9 @@ module Google
|
|
1075
1074
|
# @return [Hash<String,String>]
|
1076
1075
|
attr_accessor :labels
|
1077
1076
|
|
1078
|
-
# Policy constraining
|
1079
|
-
#
|
1080
|
-
#
|
1081
|
-
# CreateTopic or to UpdateTopic. This field will be populated in the
|
1082
|
-
# responses for GetTopic, CreateTopic, and UpdateTopic: if not present in the
|
1083
|
-
# response, then no constraints are in effect.
|
1077
|
+
# Policy constraining the set of Google Cloud Platform regions where messages
|
1078
|
+
# published to the topic may be stored. If not present, then no constraints
|
1079
|
+
# are in effect.
|
1084
1080
|
# Corresponds to the JSON property `messageStoragePolicy`
|
1085
1081
|
# @return [Google::Apis::PubsubV1::MessageStoragePolicy]
|
1086
1082
|
attr_accessor :message_storage_policy
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/memorystore/docs/redis/
|
26
26
|
module RedisV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190620'
|
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'
|
@@ -344,8 +344,13 @@ module Google
|
|
344
344
|
# Optional. Redis configuration parameters, according to
|
345
345
|
# http://redis.io/topics/config. Currently, the only supported parameters
|
346
346
|
# are:
|
347
|
+
# Redis 3.2 and above:
|
347
348
|
# * maxmemory-policy
|
348
349
|
# * notify-keyspace-events
|
350
|
+
# Redis 4.0 and above:
|
351
|
+
# * activedefrag
|
352
|
+
# * lfu-log-factor
|
353
|
+
# * lfu-decay-time
|
349
354
|
# Corresponds to the JSON property `redisConfigs`
|
350
355
|
# @return [Hash<String,String>]
|
351
356
|
attr_accessor :redis_configs
|
@@ -353,7 +358,9 @@ module Google
|
|
353
358
|
# Optional. The version of Redis software.
|
354
359
|
# If not provided, latest supported version will be used. Updating the
|
355
360
|
# version will perform an upgrade/downgrade to the new version. Currently,
|
356
|
-
# the supported values are
|
361
|
+
# the supported values are:
|
362
|
+
# * `REDIS_4_0` for Redis 4.0 compatibility (default)
|
363
|
+
# * `REDIS_3_2` for Redis 3.2 compatibility
|
357
364
|
# Corresponds to the JSON property `redisVersion`
|
358
365
|
# @return [String]
|
359
366
|
attr_accessor :redis_version
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/memorystore/docs/redis/
|
26
26
|
module RedisV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190620'
|
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'
|
@@ -60,6 +60,26 @@ module Google
|
|
60
60
|
end
|
61
61
|
end
|
62
62
|
|
63
|
+
# Request for Failover.
|
64
|
+
class FailoverInstanceRequest
|
65
|
+
include Google::Apis::Core::Hashable
|
66
|
+
|
67
|
+
# Optional. Available data protection modes that the user can choose. If it's
|
68
|
+
# unspecified, data protection mode will be LIMITED_DATA_LOSS by default.
|
69
|
+
# Corresponds to the JSON property `dataProtectionMode`
|
70
|
+
# @return [String]
|
71
|
+
attr_accessor :data_protection_mode
|
72
|
+
|
73
|
+
def initialize(**args)
|
74
|
+
update!(**args)
|
75
|
+
end
|
76
|
+
|
77
|
+
# Update properties of this object
|
78
|
+
def update!(**args)
|
79
|
+
@data_protection_mode = args[:data_protection_mode] if args.key?(:data_protection_mode)
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
63
83
|
# The Cloud Storage location for the output content
|
64
84
|
class GcsDestination
|
65
85
|
include Google::Apis::Core::Hashable
|
@@ -342,8 +362,8 @@ module Google
|
|
342
362
|
# If not provided, latest supported version will be used. Updating the
|
343
363
|
# version will perform an upgrade/downgrade to the new version. Currently,
|
344
364
|
# the supported values are:
|
345
|
-
# * `REDIS_4_0` for Redis 4.0 compatibility
|
346
|
-
# * `REDIS_3_2` for Redis 3.2 compatibility
|
365
|
+
# * `REDIS_4_0` for Redis 4.0 compatibility (default)
|
366
|
+
# * `REDIS_3_2` for Redis 3.2 compatibility
|
347
367
|
# Corresponds to the JSON property `redisVersion`
|
348
368
|
# @return [String]
|
349
369
|
attr_accessor :redis_version
|
@@ -34,6 +34,12 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class FailoverInstanceRequest
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
37
43
|
class GcsDestination
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
45
|
|
@@ -138,6 +144,13 @@ module Google
|
|
138
144
|
end
|
139
145
|
end
|
140
146
|
|
147
|
+
class FailoverInstanceRequest
|
148
|
+
# @private
|
149
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
150
|
+
property :data_protection_mode, as: 'dataProtectionMode'
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
141
154
|
class GcsDestination
|
142
155
|
# @private
|
143
156
|
class Representation < Google::Apis::Core::JsonRepresentation
|