google-api-client 0.41.2 → 0.42.0
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 +4 -4
- data/CHANGELOG.md +36 -0
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/service.rb +3 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/service.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +1389 -105
- data/generated/google/apis/apigee_v1/representations.rb +543 -0
- data/generated/google/apis/apigee_v1/service.rb +1139 -93
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +9 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/service.rb +4 -3
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +14 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
- data/generated/google/apis/customsearch_v1/classes.rb +1606 -0
- data/generated/google/apis/customsearch_v1/representations.rb +372 -0
- data/generated/google/apis/customsearch_v1/service.rb +608 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +4 -2
- data/generated/google/apis/dialogflow_v2beta1/service.rb +8 -2
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +12 -5
- data/generated/google/apis/dns_v1.rb +4 -4
- data/generated/google/apis/dns_v1/classes.rb +313 -162
- data/generated/google/apis/dns_v1/service.rb +247 -180
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/{groupsmigration_v1.rb → firebasehosting_v1.rb} +10 -12
- data/generated/google/apis/firebasehosting_v1/classes.rb +186 -0
- data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
- data/generated/google/apis/firebasehosting_v1/service.rb +183 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +2 -0
- data/generated/google/apis/games_v1.rb +5 -3
- data/generated/google/apis/games_v1/classes.rb +354 -2112
- data/generated/google/apis/games_v1/representations.rb +12 -647
- data/generated/google/apis/games_v1/service.rb +212 -1154
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +6 -6
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +6 -6
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +10 -2
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3/service.rb +8 -5
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +24 -28
- data/generated/google/apis/pubsub_v1/service.rb +35 -44
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +211 -0
- data/generated/google/apis/recommender_v1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1/service.rb +123 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +17 -6
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/youtube_partner_v1.rb +4 -3
- data/generated/google/apis/youtube_partner_v1/classes.rb +1616 -1076
- data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
- data/generated/google/apis/youtube_partner_v1/service.rb +942 -1362
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +554 -0
- data/generated/google/apis/youtube_v3/representations.rb +281 -0
- data/generated/google/apis/youtube_v3/service.rb +259 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +11 -19
- data/generated/google/apis/androidpublisher_v1/classes.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
- data/generated/google/apis/androidpublisher_v1_1.rb +0 -34
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
- data/generated/google/apis/androidpublisher_v2.rb +0 -34
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
- data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
- data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
- data/generated/google/apis/groupsmigration_v1/service.rb +0 -100
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/solutions/gaming/
|
|
26
26
|
module GameservicesV1beta
|
|
27
27
|
VERSION = 'V1beta'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200630'
|
|
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'
|
|
@@ -34,7 +34,7 @@ module Google
|
|
|
34
34
|
# `
|
|
35
35
|
# "audit_configs": [
|
|
36
36
|
# `
|
|
37
|
-
# "service": "allServices"
|
|
37
|
+
# "service": "allServices",
|
|
38
38
|
# "audit_log_configs": [
|
|
39
39
|
# `
|
|
40
40
|
# "log_type": "DATA_READ",
|
|
@@ -43,18 +43,18 @@ module Google
|
|
|
43
43
|
# ]
|
|
44
44
|
# `,
|
|
45
45
|
# `
|
|
46
|
-
# "log_type": "DATA_WRITE"
|
|
46
|
+
# "log_type": "DATA_WRITE"
|
|
47
47
|
# `,
|
|
48
48
|
# `
|
|
49
|
-
# "log_type": "ADMIN_READ"
|
|
49
|
+
# "log_type": "ADMIN_READ"
|
|
50
50
|
# `
|
|
51
51
|
# ]
|
|
52
52
|
# `,
|
|
53
53
|
# `
|
|
54
|
-
# "service": "sampleservice.googleapis.com"
|
|
54
|
+
# "service": "sampleservice.googleapis.com",
|
|
55
55
|
# "audit_log_configs": [
|
|
56
56
|
# `
|
|
57
|
-
# "log_type": "DATA_READ"
|
|
57
|
+
# "log_type": "DATA_READ"
|
|
58
58
|
# `,
|
|
59
59
|
# `
|
|
60
60
|
# "log_type": "DATA_WRITE",
|
|
@@ -112,7 +112,7 @@ module Google
|
|
|
112
112
|
# ]
|
|
113
113
|
# `,
|
|
114
114
|
# `
|
|
115
|
-
# "log_type": "DATA_WRITE"
|
|
115
|
+
# "log_type": "DATA_WRITE"
|
|
116
116
|
# `
|
|
117
117
|
# ]
|
|
118
118
|
# `
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/google-apps/groups-settings/get_started
|
|
26
26
|
module GroupssettingsV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200617'
|
|
29
29
|
|
|
30
30
|
# View and manage the settings of a G Suite group
|
|
31
31
|
AUTH_APPS_GROUPS_SETTINGS = 'https://www.googleapis.com/auth/apps.groups.settings'
|
|
@@ -213,7 +213,7 @@ module Google
|
|
|
213
213
|
# @return [String]
|
|
214
214
|
attr_accessor :primary_language
|
|
215
215
|
|
|
216
|
-
# Specifies who
|
|
216
|
+
# Specifies who receives the default reply. Possible values are:
|
|
217
217
|
# - REPLY_TO_CUSTOM: For replies to messages, use the group's custom email
|
|
218
218
|
# address.
|
|
219
219
|
# When the group's ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/ml/
|
|
26
26
|
module MlV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200703'
|
|
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'
|
|
@@ -3101,7 +3101,7 @@ module Google
|
|
|
3101
3101
|
# `
|
|
3102
3102
|
# "audit_configs": [
|
|
3103
3103
|
# `
|
|
3104
|
-
# "service": "allServices"
|
|
3104
|
+
# "service": "allServices",
|
|
3105
3105
|
# "audit_log_configs": [
|
|
3106
3106
|
# `
|
|
3107
3107
|
# "log_type": "DATA_READ",
|
|
@@ -3110,18 +3110,18 @@ module Google
|
|
|
3110
3110
|
# ]
|
|
3111
3111
|
# `,
|
|
3112
3112
|
# `
|
|
3113
|
-
# "log_type": "DATA_WRITE"
|
|
3113
|
+
# "log_type": "DATA_WRITE"
|
|
3114
3114
|
# `,
|
|
3115
3115
|
# `
|
|
3116
|
-
# "log_type": "ADMIN_READ"
|
|
3116
|
+
# "log_type": "ADMIN_READ"
|
|
3117
3117
|
# `
|
|
3118
3118
|
# ]
|
|
3119
3119
|
# `,
|
|
3120
3120
|
# `
|
|
3121
|
-
# "service": "sampleservice.googleapis.com"
|
|
3121
|
+
# "service": "sampleservice.googleapis.com",
|
|
3122
3122
|
# "audit_log_configs": [
|
|
3123
3123
|
# `
|
|
3124
|
-
# "log_type": "DATA_READ"
|
|
3124
|
+
# "log_type": "DATA_READ"
|
|
3125
3125
|
# `,
|
|
3126
3126
|
# `
|
|
3127
3127
|
# "log_type": "DATA_WRITE",
|
|
@@ -3173,7 +3173,7 @@ module Google
|
|
|
3173
3173
|
# ]
|
|
3174
3174
|
# `,
|
|
3175
3175
|
# `
|
|
3176
|
-
# "log_type": "DATA_WRITE"
|
|
3176
|
+
# "log_type": "DATA_WRITE"
|
|
3177
3177
|
# `
|
|
3178
3178
|
# ]
|
|
3179
3179
|
# `
|
|
@@ -29,7 +29,7 @@ module Google
|
|
|
29
29
|
# @see https://cloud.google.com/monitoring/api/
|
|
30
30
|
module MonitoringV3
|
|
31
31
|
VERSION = 'V3'
|
|
32
|
-
REVISION = '
|
|
32
|
+
REVISION = '20200708'
|
|
33
33
|
|
|
34
34
|
# View and manage your data across Google Cloud Platform services
|
|
35
35
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -1903,6 +1903,12 @@ module Google
|
|
|
1903
1903
|
# @return [Array<Google::Apis::MonitoringV3::NotificationChannel>]
|
|
1904
1904
|
attr_accessor :notification_channels
|
|
1905
1905
|
|
|
1906
|
+
# The total number of notification channels in all pages. This number is only an
|
|
1907
|
+
# estimate, and may change in subsequent pages. https://aip.dev/158
|
|
1908
|
+
# Corresponds to the JSON property `totalSize`
|
|
1909
|
+
# @return [Fixnum]
|
|
1910
|
+
attr_accessor :total_size
|
|
1911
|
+
|
|
1906
1912
|
def initialize(**args)
|
|
1907
1913
|
update!(**args)
|
|
1908
1914
|
end
|
|
@@ -1911,6 +1917,7 @@ module Google
|
|
|
1911
1917
|
def update!(**args)
|
|
1912
1918
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1913
1919
|
@notification_channels = args[:notification_channels] if args.key?(:notification_channels)
|
|
1920
|
+
@total_size = args[:total_size] if args.key?(:total_size)
|
|
1914
1921
|
end
|
|
1915
1922
|
end
|
|
1916
1923
|
|
|
@@ -2877,8 +2884,9 @@ module Google
|
|
|
2877
2884
|
# @return [String]
|
|
2878
2885
|
attr_accessor :name
|
|
2879
2886
|
|
|
2880
|
-
# The type of notification channel, such as "email"
|
|
2881
|
-
#
|
|
2887
|
+
# The type of notification channel, such as "email" and "sms". To view the full
|
|
2888
|
+
# list of channels, see Channel descriptors (https://cloud.google.com/monitoring/
|
|
2889
|
+
# alerts/using-channels-api#ncd). Notification channel types are globally unique.
|
|
2882
2890
|
# Corresponds to the JSON property `type`
|
|
2883
2891
|
# @return [String]
|
|
2884
2892
|
attr_accessor :type
|
|
@@ -1060,6 +1060,7 @@ module Google
|
|
|
1060
1060
|
property :next_page_token, as: 'nextPageToken'
|
|
1061
1061
|
collection :notification_channels, as: 'notificationChannels', class: Google::Apis::MonitoringV3::NotificationChannel, decorator: Google::Apis::MonitoringV3::NotificationChannel::Representation
|
|
1062
1062
|
|
|
1063
|
+
property :total_size, as: 'totalSize'
|
|
1063
1064
|
end
|
|
1064
1065
|
end
|
|
1065
1066
|
|
|
@@ -1676,14 +1676,17 @@ module Google
|
|
|
1676
1676
|
# - `identifier_case`
|
|
1677
1677
|
# - `app_engine.module_id`
|
|
1678
1678
|
# - `cloud_endpoints.service`
|
|
1679
|
-
# - `
|
|
1680
|
-
# - `
|
|
1681
|
-
# - `
|
|
1682
|
-
# - `cluster_istio.
|
|
1679
|
+
# - `mesh_istio.mesh_uid`
|
|
1680
|
+
# - `mesh_istio.service_namespace`
|
|
1681
|
+
# - `mesh_istio.service_name`
|
|
1682
|
+
# - `cluster_istio.location` (deprecated)
|
|
1683
|
+
# - `cluster_istio.cluster_name` (deprecated)
|
|
1684
|
+
# - `cluster_istio.service_namespace` (deprecated)
|
|
1685
|
+
# - `cluster_istio.service_name` (deprecated)
|
|
1683
1686
|
# identifier_case refers to which option in the identifier oneof is populated.
|
|
1684
1687
|
# For example, the filter identifier_case = "CUSTOM" would match all services
|
|
1685
1688
|
# with a value for the custom field. Valid options are "CUSTOM", "APP_ENGINE", "
|
|
1686
|
-
# CLOUD_ENDPOINTS", and "CLUSTER_ISTIO"
|
|
1689
|
+
# CLOUD_ENDPOINTS", "MESH_ISTIO", and "CLUSTER_ISTIO" (deprecated),
|
|
1687
1690
|
# @param [Fixnum] page_size
|
|
1688
1691
|
# A non-negative number that is the maximum number of results to return. When 0,
|
|
1689
1692
|
# use default page size.
|
|
@@ -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 = '20200627'
|
|
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'
|
|
@@ -733,11 +733,11 @@ module Google
|
|
|
733
733
|
# A message that is published by publishers and consumed by subscribers. The
|
|
734
734
|
# message must contain either a non-empty data field or at least one attribute.
|
|
735
735
|
# Note that client libraries represent this object differently
|
|
736
|
-
# depending on the language. See the corresponding
|
|
737
|
-
#
|
|
738
|
-
#
|
|
739
|
-
#
|
|
740
|
-
#
|
|
736
|
+
# depending on the language. See the corresponding [client library
|
|
737
|
+
# documentation](https://cloud.google.com/pubsub/docs/reference/libraries) for
|
|
738
|
+
# more information. See [quotas and limits]
|
|
739
|
+
# (https://cloud.google.com/pubsub/quotas) for more information about message
|
|
740
|
+
# limits.
|
|
741
741
|
class Message
|
|
742
742
|
include Google::Apis::Core::Hashable
|
|
743
743
|
|
|
@@ -917,11 +917,11 @@ module Google
|
|
|
917
917
|
# A message that is published by publishers and consumed by subscribers. The
|
|
918
918
|
# message must contain either a non-empty data field or at least one attribute.
|
|
919
919
|
# Note that client libraries represent this object differently
|
|
920
|
-
# depending on the language. See the corresponding
|
|
921
|
-
#
|
|
922
|
-
#
|
|
923
|
-
#
|
|
924
|
-
#
|
|
920
|
+
# depending on the language. See the corresponding [client library
|
|
921
|
+
# documentation](https://cloud.google.com/pubsub/docs/reference/libraries) for
|
|
922
|
+
# more information. See [quotas and limits]
|
|
923
|
+
# (https://cloud.google.com/pubsub/quotas) for more information about message
|
|
924
|
+
# limits.
|
|
925
925
|
# Corresponds to the JSON property `message`
|
|
926
926
|
# @return [Google::Apis::PubsubV1::Message]
|
|
927
927
|
attr_accessor :message
|
|
@@ -1102,11 +1102,10 @@ module Google
|
|
|
1102
1102
|
end
|
|
1103
1103
|
|
|
1104
1104
|
# A snapshot resource. Snapshots are used in
|
|
1105
|
-
#
|
|
1106
|
-
# operations, which allow
|
|
1107
|
-
# you
|
|
1108
|
-
#
|
|
1109
|
-
# captured by a snapshot.
|
|
1105
|
+
# [Seek](https://cloud.google.com/pubsub/docs/replay-overview)
|
|
1106
|
+
# operations, which allow you to manage message acknowledgments in bulk. That
|
|
1107
|
+
# is, you can set the acknowledgment state of messages in an existing
|
|
1108
|
+
# subscription to the state captured by a snapshot.
|
|
1110
1109
|
class Snapshot
|
|
1111
1110
|
include Google::Apis::Core::Hashable
|
|
1112
1111
|
|
|
@@ -1124,8 +1123,8 @@ module Google
|
|
|
1124
1123
|
# @return [String]
|
|
1125
1124
|
attr_accessor :expire_time
|
|
1126
1125
|
|
|
1127
|
-
# See
|
|
1128
|
-
#
|
|
1126
|
+
# See [Creating and managing labels]
|
|
1127
|
+
# (https://cloud.google.com/pubsub/docs/labels).
|
|
1129
1128
|
# Corresponds to the JSON property `labels`
|
|
1130
1129
|
# @return [Hash<String,String>]
|
|
1131
1130
|
attr_accessor :labels
|
|
@@ -1235,10 +1234,8 @@ module Google
|
|
|
1235
1234
|
# Indicates whether to retain acknowledged messages. If true, then
|
|
1236
1235
|
# messages are not expunged from the subscription's backlog, even if they are
|
|
1237
1236
|
# acknowledged, until they fall out of the `message_retention_duration`
|
|
1238
|
-
# window. This must be true if you would like to
|
|
1239
|
-
#
|
|
1240
|
-
# href="https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time">
|
|
1241
|
-
# Seek to a timestamp</a>.
|
|
1237
|
+
# window. This must be true if you would like to [Seek to a timestamp]
|
|
1238
|
+
# (https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time).
|
|
1242
1239
|
# Corresponds to the JSON property `retainAckedMessages`
|
|
1243
1240
|
# @return [Boolean]
|
|
1244
1241
|
attr_accessor :retain_acked_messages
|
|
@@ -1338,8 +1335,8 @@ module Google
|
|
|
1338
1335
|
# @return [String]
|
|
1339
1336
|
attr_accessor :kms_key_name
|
|
1340
1337
|
|
|
1341
|
-
# See
|
|
1342
|
-
#
|
|
1338
|
+
# See [Creating and managing labels]
|
|
1339
|
+
# (https://cloud.google.com/pubsub/docs/labels).
|
|
1343
1340
|
# Corresponds to the JSON property `labels`
|
|
1344
1341
|
# @return [Hash<String,String>]
|
|
1345
1342
|
attr_accessor :labels
|
|
@@ -1377,11 +1374,10 @@ module Google
|
|
|
1377
1374
|
include Google::Apis::Core::Hashable
|
|
1378
1375
|
|
|
1379
1376
|
# A snapshot resource. Snapshots are used in
|
|
1380
|
-
#
|
|
1381
|
-
# operations, which allow
|
|
1382
|
-
# you
|
|
1383
|
-
#
|
|
1384
|
-
# captured by a snapshot.
|
|
1377
|
+
# [Seek](https://cloud.google.com/pubsub/docs/replay-overview)
|
|
1378
|
+
# operations, which allow you to manage message acknowledgments in bulk. That
|
|
1379
|
+
# is, you can set the acknowledgment state of messages in an existing
|
|
1380
|
+
# subscription to the state captured by a snapshot.
|
|
1385
1381
|
# Corresponds to the JSON property `snapshot`
|
|
1386
1382
|
# @return [Google::Apis::PubsubV1::Snapshot]
|
|
1387
1383
|
attr_accessor :snapshot
|
|
@@ -48,21 +48,19 @@ module Google
|
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
# Creates a snapshot from the requested subscription. Snapshots are used in
|
|
51
|
-
#
|
|
52
|
-
#
|
|
53
|
-
#
|
|
54
|
-
#
|
|
55
|
-
#
|
|
56
|
-
# <br><br>If the snapshot already exists, returns `ALREADY_EXISTS`.
|
|
51
|
+
# [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations,
|
|
52
|
+
# which allow you to manage message acknowledgments in bulk. That is, you can
|
|
53
|
+
# set the acknowledgment state of messages in an existing subscription to the
|
|
54
|
+
# state captured by a snapshot.
|
|
55
|
+
# If the snapshot already exists, returns `ALREADY_EXISTS`.
|
|
57
56
|
# If the requested subscription doesn't exist, returns `NOT_FOUND`.
|
|
58
57
|
# If the backlog in the subscription is too old -- and the resulting snapshot
|
|
59
58
|
# would expire in less than 1 hour -- then `FAILED_PRECONDITION` is returned.
|
|
60
59
|
# See also the `Snapshot.expire_time` field. If the name is not provided in
|
|
61
60
|
# the request, the server will assign a random
|
|
62
61
|
# name for this snapshot on the same project as the subscription, conforming
|
|
63
|
-
# to the
|
|
64
|
-
#
|
|
65
|
-
# format](https://cloud.google.com/pubsub/docs/admin#resource_names). The
|
|
62
|
+
# to the [resource name format]
|
|
63
|
+
# (https://cloud.google.com/pubsub/docs/admin#resource_names). The
|
|
66
64
|
# generated name is populated in the returned Snapshot object. Note that for
|
|
67
65
|
# REST API requests, you must specify a name in the request.
|
|
68
66
|
# @param [String] name
|
|
@@ -103,12 +101,11 @@ module Google
|
|
|
103
101
|
execute_or_queue_command(command, &block)
|
|
104
102
|
end
|
|
105
103
|
|
|
106
|
-
# Removes an existing snapshot. Snapshots are used in
|
|
107
|
-
#
|
|
108
|
-
#
|
|
109
|
-
#
|
|
110
|
-
#
|
|
111
|
-
# captured by a snapshot.<br><br>
|
|
104
|
+
# Removes an existing snapshot. Snapshots are used in [Seek]
|
|
105
|
+
# (https://cloud.google.com/pubsub/docs/replay-overview) operations, which
|
|
106
|
+
# allow you to manage message acknowledgments in bulk. That is, you can set
|
|
107
|
+
# the acknowledgment state of messages in an existing subscription to the
|
|
108
|
+
# state captured by a snapshot.
|
|
112
109
|
# When the snapshot is deleted, all messages retained in the snapshot
|
|
113
110
|
# are immediately dropped. After a snapshot is deleted, a new one may be
|
|
114
111
|
# created with the same name, but the new one has no association with the old
|
|
@@ -222,12 +219,11 @@ module Google
|
|
|
222
219
|
execute_or_queue_command(command, &block)
|
|
223
220
|
end
|
|
224
221
|
|
|
225
|
-
# Lists the existing snapshots. Snapshots are used in
|
|
226
|
-
#
|
|
227
|
-
#
|
|
228
|
-
#
|
|
229
|
-
#
|
|
230
|
-
# captured by a snapshot.
|
|
222
|
+
# Lists the existing snapshots. Snapshots are used in [Seek](
|
|
223
|
+
# https://cloud.google.com/pubsub/docs/replay-overview) operations, which
|
|
224
|
+
# allow you to manage message acknowledgments in bulk. That is, you can set
|
|
225
|
+
# the acknowledgment state of messages in an existing subscription to the
|
|
226
|
+
# state captured by a snapshot.
|
|
231
227
|
# @param [String] project
|
|
232
228
|
# Required. The name of the project in which to list snapshots.
|
|
233
229
|
# Format is `projects/`project-id``.
|
|
@@ -418,18 +414,16 @@ module Google
|
|
|
418
414
|
execute_or_queue_command(command, &block)
|
|
419
415
|
end
|
|
420
416
|
|
|
421
|
-
# Creates a subscription to a given topic. See the
|
|
422
|
-
#
|
|
423
|
-
# resource name rules</a>.
|
|
417
|
+
# Creates a subscription to a given topic. See the [resource name rules]
|
|
418
|
+
# (https://cloud.google.com/pubsub/docs/admin#resource_names).
|
|
424
419
|
# If the subscription already exists, returns `ALREADY_EXISTS`.
|
|
425
420
|
# If the corresponding topic doesn't exist, returns `NOT_FOUND`.
|
|
426
421
|
# If the name is not provided in the request, the server will assign a random
|
|
427
422
|
# name for this subscription on the same project as the topic, conforming
|
|
428
|
-
# to the
|
|
429
|
-
#
|
|
430
|
-
#
|
|
431
|
-
#
|
|
432
|
-
# for REST API requests, you must specify a name in the request.
|
|
423
|
+
# to the [resource name format]
|
|
424
|
+
# (https://cloud.google.com/pubsub/docs/admin#resource_names). The generated
|
|
425
|
+
# name is populated in the returned Subscription object. Note that for REST
|
|
426
|
+
# API requests, you must specify a name in the request.
|
|
433
427
|
# @param [String] name
|
|
434
428
|
# Required. The name of the subscription. It must have the format
|
|
435
429
|
# `"projects/`project`/subscriptions/`subscription`"`. ``subscription`` must
|
|
@@ -802,13 +796,12 @@ module Google
|
|
|
802
796
|
end
|
|
803
797
|
|
|
804
798
|
# Seeks an existing subscription to a point in time or to a given snapshot,
|
|
805
|
-
# whichever is provided in the request. Snapshots are used in
|
|
806
|
-
#
|
|
807
|
-
#
|
|
808
|
-
#
|
|
809
|
-
#
|
|
810
|
-
#
|
|
811
|
-
# must be on the same topic.
|
|
799
|
+
# whichever is provided in the request. Snapshots are used in [Seek](
|
|
800
|
+
# https://cloud.google.com/pubsub/docs/replay-overview) operations, which
|
|
801
|
+
# allow you to manage message acknowledgments in bulk. That is, you can set
|
|
802
|
+
# the acknowledgment state of messages in an existing subscription to the
|
|
803
|
+
# state captured by a snapshot. Note that both the subscription and the
|
|
804
|
+
# snapshot must be on the same topic.
|
|
812
805
|
# @param [String] subscription
|
|
813
806
|
# Required. The subscription to affect.
|
|
814
807
|
# @param [Google::Apis::PubsubV1::SeekRequest] seek_request_object
|
|
@@ -916,9 +909,8 @@ module Google
|
|
|
916
909
|
execute_or_queue_command(command, &block)
|
|
917
910
|
end
|
|
918
911
|
|
|
919
|
-
# Creates the given topic with the given name. See the
|
|
920
|
-
#
|
|
921
|
-
# resource name rules</a>.
|
|
912
|
+
# Creates the given topic with the given name. See the [resource name rules](
|
|
913
|
+
# https://cloud.google.com/pubsub/docs/admin#resource_names).
|
|
922
914
|
# @param [String] name
|
|
923
915
|
# Required. The name of the topic. It must have the format
|
|
924
916
|
# `"projects/`project`/topics/`topic`"`. ``topic`` must start with a letter,
|
|
@@ -1255,11 +1247,10 @@ module Google
|
|
|
1255
1247
|
end
|
|
1256
1248
|
|
|
1257
1249
|
# Lists the names of the snapshots on this topic. Snapshots are used in
|
|
1258
|
-
#
|
|
1259
|
-
#
|
|
1260
|
-
#
|
|
1261
|
-
#
|
|
1262
|
-
# captured by a snapshot.
|
|
1250
|
+
# [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations,
|
|
1251
|
+
# which allow you to manage message acknowledgments in bulk. That is, you can
|
|
1252
|
+
# set the acknowledgment state of messages in an existing subscription to the
|
|
1253
|
+
# state captured by a snapshot.
|
|
1263
1254
|
# @param [String] topic
|
|
1264
1255
|
# Required. The name of the topic that snapshots are attached to.
|
|
1265
1256
|
# Format is `projects/`project`/topics/`topic``.
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/recommender/docs/
|
|
26
26
|
module RecommenderV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200704'
|
|
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'
|