google-api-client 0.11.1 → 0.11.2
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 +4 -0
- data/api_names.yaml +42335 -1
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +28 -28
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +12 -12
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +757 -757
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +162 -162
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +48 -48
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +75 -7
- data/generated/google/apis/admin_directory_v1/representations.rb +20 -0
- data/generated/google/apis/admin_directory_v1/service.rb +61 -61
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +403 -403
- data/generated/google/apis/analyticsreporting_v4/representations.rb +108 -108
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +36 -11
- data/generated/google/apis/androidenterprise_v1/representations.rb +2 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +6 -5
- data/generated/google/apis/appengine_v1/classes.rb +1429 -1421
- data/generated/google/apis/appengine_v1/representations.rb +331 -331
- data/generated/google/apis/appengine_v1/service.rb +173 -168
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +624 -618
- data/generated/google/apis/cloudbuild_v1/representations.rb +126 -125
- data/generated/google/apis/cloudbuild_v1/service.rb +87 -87
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +267 -267
- data/generated/google/apis/clouddebugger_v2/representations.rb +83 -83
- data/generated/google/apis/clouddebugger_v2/service.rb +137 -137
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +131 -131
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +28 -28
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +17 -17
- data/generated/google/apis/cloudfunctions_v1.rb +1 -4
- data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -47
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -17
- data/generated/google/apis/cloudfunctions_v1/service.rb +0 -30
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +625 -625
- data/generated/google/apis/cloudkms_v1/representations.rb +132 -132
- data/generated/google/apis/cloudkms_v1/service.rb +272 -272
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +242 -242
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +43 -43
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +505 -505
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +172 -172
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +39 -39
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +310 -310
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +96 -69
- data/generated/google/apis/cloudtrace_v1/representations.rb +16 -16
- data/generated/google/apis/cloudtrace_v1/service.rb +42 -15
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +194 -25
- data/generated/google/apis/compute_beta/representations.rb +42 -0
- data/generated/google/apis/compute_beta/service.rb +196 -100
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +69 -18
- data/generated/google/apis/compute_v1/representations.rb +16 -0
- data/generated/google/apis/compute_v1/service.rb +84 -26
- data/generated/google/apis/container_v1.rb +3 -3
- data/generated/google/apis/container_v1/classes.rb +794 -586
- data/generated/google/apis/container_v1/representations.rb +202 -118
- data/generated/google/apis/container_v1/service.rb +396 -167
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/service.rb +4 -4
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +487 -484
- data/generated/google/apis/dataproc_v1/representations.rb +83 -83
- data/generated/google/apis/dataproc_v1/service.rb +299 -297
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +703 -703
- data/generated/google/apis/datastore_v1/representations.rb +148 -148
- data/generated/google/apis/datastore_v1/service.rb +62 -62
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +7 -5
- data/generated/google/apis/dfareporting_v2_6.rb +1 -1
- data/generated/google/apis/dfareporting_v2_6/classes.rb +66 -53
- data/generated/google/apis/dfareporting_v2_6/service.rb +30 -30
- data/generated/google/apis/dfareporting_v2_7.rb +1 -1
- data/generated/google/apis/dfareporting_v2_7/classes.rb +69 -55
- data/generated/google/apis/dfareporting_v2_7/service.rb +38 -37
- data/generated/google/apis/dfareporting_v2_8.rb +40 -0
- data/generated/google/apis/dfareporting_v2_8/classes.rb +12046 -0
- data/generated/google/apis/dfareporting_v2_8/representations.rb +4310 -0
- data/generated/google/apis/dfareporting_v2_8/service.rb +9135 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +15 -0
- data/generated/google/apis/drive_v2/representations.rb +2 -0
- data/generated/google/apis/drive_v2/service.rb +2 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +16 -0
- data/generated/google/apis/drive_v3/representations.rb +2 -0
- data/generated/google/apis/drive_v3/service.rb +2 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +2 -3
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +159 -159
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +55 -55
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -6
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +73 -73
- data/generated/google/apis/firebaserules_v1/representations.rb +25 -25
- data/generated/google/apis/firebaserules_v1/service.rb +118 -118
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +920 -920
- data/generated/google/apis/genomics_v1/representations.rb +202 -202
- data/generated/google/apis/genomics_v1/service.rb +1092 -1092
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +455 -435
- data/generated/google/apis/iam_v1/representations.rb +96 -93
- data/generated/google/apis/iam_v1/service.rb +157 -157
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +12 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +2 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +9 -9
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +455 -455
- data/generated/google/apis/language_v1/representations.rb +102 -102
- data/generated/google/apis/language_v1/service.rb +42 -42
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +216 -215
- data/generated/google/apis/language_v1beta1/representations.rb +75 -75
- data/generated/google/apis/language_v1beta1/service.rb +45 -45
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +908 -895
- data/generated/google/apis/logging_v2/representations.rb +121 -120
- data/generated/google/apis/logging_v2/service.rb +489 -489
- data/generated/google/apis/logging_v2beta1.rb +4 -4
- data/generated/google/apis/logging_v2beta1/classes.rb +928 -915
- data/generated/google/apis/logging_v2beta1/representations.rb +121 -120
- data/generated/google/apis/logging_v2beta1/service.rb +249 -249
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +294 -294
- data/generated/google/apis/manufacturers_v1/representations.rb +84 -84
- data/generated/google/apis/manufacturers_v1/service.rb +8 -8
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1186 -1183
- data/generated/google/apis/ml_v1/representations.rb +177 -177
- data/generated/google/apis/ml_v1/service.rb +244 -244
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +866 -866
- data/generated/google/apis/monitoring_v3/representations.rb +163 -163
- data/generated/google/apis/monitoring_v3/service.rb +355 -316
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1499 -1499
- data/generated/google/apis/partners_v2/representations.rb +368 -368
- data/generated/google/apis/partners_v2/service.rb +512 -512
- data/generated/google/apis/people_v1.rb +10 -10
- data/generated/google/apis/people_v1/classes.rb +544 -423
- data/generated/google/apis/people_v1/representations.rb +127 -109
- data/generated/google/apis/people_v1/service.rb +8 -8
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +200 -200
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +41 -41
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +80 -80
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +377 -377
- data/generated/google/apis/pubsub_v1/representations.rb +82 -82
- data/generated/google/apis/pubsub_v1/service.rb +93 -93
- data/generated/google/apis/runtimeconfig_v1.rb +6 -4
- data/generated/google/apis/runtimeconfig_v1/classes.rb +22 -22
- data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/service.rb +57 -55
- data/generated/google/apis/script_v1.rb +14 -14
- data/generated/google/apis/script_v1/classes.rb +113 -58
- data/generated/google/apis/script_v1/representations.rb +43 -14
- data/generated/google/apis/script_v1/service.rb +6 -6
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +67 -67
- data/generated/google/apis/searchconsole_v1/representations.rb +29 -29
- data/generated/google/apis/searchconsole_v1/service.rb +6 -6
- data/generated/google/apis/servicecontrol_v1.rb +4 -4
- data/generated/google/apis/servicecontrol_v1/classes.rb +1125 -1125
- data/generated/google/apis/servicecontrol_v1/representations.rb +213 -213
- data/generated/google/apis/servicecontrol_v1/service.rb +92 -92
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +3364 -3622
- data/generated/google/apis/servicemanagement_v1/representations.rb +546 -530
- data/generated/google/apis/servicemanagement_v1/service.rb +262 -152
- data/generated/google/apis/serviceuser_v1.rb +4 -4
- data/generated/google/apis/serviceuser_v1/classes.rb +2616 -2874
- data/generated/google/apis/serviceuser_v1/representations.rb +294 -278
- data/generated/google/apis/serviceuser_v1/service.rb +19 -19
- data/generated/google/apis/sheets_v4.rb +4 -1
- data/generated/google/apis/sheets_v4/classes.rb +4315 -4313
- data/generated/google/apis/sheets_v4/representations.rb +858 -858
- data/generated/google/apis/sheets_v4/service.rb +115 -115
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2890 -2890
- data/generated/google/apis/slides_v1/representations.rb +638 -638
- data/generated/google/apis/slides_v1/service.rb +36 -36
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +283 -283
- data/generated/google/apis/sourcerepo_v1/representations.rb +67 -67
- data/generated/google/apis/sourcerepo_v1/service.rb +88 -88
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +2258 -2233
- data/generated/google/apis/spanner_v1/representations.rb +325 -325
- data/generated/google/apis/spanner_v1/service.rb +466 -466
- data/generated/google/apis/speech_v1beta1.rb +2 -2
- data/generated/google/apis/speech_v1beta1/classes.rb +97 -97
- data/generated/google/apis/speech_v1beta1/representations.rb +29 -29
- data/generated/google/apis/speech_v1beta1/service.rb +49 -49
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +786 -786
- data/generated/google/apis/storagetransfer_v1/representations.rb +133 -133
- data/generated/google/apis/storagetransfer_v1/service.rb +30 -30
- data/generated/google/apis/surveys_v2.rb +1 -1
- data/generated/google/apis/surveys_v2/classes.rb +0 -12
- data/generated/google/apis/surveys_v2/representations.rb +0 -4
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1301 -1302
- data/generated/google/apis/vision_v1/representations.rb +183 -183
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +10 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +1 -0
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +64 -64
- data/generated/google/apis/youtubereporting_v1/representations.rb +12 -12
- data/generated/google/apis/youtubereporting_v1/service.rb +94 -94
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -3
|
@@ -22,300 +22,300 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module PubsubV1
|
|
24
24
|
|
|
25
|
-
class
|
|
25
|
+
class AcknowledgeRequest
|
|
26
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
27
|
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
|
29
29
|
end
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class Empty
|
|
32
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
33
|
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
|
35
35
|
end
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class ListTopicsResponse
|
|
38
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
39
|
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
|
41
41
|
end
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class ListTopicSubscriptionsResponse
|
|
44
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
45
|
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
|
47
47
|
end
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class PullResponse
|
|
50
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
51
|
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
|
53
53
|
end
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class ReceivedMessage
|
|
56
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
57
|
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
|
59
59
|
end
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class PushConfig
|
|
62
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
63
|
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
-
class
|
|
67
|
+
class TestIamPermissionsResponse
|
|
68
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
69
|
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
|
71
71
|
end
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class PullRequest
|
|
74
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
75
|
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
|
77
77
|
end
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class ListSubscriptionsResponse
|
|
80
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
81
|
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
|
83
83
|
end
|
|
84
84
|
|
|
85
|
-
class
|
|
85
|
+
class PublishRequest
|
|
86
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
87
|
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
|
89
89
|
end
|
|
90
90
|
|
|
91
|
-
class
|
|
91
|
+
class PublishResponse
|
|
92
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
93
|
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
|
95
95
|
end
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class Subscription
|
|
98
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
99
|
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
|
101
101
|
end
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class TestIamPermissionsRequest
|
|
104
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
105
|
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
|
107
107
|
end
|
|
108
108
|
|
|
109
|
-
class
|
|
109
|
+
class Topic
|
|
110
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
111
|
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
|
113
113
|
end
|
|
114
114
|
|
|
115
|
-
class
|
|
115
|
+
class Policy
|
|
116
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
117
|
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
|
119
119
|
end
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class ModifyAckDeadlineRequest
|
|
122
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
123
|
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
|
125
125
|
end
|
|
126
126
|
|
|
127
|
-
class
|
|
127
|
+
class SetIamPolicyRequest
|
|
128
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
129
129
|
|
|
130
130
|
include Google::Apis::Core::JsonObjectSupport
|
|
131
131
|
end
|
|
132
132
|
|
|
133
|
-
class
|
|
133
|
+
class Message
|
|
134
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
135
135
|
|
|
136
136
|
include Google::Apis::Core::JsonObjectSupport
|
|
137
137
|
end
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class ModifyPushConfigRequest
|
|
140
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
141
141
|
|
|
142
142
|
include Google::Apis::Core::JsonObjectSupport
|
|
143
143
|
end
|
|
144
144
|
|
|
145
|
-
class
|
|
145
|
+
class Binding
|
|
146
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
147
|
|
|
148
148
|
include Google::Apis::Core::JsonObjectSupport
|
|
149
149
|
end
|
|
150
150
|
|
|
151
|
-
class
|
|
151
|
+
class AcknowledgeRequest
|
|
152
152
|
# @private
|
|
153
153
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
154
|
-
|
|
154
|
+
collection :ack_ids, as: 'ackIds'
|
|
155
155
|
end
|
|
156
156
|
end
|
|
157
157
|
|
|
158
|
-
class
|
|
158
|
+
class Empty
|
|
159
159
|
# @private
|
|
160
160
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
161
|
-
property :version, as: 'version'
|
|
162
|
-
collection :bindings, as: 'bindings', class: Google::Apis::PubsubV1::Binding, decorator: Google::Apis::PubsubV1::Binding::Representation
|
|
163
|
-
|
|
164
|
-
property :etag, :base64 => true, as: 'etag'
|
|
165
161
|
end
|
|
166
162
|
end
|
|
167
163
|
|
|
168
|
-
class
|
|
164
|
+
class ListTopicsResponse
|
|
169
165
|
# @private
|
|
170
166
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
171
|
-
|
|
172
|
-
|
|
167
|
+
collection :topics, as: 'topics', class: Google::Apis::PubsubV1::Topic, decorator: Google::Apis::PubsubV1::Topic::Representation
|
|
168
|
+
|
|
169
|
+
property :next_page_token, as: 'nextPageToken'
|
|
173
170
|
end
|
|
174
171
|
end
|
|
175
172
|
|
|
176
|
-
class
|
|
173
|
+
class ListTopicSubscriptionsResponse
|
|
177
174
|
# @private
|
|
178
175
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
179
|
-
property :
|
|
180
|
-
|
|
176
|
+
property :next_page_token, as: 'nextPageToken'
|
|
177
|
+
collection :subscriptions, as: 'subscriptions'
|
|
181
178
|
end
|
|
182
179
|
end
|
|
183
180
|
|
|
184
|
-
class
|
|
181
|
+
class PullResponse
|
|
185
182
|
# @private
|
|
186
183
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
187
|
-
|
|
184
|
+
collection :received_messages, as: 'receivedMessages', class: Google::Apis::PubsubV1::ReceivedMessage, decorator: Google::Apis::PubsubV1::ReceivedMessage::Representation
|
|
188
185
|
|
|
189
186
|
end
|
|
190
187
|
end
|
|
191
188
|
|
|
192
|
-
class
|
|
189
|
+
class ReceivedMessage
|
|
193
190
|
# @private
|
|
194
191
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
195
|
-
property :
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
property :message_id, as: 'messageId'
|
|
192
|
+
property :message, as: 'message', class: Google::Apis::PubsubV1::Message, decorator: Google::Apis::PubsubV1::Message::Representation
|
|
193
|
+
|
|
194
|
+
property :ack_id, as: 'ackId'
|
|
199
195
|
end
|
|
200
196
|
end
|
|
201
197
|
|
|
202
|
-
class
|
|
198
|
+
class PushConfig
|
|
203
199
|
# @private
|
|
204
200
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
205
|
-
|
|
206
|
-
|
|
201
|
+
property :push_endpoint, as: 'pushEndpoint'
|
|
202
|
+
hash :attributes, as: 'attributes'
|
|
207
203
|
end
|
|
208
204
|
end
|
|
209
205
|
|
|
210
|
-
class
|
|
206
|
+
class TestIamPermissionsResponse
|
|
211
207
|
# @private
|
|
212
208
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
213
|
-
|
|
214
|
-
collection :topics, as: 'topics', class: Google::Apis::PubsubV1::Topic, decorator: Google::Apis::PubsubV1::Topic::Representation
|
|
215
|
-
|
|
209
|
+
collection :permissions, as: 'permissions'
|
|
216
210
|
end
|
|
217
211
|
end
|
|
218
212
|
|
|
219
|
-
class
|
|
213
|
+
class PullRequest
|
|
220
214
|
# @private
|
|
221
215
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
216
|
+
property :return_immediately, as: 'returnImmediately'
|
|
217
|
+
property :max_messages, as: 'maxMessages'
|
|
222
218
|
end
|
|
223
219
|
end
|
|
224
220
|
|
|
225
|
-
class
|
|
221
|
+
class ListSubscriptionsResponse
|
|
226
222
|
# @private
|
|
227
223
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
228
|
-
|
|
224
|
+
property :next_page_token, as: 'nextPageToken'
|
|
225
|
+
collection :subscriptions, as: 'subscriptions', class: Google::Apis::PubsubV1::Subscription, decorator: Google::Apis::PubsubV1::Subscription::Representation
|
|
226
|
+
|
|
229
227
|
end
|
|
230
228
|
end
|
|
231
229
|
|
|
232
|
-
class
|
|
230
|
+
class PublishRequest
|
|
233
231
|
# @private
|
|
234
232
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
235
|
-
|
|
236
|
-
|
|
233
|
+
collection :messages, as: 'messages', class: Google::Apis::PubsubV1::Message, decorator: Google::Apis::PubsubV1::Message::Representation
|
|
234
|
+
|
|
237
235
|
end
|
|
238
236
|
end
|
|
239
237
|
|
|
240
|
-
class
|
|
238
|
+
class PublishResponse
|
|
241
239
|
# @private
|
|
242
240
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
243
|
-
collection :
|
|
244
|
-
|
|
241
|
+
collection :message_ids, as: 'messageIds'
|
|
245
242
|
end
|
|
246
243
|
end
|
|
247
244
|
|
|
248
|
-
class
|
|
245
|
+
class Subscription
|
|
249
246
|
# @private
|
|
250
247
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
251
|
-
property :
|
|
248
|
+
property :topic, as: 'topic'
|
|
249
|
+
property :push_config, as: 'pushConfig', class: Google::Apis::PubsubV1::PushConfig, decorator: Google::Apis::PubsubV1::PushConfig::Representation
|
|
252
250
|
|
|
253
|
-
property :
|
|
251
|
+
property :ack_deadline_seconds, as: 'ackDeadlineSeconds'
|
|
252
|
+
property :name, as: 'name'
|
|
254
253
|
end
|
|
255
254
|
end
|
|
256
255
|
|
|
257
|
-
class
|
|
256
|
+
class TestIamPermissionsRequest
|
|
258
257
|
# @private
|
|
259
258
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
260
|
-
|
|
261
|
-
hash :attributes, as: 'attributes'
|
|
259
|
+
collection :permissions, as: 'permissions'
|
|
262
260
|
end
|
|
263
261
|
end
|
|
264
262
|
|
|
265
|
-
class
|
|
263
|
+
class Topic
|
|
266
264
|
# @private
|
|
267
265
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
268
|
-
|
|
266
|
+
property :name, as: 'name'
|
|
269
267
|
end
|
|
270
268
|
end
|
|
271
269
|
|
|
272
|
-
class
|
|
270
|
+
class Policy
|
|
273
271
|
# @private
|
|
274
272
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
275
|
-
property :
|
|
276
|
-
property :
|
|
273
|
+
property :etag, :base64 => true, as: 'etag'
|
|
274
|
+
property :version, as: 'version'
|
|
275
|
+
collection :bindings, as: 'bindings', class: Google::Apis::PubsubV1::Binding, decorator: Google::Apis::PubsubV1::Binding::Representation
|
|
276
|
+
|
|
277
277
|
end
|
|
278
278
|
end
|
|
279
279
|
|
|
280
|
-
class
|
|
280
|
+
class ModifyAckDeadlineRequest
|
|
281
281
|
# @private
|
|
282
282
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
283
|
-
property :
|
|
284
|
-
collection :
|
|
285
|
-
|
|
283
|
+
property :ack_deadline_seconds, as: 'ackDeadlineSeconds'
|
|
284
|
+
collection :ack_ids, as: 'ackIds'
|
|
286
285
|
end
|
|
287
286
|
end
|
|
288
287
|
|
|
289
|
-
class
|
|
288
|
+
class SetIamPolicyRequest
|
|
290
289
|
# @private
|
|
291
290
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
292
|
-
|
|
291
|
+
property :policy, as: 'policy', class: Google::Apis::PubsubV1::Policy, decorator: Google::Apis::PubsubV1::Policy::Representation
|
|
293
292
|
|
|
294
293
|
end
|
|
295
294
|
end
|
|
296
295
|
|
|
297
|
-
class
|
|
296
|
+
class Message
|
|
298
297
|
# @private
|
|
299
298
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
300
|
-
|
|
299
|
+
hash :attributes, as: 'attributes'
|
|
300
|
+
property :message_id, as: 'messageId'
|
|
301
|
+
property :publish_time, as: 'publishTime'
|
|
302
|
+
property :data, :base64 => true, as: 'data'
|
|
301
303
|
end
|
|
302
304
|
end
|
|
303
305
|
|
|
304
|
-
class
|
|
306
|
+
class ModifyPushConfigRequest
|
|
305
307
|
# @private
|
|
306
308
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
307
309
|
property :push_config, as: 'pushConfig', class: Google::Apis::PubsubV1::PushConfig, decorator: Google::Apis::PubsubV1::PushConfig::Representation
|
|
308
310
|
|
|
309
|
-
property :ack_deadline_seconds, as: 'ackDeadlineSeconds'
|
|
310
|
-
property :name, as: 'name'
|
|
311
|
-
property :topic, as: 'topic'
|
|
312
311
|
end
|
|
313
312
|
end
|
|
314
313
|
|
|
315
|
-
class
|
|
314
|
+
class Binding
|
|
316
315
|
# @private
|
|
317
316
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
318
|
-
collection :
|
|
317
|
+
collection :members, as: 'members'
|
|
318
|
+
property :role, as: 'role'
|
|
319
319
|
end
|
|
320
320
|
end
|
|
321
321
|
end
|
|
@@ -47,6 +47,45 @@ module Google
|
|
|
47
47
|
@batch_path = 'batch'
|
|
48
48
|
end
|
|
49
49
|
|
|
50
|
+
# Returns permissions that a caller has on the specified resource.
|
|
51
|
+
# If the resource does not exist, this will return an empty set of
|
|
52
|
+
# permissions, not a NOT_FOUND error.
|
|
53
|
+
# Note: This operation is designed to be used for building permission-aware
|
|
54
|
+
# UIs and command-line tools, not for authorization checking. This operation
|
|
55
|
+
# may "fail open" without warning.
|
|
56
|
+
# @param [String] resource
|
|
57
|
+
# REQUIRED: The resource for which the policy detail is being requested.
|
|
58
|
+
# See the operation documentation for the appropriate value for this field.
|
|
59
|
+
# @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
|
60
|
+
# @param [String] fields
|
|
61
|
+
# Selector specifying which fields to include in a partial response.
|
|
62
|
+
# @param [String] quota_user
|
|
63
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
64
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
65
|
+
# @param [Google::Apis::RequestOptions] options
|
|
66
|
+
# Request-specific options
|
|
67
|
+
#
|
|
68
|
+
# @yield [result, err] Result & error if block supplied
|
|
69
|
+
# @yieldparam result [Google::Apis::PubsubV1::TestIamPermissionsResponse] parsed result object
|
|
70
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
71
|
+
#
|
|
72
|
+
# @return [Google::Apis::PubsubV1::TestIamPermissionsResponse]
|
|
73
|
+
#
|
|
74
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
75
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
76
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
77
|
+
def test_subscription_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
78
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
|
79
|
+
command.request_representation = Google::Apis::PubsubV1::TestIamPermissionsRequest::Representation
|
|
80
|
+
command.request_object = test_iam_permissions_request_object
|
|
81
|
+
command.response_representation = Google::Apis::PubsubV1::TestIamPermissionsResponse::Representation
|
|
82
|
+
command.response_class = Google::Apis::PubsubV1::TestIamPermissionsResponse
|
|
83
|
+
command.params['resource'] = resource unless resource.nil?
|
|
84
|
+
command.query['fields'] = fields unless fields.nil?
|
|
85
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
86
|
+
execute_or_queue_command(command, &block)
|
|
87
|
+
end
|
|
88
|
+
|
|
50
89
|
# Modifies the `PushConfig` for a specified subscription.
|
|
51
90
|
# This may be used to change a push subscription to a pull one (signified by
|
|
52
91
|
# an empty `PushConfig`) or vice versa, or change the endpoint URL and other
|
|
@@ -277,39 +316,6 @@ module Google
|
|
|
277
316
|
execute_or_queue_command(command, &block)
|
|
278
317
|
end
|
|
279
318
|
|
|
280
|
-
# Gets the access control policy for a resource.
|
|
281
|
-
# Returns an empty policy if the resource exists and does not have a policy
|
|
282
|
-
# set.
|
|
283
|
-
# @param [String] resource
|
|
284
|
-
# REQUIRED: The resource for which the policy is being requested.
|
|
285
|
-
# See the operation documentation for the appropriate value for this field.
|
|
286
|
-
# @param [String] fields
|
|
287
|
-
# Selector specifying which fields to include in a partial response.
|
|
288
|
-
# @param [String] quota_user
|
|
289
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
290
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
291
|
-
# @param [Google::Apis::RequestOptions] options
|
|
292
|
-
# Request-specific options
|
|
293
|
-
#
|
|
294
|
-
# @yield [result, err] Result & error if block supplied
|
|
295
|
-
# @yieldparam result [Google::Apis::PubsubV1::Policy] parsed result object
|
|
296
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
297
|
-
#
|
|
298
|
-
# @return [Google::Apis::PubsubV1::Policy]
|
|
299
|
-
#
|
|
300
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
301
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
302
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
303
|
-
def get_project_subscription_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
|
304
|
-
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
|
305
|
-
command.response_representation = Google::Apis::PubsubV1::Policy::Representation
|
|
306
|
-
command.response_class = Google::Apis::PubsubV1::Policy
|
|
307
|
-
command.params['resource'] = resource unless resource.nil?
|
|
308
|
-
command.query['fields'] = fields unless fields.nil?
|
|
309
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
310
|
-
execute_or_queue_command(command, &block)
|
|
311
|
-
end
|
|
312
|
-
|
|
313
319
|
# Acknowledges the messages associated with the `ack_ids` in the
|
|
314
320
|
# `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages
|
|
315
321
|
# from the subscription.
|
|
@@ -387,47 +393,12 @@ module Google
|
|
|
387
393
|
execute_or_queue_command(command, &block)
|
|
388
394
|
end
|
|
389
395
|
|
|
390
|
-
# Gets the
|
|
391
|
-
#
|
|
392
|
-
#
|
|
393
|
-
# Format is `projects/`project`/subscriptions/`sub``.
|
|
394
|
-
# @param [String] fields
|
|
395
|
-
# Selector specifying which fields to include in a partial response.
|
|
396
|
-
# @param [String] quota_user
|
|
397
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
398
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
399
|
-
# @param [Google::Apis::RequestOptions] options
|
|
400
|
-
# Request-specific options
|
|
401
|
-
#
|
|
402
|
-
# @yield [result, err] Result & error if block supplied
|
|
403
|
-
# @yieldparam result [Google::Apis::PubsubV1::Subscription] parsed result object
|
|
404
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
405
|
-
#
|
|
406
|
-
# @return [Google::Apis::PubsubV1::Subscription]
|
|
407
|
-
#
|
|
408
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
409
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
410
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
411
|
-
def get_subscription(subscription, fields: nil, quota_user: nil, options: nil, &block)
|
|
412
|
-
command = make_simple_command(:get, 'v1/{+subscription}', options)
|
|
413
|
-
command.response_representation = Google::Apis::PubsubV1::Subscription::Representation
|
|
414
|
-
command.response_class = Google::Apis::PubsubV1::Subscription
|
|
415
|
-
command.params['subscription'] = subscription unless subscription.nil?
|
|
416
|
-
command.query['fields'] = fields unless fields.nil?
|
|
417
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
418
|
-
execute_or_queue_command(command, &block)
|
|
419
|
-
end
|
|
420
|
-
|
|
421
|
-
# Returns permissions that a caller has on the specified resource.
|
|
422
|
-
# If the resource does not exist, this will return an empty set of
|
|
423
|
-
# permissions, not a NOT_FOUND error.
|
|
424
|
-
# Note: This operation is designed to be used for building permission-aware
|
|
425
|
-
# UIs and command-line tools, not for authorization checking. This operation
|
|
426
|
-
# may "fail open" without warning.
|
|
396
|
+
# Gets the access control policy for a resource.
|
|
397
|
+
# Returns an empty policy if the resource exists and does not have a policy
|
|
398
|
+
# set.
|
|
427
399
|
# @param [String] resource
|
|
428
|
-
# REQUIRED: The resource for which the policy
|
|
400
|
+
# REQUIRED: The resource for which the policy is being requested.
|
|
429
401
|
# See the operation documentation for the appropriate value for this field.
|
|
430
|
-
# @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
|
431
402
|
# @param [String] fields
|
|
432
403
|
# Selector specifying which fields to include in a partial response.
|
|
433
404
|
# @param [String] quota_user
|
|
@@ -437,32 +408,28 @@ module Google
|
|
|
437
408
|
# Request-specific options
|
|
438
409
|
#
|
|
439
410
|
# @yield [result, err] Result & error if block supplied
|
|
440
|
-
# @yieldparam result [Google::Apis::PubsubV1::
|
|
411
|
+
# @yieldparam result [Google::Apis::PubsubV1::Policy] parsed result object
|
|
441
412
|
# @yieldparam err [StandardError] error object if request failed
|
|
442
413
|
#
|
|
443
|
-
# @return [Google::Apis::PubsubV1::
|
|
414
|
+
# @return [Google::Apis::PubsubV1::Policy]
|
|
444
415
|
#
|
|
445
416
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
446
417
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
447
418
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
448
|
-
def
|
|
449
|
-
command = make_simple_command(:
|
|
450
|
-
command.
|
|
451
|
-
command.
|
|
452
|
-
command.response_representation = Google::Apis::PubsubV1::TestIamPermissionsResponse::Representation
|
|
453
|
-
command.response_class = Google::Apis::PubsubV1::TestIamPermissionsResponse
|
|
419
|
+
def get_project_subscription_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
|
420
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
|
421
|
+
command.response_representation = Google::Apis::PubsubV1::Policy::Representation
|
|
422
|
+
command.response_class = Google::Apis::PubsubV1::Policy
|
|
454
423
|
command.params['resource'] = resource unless resource.nil?
|
|
455
424
|
command.query['fields'] = fields unless fields.nil?
|
|
456
425
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
457
426
|
execute_or_queue_command(command, &block)
|
|
458
427
|
end
|
|
459
428
|
|
|
460
|
-
# Gets the
|
|
461
|
-
#
|
|
462
|
-
#
|
|
463
|
-
#
|
|
464
|
-
# REQUIRED: The resource for which the policy is being requested.
|
|
465
|
-
# See the operation documentation for the appropriate value for this field.
|
|
429
|
+
# Gets the configuration details of a subscription.
|
|
430
|
+
# @param [String] subscription
|
|
431
|
+
# The name of the subscription to get.
|
|
432
|
+
# Format is `projects/`project`/subscriptions/`sub``.
|
|
466
433
|
# @param [String] fields
|
|
467
434
|
# Selector specifying which fields to include in a partial response.
|
|
468
435
|
# @param [String] quota_user
|
|
@@ -472,19 +439,19 @@ module Google
|
|
|
472
439
|
# Request-specific options
|
|
473
440
|
#
|
|
474
441
|
# @yield [result, err] Result & error if block supplied
|
|
475
|
-
# @yieldparam result [Google::Apis::PubsubV1::
|
|
442
|
+
# @yieldparam result [Google::Apis::PubsubV1::Subscription] parsed result object
|
|
476
443
|
# @yieldparam err [StandardError] error object if request failed
|
|
477
444
|
#
|
|
478
|
-
# @return [Google::Apis::PubsubV1::
|
|
445
|
+
# @return [Google::Apis::PubsubV1::Subscription]
|
|
479
446
|
#
|
|
480
447
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
481
448
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
482
449
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
483
|
-
def
|
|
484
|
-
command = make_simple_command(:get, 'v1/{+
|
|
485
|
-
command.response_representation = Google::Apis::PubsubV1::
|
|
486
|
-
command.response_class = Google::Apis::PubsubV1::
|
|
487
|
-
command.params['
|
|
450
|
+
def get_subscription(subscription, fields: nil, quota_user: nil, options: nil, &block)
|
|
451
|
+
command = make_simple_command(:get, 'v1/{+subscription}', options)
|
|
452
|
+
command.response_representation = Google::Apis::PubsubV1::Subscription::Representation
|
|
453
|
+
command.response_class = Google::Apis::PubsubV1::Subscription
|
|
454
|
+
command.params['subscription'] = subscription unless subscription.nil?
|
|
488
455
|
command.query['fields'] = fields unless fields.nil?
|
|
489
456
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
490
457
|
execute_or_queue_command(command, &block)
|
|
@@ -564,6 +531,39 @@ module Google
|
|
|
564
531
|
execute_or_queue_command(command, &block)
|
|
565
532
|
end
|
|
566
533
|
|
|
534
|
+
# Gets the access control policy for a resource.
|
|
535
|
+
# Returns an empty policy if the resource exists and does not have a policy
|
|
536
|
+
# set.
|
|
537
|
+
# @param [String] resource
|
|
538
|
+
# REQUIRED: The resource for which the policy is being requested.
|
|
539
|
+
# See the operation documentation for the appropriate value for this field.
|
|
540
|
+
# @param [String] fields
|
|
541
|
+
# Selector specifying which fields to include in a partial response.
|
|
542
|
+
# @param [String] quota_user
|
|
543
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
544
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
545
|
+
# @param [Google::Apis::RequestOptions] options
|
|
546
|
+
# Request-specific options
|
|
547
|
+
#
|
|
548
|
+
# @yield [result, err] Result & error if block supplied
|
|
549
|
+
# @yieldparam result [Google::Apis::PubsubV1::Policy] parsed result object
|
|
550
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
551
|
+
#
|
|
552
|
+
# @return [Google::Apis::PubsubV1::Policy]
|
|
553
|
+
#
|
|
554
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
555
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
556
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
557
|
+
def get_project_snapshot_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
|
558
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
|
559
|
+
command.response_representation = Google::Apis::PubsubV1::Policy::Representation
|
|
560
|
+
command.response_class = Google::Apis::PubsubV1::Policy
|
|
561
|
+
command.params['resource'] = resource unless resource.nil?
|
|
562
|
+
command.query['fields'] = fields unless fields.nil?
|
|
563
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
564
|
+
execute_or_queue_command(command, &block)
|
|
565
|
+
end
|
|
566
|
+
|
|
567
567
|
# Gets the access control policy for a resource.
|
|
568
568
|
# Returns an empty policy if the resource exists and does not have a policy
|
|
569
569
|
# set.
|