google-api-client 0.17.3 → 0.17.4
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 +26 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +77 -2
- data/generated/google/apis/androidenterprise_v1/representations.rb +31 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +100 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +300 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +76 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +5 -2
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +4 -8
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +20 -10
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +11 -6
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +782 -111
- data/generated/google/apis/compute_alpha/representations.rb +282 -2
- data/generated/google/apis/compute_alpha/service.rb +611 -6
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +342 -43
- data/generated/google/apis/compute_beta/representations.rb +109 -0
- data/generated/google/apis/compute_beta/service.rb +225 -6
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +48 -43
- data/generated/google/apis/compute_v1/service.rb +6 -6
- data/generated/google/apis/container_v1beta1/classes.rb +17 -0
- data/generated/google/apis/container_v1beta1/representations.rb +1 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +131 -9
- data/generated/google/apis/content_v2/representations.rb +38 -0
- data/generated/google/apis/content_v2/service.rb +35 -23
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +99 -9
- data/generated/google/apis/content_v2sandbox/representations.rb +22 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/service.rb +11 -11
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +1 -1
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/fusiontables_v2/service.rb +37 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +26 -177
- data/generated/google/apis/ml_v1/representations.rb +3 -0
- data/generated/google/apis/ml_v1/service.rb +3 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +10 -1
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/poly_v1.rb +32 -0
- data/generated/google/apis/poly_v1/classes.rb +426 -0
- data/generated/google/apis/poly_v1/representations.rb +194 -0
- data/generated/google/apis/poly_v1/service.rb +273 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +243 -0
- data/generated/google/apis/pubsub_v1/representations.rb +115 -0
- data/generated/google/apis/pubsub_v1/service.rb +269 -1
- data/generated/google/apis/speech_v1.rb +4 -1
- data/generated/google/apis/speech_v1beta1.rb +4 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +13 -0
- data/generated/google/apis/youtube_v3/representations.rb +2 -0
- data/lib/google/apis/core/base_service.rb +4 -1
- data/lib/google/apis/options.rb +5 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -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 = '20171120'
|
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'
|
@@ -82,6 +82,33 @@ module Google
|
|
82
82
|
end
|
83
83
|
end
|
84
84
|
|
85
|
+
# Request for the `CreateSnapshot` method.
|
86
|
+
class CreateSnapshotRequest
|
87
|
+
include Google::Apis::Core::Hashable
|
88
|
+
|
89
|
+
# The subscription whose backlog the snapshot retains.
|
90
|
+
# Specifically, the created snapshot is guaranteed to retain:
|
91
|
+
# (a) The existing backlog on the subscription. More precisely, this is
|
92
|
+
# defined as the messages in the subscription's backlog that are
|
93
|
+
# unacknowledged upon the successful completion of the
|
94
|
+
# `CreateSnapshot` request; as well as:
|
95
|
+
# (b) Any messages published to the subscription's topic following the
|
96
|
+
# successful completion of the CreateSnapshot request.
|
97
|
+
# Format is `projects/`project`/subscriptions/`sub``.
|
98
|
+
# Corresponds to the JSON property `subscription`
|
99
|
+
# @return [String]
|
100
|
+
attr_accessor :subscription
|
101
|
+
|
102
|
+
def initialize(**args)
|
103
|
+
update!(**args)
|
104
|
+
end
|
105
|
+
|
106
|
+
# Update properties of this object
|
107
|
+
def update!(**args)
|
108
|
+
@subscription = args[:subscription] if args.key?(:subscription)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
85
112
|
# A generic empty message that you can re-use to avoid defining duplicated
|
86
113
|
# empty messages in your APIs. A typical example is to use it as the request
|
87
114
|
# or the response type of an API method. For instance:
|
@@ -101,6 +128,32 @@ module Google
|
|
101
128
|
end
|
102
129
|
end
|
103
130
|
|
131
|
+
# Response for the `ListSnapshots` method.
|
132
|
+
class ListSnapshotsResponse
|
133
|
+
include Google::Apis::Core::Hashable
|
134
|
+
|
135
|
+
# If not empty, indicates that there may be more snapshot that match the
|
136
|
+
# request; this value should be passed in a new `ListSnapshotsRequest`.
|
137
|
+
# Corresponds to the JSON property `nextPageToken`
|
138
|
+
# @return [String]
|
139
|
+
attr_accessor :next_page_token
|
140
|
+
|
141
|
+
# The resulting snapshots.
|
142
|
+
# Corresponds to the JSON property `snapshots`
|
143
|
+
# @return [Array<Google::Apis::PubsubV1::Snapshot>]
|
144
|
+
attr_accessor :snapshots
|
145
|
+
|
146
|
+
def initialize(**args)
|
147
|
+
update!(**args)
|
148
|
+
end
|
149
|
+
|
150
|
+
# Update properties of this object
|
151
|
+
def update!(**args)
|
152
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
153
|
+
@snapshots = args[:snapshots] if args.key?(:snapshots)
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
104
157
|
# Response for the `ListSubscriptions` method.
|
105
158
|
class ListSubscriptionsResponse
|
106
159
|
include Google::Apis::Core::Hashable
|
@@ -128,6 +181,33 @@ module Google
|
|
128
181
|
end
|
129
182
|
end
|
130
183
|
|
184
|
+
# Response for the `ListTopicSnapshots` method.
|
185
|
+
class ListTopicSnapshotsResponse
|
186
|
+
include Google::Apis::Core::Hashable
|
187
|
+
|
188
|
+
# If not empty, indicates that there may be more snapshots that match
|
189
|
+
# the request; this value should be passed in a new
|
190
|
+
# `ListTopicSnapshotsRequest` to get more snapshots.
|
191
|
+
# Corresponds to the JSON property `nextPageToken`
|
192
|
+
# @return [String]
|
193
|
+
attr_accessor :next_page_token
|
194
|
+
|
195
|
+
# The names of the snapshots that match the request.
|
196
|
+
# Corresponds to the JSON property `snapshots`
|
197
|
+
# @return [Array<String>]
|
198
|
+
attr_accessor :snapshots
|
199
|
+
|
200
|
+
def initialize(**args)
|
201
|
+
update!(**args)
|
202
|
+
end
|
203
|
+
|
204
|
+
# Update properties of this object
|
205
|
+
def update!(**args)
|
206
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
207
|
+
@snapshots = args[:snapshots] if args.key?(:snapshots)
|
208
|
+
end
|
209
|
+
end
|
210
|
+
|
131
211
|
# Response for the `ListTopicSubscriptions` method.
|
132
212
|
class ListTopicSubscriptionsResponse
|
133
213
|
include Google::Apis::Core::Hashable
|
@@ -502,6 +582,56 @@ module Google
|
|
502
582
|
end
|
503
583
|
end
|
504
584
|
|
585
|
+
# Request for the `Seek` method.
|
586
|
+
class SeekRequest
|
587
|
+
include Google::Apis::Core::Hashable
|
588
|
+
|
589
|
+
# The snapshot to seek to. The snapshot's topic must be the same as that of
|
590
|
+
# the provided subscription.
|
591
|
+
# Format is `projects/`project`/snapshots/`snap``.
|
592
|
+
# Corresponds to the JSON property `snapshot`
|
593
|
+
# @return [String]
|
594
|
+
attr_accessor :snapshot
|
595
|
+
|
596
|
+
# The time to seek to.
|
597
|
+
# Messages retained in the subscription that were published before this
|
598
|
+
# time are marked as acknowledged, and messages retained in the
|
599
|
+
# subscription that were published after this time are marked as
|
600
|
+
# unacknowledged. Note that this operation affects only those messages
|
601
|
+
# retained in the subscription (configured by the combination of
|
602
|
+
# `message_retention_duration` and `retain_acked_messages`). For example,
|
603
|
+
# if `time` corresponds to a point before the message retention
|
604
|
+
# window (or to a point before the system's notion of the subscription
|
605
|
+
# creation time), only retained messages will be marked as unacknowledged,
|
606
|
+
# and already-expunged messages will not be restored.
|
607
|
+
# Corresponds to the JSON property `time`
|
608
|
+
# @return [String]
|
609
|
+
attr_accessor :time
|
610
|
+
|
611
|
+
def initialize(**args)
|
612
|
+
update!(**args)
|
613
|
+
end
|
614
|
+
|
615
|
+
# Update properties of this object
|
616
|
+
def update!(**args)
|
617
|
+
@snapshot = args[:snapshot] if args.key?(:snapshot)
|
618
|
+
@time = args[:time] if args.key?(:time)
|
619
|
+
end
|
620
|
+
end
|
621
|
+
|
622
|
+
#
|
623
|
+
class SeekResponse
|
624
|
+
include Google::Apis::Core::Hashable
|
625
|
+
|
626
|
+
def initialize(**args)
|
627
|
+
update!(**args)
|
628
|
+
end
|
629
|
+
|
630
|
+
# Update properties of this object
|
631
|
+
def update!(**args)
|
632
|
+
end
|
633
|
+
end
|
634
|
+
|
505
635
|
# Request message for `SetIamPolicy` method.
|
506
636
|
class SetIamPolicyRequest
|
507
637
|
include Google::Apis::Core::Hashable
|
@@ -546,6 +676,46 @@ module Google
|
|
546
676
|
end
|
547
677
|
end
|
548
678
|
|
679
|
+
# A snapshot resource.
|
680
|
+
class Snapshot
|
681
|
+
include Google::Apis::Core::Hashable
|
682
|
+
|
683
|
+
# The snapshot is guaranteed to exist up until this time.
|
684
|
+
# A newly-created snapshot expires no later than 7 days from the time of its
|
685
|
+
# creation. Its exact lifetime is determined at creation by the existing
|
686
|
+
# backlog in the source subscription. Specifically, the lifetime of the
|
687
|
+
# snapshot is `7 days - (age of oldest unacked message in the subscription)`.
|
688
|
+
# For example, consider a subscription whose oldest unacked message is 3 days
|
689
|
+
# old. If a snapshot is created from this subscription, the snapshot -- which
|
690
|
+
# will always capture this 3-day-old backlog as long as the snapshot
|
691
|
+
# exists -- will expire in 4 days. The service will refuse to create a
|
692
|
+
# snapshot that would expire in less than 1 hour after creation.
|
693
|
+
# Corresponds to the JSON property `expireTime`
|
694
|
+
# @return [String]
|
695
|
+
attr_accessor :expire_time
|
696
|
+
|
697
|
+
# The name of the snapshot.
|
698
|
+
# Corresponds to the JSON property `name`
|
699
|
+
# @return [String]
|
700
|
+
attr_accessor :name
|
701
|
+
|
702
|
+
# The name of the topic from which this snapshot is retaining messages.
|
703
|
+
# Corresponds to the JSON property `topic`
|
704
|
+
# @return [String]
|
705
|
+
attr_accessor :topic
|
706
|
+
|
707
|
+
def initialize(**args)
|
708
|
+
update!(**args)
|
709
|
+
end
|
710
|
+
|
711
|
+
# Update properties of this object
|
712
|
+
def update!(**args)
|
713
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
714
|
+
@name = args[:name] if args.key?(:name)
|
715
|
+
@topic = args[:topic] if args.key?(:topic)
|
716
|
+
end
|
717
|
+
end
|
718
|
+
|
549
719
|
# A subscription resource.
|
550
720
|
class Subscription
|
551
721
|
include Google::Apis::Core::Hashable
|
@@ -571,6 +741,16 @@ module Google
|
|
571
741
|
# @return [Fixnum]
|
572
742
|
attr_accessor :ack_deadline_seconds
|
573
743
|
|
744
|
+
# How long to retain unacknowledged messages in the subscription's backlog,
|
745
|
+
# from the moment a message is published.
|
746
|
+
# If `retain_acked_messages` is true, then this also configures the retention
|
747
|
+
# of acknowledged messages, and thus configures how far back in time a `Seek`
|
748
|
+
# can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10
|
749
|
+
# minutes.
|
750
|
+
# Corresponds to the JSON property `messageRetentionDuration`
|
751
|
+
# @return [String]
|
752
|
+
attr_accessor :message_retention_duration
|
753
|
+
|
574
754
|
# The name of the subscription. It must have the format
|
575
755
|
# `"projects/`project`/subscriptions/`subscription`"`. ``subscription`` must
|
576
756
|
# start with a letter, and contain only letters (`[A-Za-z]`), numbers
|
@@ -586,6 +766,15 @@ module Google
|
|
586
766
|
# @return [Google::Apis::PubsubV1::PushConfig]
|
587
767
|
attr_accessor :push_config
|
588
768
|
|
769
|
+
# Indicates whether to retain acknowledged messages. If true, then
|
770
|
+
# messages are not expunged from the subscription's backlog, even if they are
|
771
|
+
# acknowledged, until they fall out of the `message_retention_duration`
|
772
|
+
# window.
|
773
|
+
# Corresponds to the JSON property `retainAckedMessages`
|
774
|
+
# @return [Boolean]
|
775
|
+
attr_accessor :retain_acked_messages
|
776
|
+
alias_method :retain_acked_messages?, :retain_acked_messages
|
777
|
+
|
589
778
|
# The name of the topic from which this subscription is receiving messages.
|
590
779
|
# Format is `projects/`project`/topics/`topic``.
|
591
780
|
# The value of this field will be `_deleted-topic_` if the topic has been
|
@@ -601,8 +790,10 @@ module Google
|
|
601
790
|
# Update properties of this object
|
602
791
|
def update!(**args)
|
603
792
|
@ack_deadline_seconds = args[:ack_deadline_seconds] if args.key?(:ack_deadline_seconds)
|
793
|
+
@message_retention_duration = args[:message_retention_duration] if args.key?(:message_retention_duration)
|
604
794
|
@name = args[:name] if args.key?(:name)
|
605
795
|
@push_config = args[:push_config] if args.key?(:push_config)
|
796
|
+
@retain_acked_messages = args[:retain_acked_messages] if args.key?(:retain_acked_messages)
|
606
797
|
@topic = args[:topic] if args.key?(:topic)
|
607
798
|
end
|
608
799
|
end
|
@@ -672,6 +863,58 @@ module Google
|
|
672
863
|
@name = args[:name] if args.key?(:name)
|
673
864
|
end
|
674
865
|
end
|
866
|
+
|
867
|
+
# Request for the UpdateSnapshot method.
|
868
|
+
class UpdateSnapshotRequest
|
869
|
+
include Google::Apis::Core::Hashable
|
870
|
+
|
871
|
+
# A snapshot resource.
|
872
|
+
# Corresponds to the JSON property `snapshot`
|
873
|
+
# @return [Google::Apis::PubsubV1::Snapshot]
|
874
|
+
attr_accessor :snapshot
|
875
|
+
|
876
|
+
# Indicates which fields in the provided snapshot to update.
|
877
|
+
# Must be specified and non-empty.
|
878
|
+
# Corresponds to the JSON property `updateMask`
|
879
|
+
# @return [String]
|
880
|
+
attr_accessor :update_mask
|
881
|
+
|
882
|
+
def initialize(**args)
|
883
|
+
update!(**args)
|
884
|
+
end
|
885
|
+
|
886
|
+
# Update properties of this object
|
887
|
+
def update!(**args)
|
888
|
+
@snapshot = args[:snapshot] if args.key?(:snapshot)
|
889
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
890
|
+
end
|
891
|
+
end
|
892
|
+
|
893
|
+
# Request for the UpdateSubscription method.
|
894
|
+
class UpdateSubscriptionRequest
|
895
|
+
include Google::Apis::Core::Hashable
|
896
|
+
|
897
|
+
# A subscription resource.
|
898
|
+
# Corresponds to the JSON property `subscription`
|
899
|
+
# @return [Google::Apis::PubsubV1::Subscription]
|
900
|
+
attr_accessor :subscription
|
901
|
+
|
902
|
+
# Indicates which fields in the provided subscription to update.
|
903
|
+
# Must be specified and non-empty.
|
904
|
+
# Corresponds to the JSON property `updateMask`
|
905
|
+
# @return [String]
|
906
|
+
attr_accessor :update_mask
|
907
|
+
|
908
|
+
def initialize(**args)
|
909
|
+
update!(**args)
|
910
|
+
end
|
911
|
+
|
912
|
+
# Update properties of this object
|
913
|
+
def update!(**args)
|
914
|
+
@subscription = args[:subscription] if args.key?(:subscription)
|
915
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
916
|
+
end
|
917
|
+
end
|
675
918
|
end
|
676
919
|
end
|
677
920
|
end
|
@@ -34,18 +34,36 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class CreateSnapshotRequest
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
37
43
|
class Empty
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
45
|
|
40
46
|
include Google::Apis::Core::JsonObjectSupport
|
41
47
|
end
|
42
48
|
|
49
|
+
class ListSnapshotsResponse
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
43
55
|
class ListSubscriptionsResponse
|
44
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
57
|
|
46
58
|
include Google::Apis::Core::JsonObjectSupport
|
47
59
|
end
|
48
60
|
|
61
|
+
class ListTopicSnapshotsResponse
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
49
67
|
class ListTopicSubscriptionsResponse
|
50
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
69
|
|
@@ -118,12 +136,30 @@ module Google
|
|
118
136
|
include Google::Apis::Core::JsonObjectSupport
|
119
137
|
end
|
120
138
|
|
139
|
+
class SeekRequest
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class SeekResponse
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
121
151
|
class SetIamPolicyRequest
|
122
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
153
|
|
124
154
|
include Google::Apis::Core::JsonObjectSupport
|
125
155
|
end
|
126
156
|
|
157
|
+
class Snapshot
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
127
163
|
class Subscription
|
128
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
165
|
|
@@ -148,6 +184,18 @@ module Google
|
|
148
184
|
include Google::Apis::Core::JsonObjectSupport
|
149
185
|
end
|
150
186
|
|
187
|
+
class UpdateSnapshotRequest
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class UpdateSubscriptionRequest
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
151
199
|
class AcknowledgeRequest
|
152
200
|
# @private
|
153
201
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -163,12 +211,28 @@ module Google
|
|
163
211
|
end
|
164
212
|
end
|
165
213
|
|
214
|
+
class CreateSnapshotRequest
|
215
|
+
# @private
|
216
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
217
|
+
property :subscription, as: 'subscription'
|
218
|
+
end
|
219
|
+
end
|
220
|
+
|
166
221
|
class Empty
|
167
222
|
# @private
|
168
223
|
class Representation < Google::Apis::Core::JsonRepresentation
|
169
224
|
end
|
170
225
|
end
|
171
226
|
|
227
|
+
class ListSnapshotsResponse
|
228
|
+
# @private
|
229
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
230
|
+
property :next_page_token, as: 'nextPageToken'
|
231
|
+
collection :snapshots, as: 'snapshots', class: Google::Apis::PubsubV1::Snapshot, decorator: Google::Apis::PubsubV1::Snapshot::Representation
|
232
|
+
|
233
|
+
end
|
234
|
+
end
|
235
|
+
|
172
236
|
class ListSubscriptionsResponse
|
173
237
|
# @private
|
174
238
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -178,6 +242,14 @@ module Google
|
|
178
242
|
end
|
179
243
|
end
|
180
244
|
|
245
|
+
class ListTopicSnapshotsResponse
|
246
|
+
# @private
|
247
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
248
|
+
property :next_page_token, as: 'nextPageToken'
|
249
|
+
collection :snapshots, as: 'snapshots'
|
250
|
+
end
|
251
|
+
end
|
252
|
+
|
181
253
|
class ListTopicSubscriptionsResponse
|
182
254
|
# @private
|
183
255
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -279,6 +351,20 @@ module Google
|
|
279
351
|
end
|
280
352
|
end
|
281
353
|
|
354
|
+
class SeekRequest
|
355
|
+
# @private
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
357
|
+
property :snapshot, as: 'snapshot'
|
358
|
+
property :time, as: 'time'
|
359
|
+
end
|
360
|
+
end
|
361
|
+
|
362
|
+
class SeekResponse
|
363
|
+
# @private
|
364
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
365
|
+
end
|
366
|
+
end
|
367
|
+
|
282
368
|
class SetIamPolicyRequest
|
283
369
|
# @private
|
284
370
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -287,13 +373,24 @@ module Google
|
|
287
373
|
end
|
288
374
|
end
|
289
375
|
|
376
|
+
class Snapshot
|
377
|
+
# @private
|
378
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
379
|
+
property :expire_time, as: 'expireTime'
|
380
|
+
property :name, as: 'name'
|
381
|
+
property :topic, as: 'topic'
|
382
|
+
end
|
383
|
+
end
|
384
|
+
|
290
385
|
class Subscription
|
291
386
|
# @private
|
292
387
|
class Representation < Google::Apis::Core::JsonRepresentation
|
293
388
|
property :ack_deadline_seconds, as: 'ackDeadlineSeconds'
|
389
|
+
property :message_retention_duration, as: 'messageRetentionDuration'
|
294
390
|
property :name, as: 'name'
|
295
391
|
property :push_config, as: 'pushConfig', class: Google::Apis::PubsubV1::PushConfig, decorator: Google::Apis::PubsubV1::PushConfig::Representation
|
296
392
|
|
393
|
+
property :retain_acked_messages, as: 'retainAckedMessages'
|
297
394
|
property :topic, as: 'topic'
|
298
395
|
end
|
299
396
|
end
|
@@ -318,6 +415,24 @@ module Google
|
|
318
415
|
property :name, as: 'name'
|
319
416
|
end
|
320
417
|
end
|
418
|
+
|
419
|
+
class UpdateSnapshotRequest
|
420
|
+
# @private
|
421
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
422
|
+
property :snapshot, as: 'snapshot', class: Google::Apis::PubsubV1::Snapshot, decorator: Google::Apis::PubsubV1::Snapshot::Representation
|
423
|
+
|
424
|
+
property :update_mask, as: 'updateMask'
|
425
|
+
end
|
426
|
+
end
|
427
|
+
|
428
|
+
class UpdateSubscriptionRequest
|
429
|
+
# @private
|
430
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
431
|
+
property :subscription, as: 'subscription', class: Google::Apis::PubsubV1::Subscription, decorator: Google::Apis::PubsubV1::Subscription::Representation
|
432
|
+
|
433
|
+
property :update_mask, as: 'updateMask'
|
434
|
+
end
|
435
|
+
end
|
321
436
|
end
|
322
437
|
end
|
323
438
|
end
|