google-api-client 0.15.0 → 0.16.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 +75 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +17 -35
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +958 -82
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +147 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +54 -0
- data/generated/google/apis/admin_directory_v1/service.rb +71 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +18 -19
- data/generated/google/apis/androidenterprise_v1/service.rb +39 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +12 -11
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -189
- data/generated/google/apis/androidpublisher_v2/representations.rb +0 -120
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -35
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +1 -46
- data/generated/google/apis/appengine_v1/representations.rb +0 -17
- data/generated/google/apis/appengine_v1/service.rb +5 -1
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +0 -45
- data/generated/google/apis/appengine_v1alpha/representations.rb +0 -17
- data/generated/google/apis/appengine_v1alpha/service.rb +5 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +5 -47
- data/generated/google/apis/appengine_v1beta/representations.rb +0 -17
- data/generated/google/apis/appengine_v1beta/service.rb +5 -1
- data/generated/google/apis/appengine_v1beta4.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/classes.rb +44 -45
- data/generated/google/apis/appengine_v1beta4/representations.rb +16 -17
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +4 -46
- data/generated/google/apis/appengine_v1beta5/representations.rb +0 -17
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +41 -24
- data/generated/google/apis/bigquery_v2/representations.rb +3 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +3 -7
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +0 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +15 -3
- data/generated/google/apis/classroom_v1.rb +4 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +26 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +14 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +91 -0
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +482 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +210 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +288 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +119 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +68 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +77 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/service.rb +7 -3
- data/generated/google/apis/cloudiot_v1beta1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +2 -4
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +2 -2
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +4 -14
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +10 -7
- data/generated/google/apis/cloudtrace_v2/representations.rb +2 -2
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +143 -83
- data/generated/google/apis/compute_alpha/representations.rb +50 -30
- data/generated/google/apis/compute_alpha/service.rb +171 -5
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +47 -43
- data/generated/google/apis/compute_beta/representations.rb +1 -2
- data/generated/google/apis/compute_beta/service.rb +60 -5
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1326 -168
- data/generated/google/apis/compute_v1/representations.rb +402 -0
- data/generated/google/apis/compute_v1/service.rb +751 -5
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +23 -16
- data/generated/google/apis/content_v2/service.rb +142 -162
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/service.rb +43 -43
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +44 -35
- data/generated/google/apis/dataflow_v1b3/representations.rb +6 -17
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +39 -37
- data/generated/google/apis/dataproc_v1beta2/service.rb +30 -30
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +39 -60
- data/generated/google/apis/datastore_v1/representations.rb +27 -0
- data/generated/google/apis/datastore_v1/service.rb +34 -0
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +39 -60
- data/generated/google/apis/datastore_v1beta3/representations.rb +27 -0
- data/generated/google/apis/datastore_v1beta3/service.rb +34 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +108 -0
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +50 -0
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +6 -0
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1 -0
- data/generated/google/apis/dlp_v2beta1.rb +1 -1
- data/generated/google/apis/dlp_v2beta1/classes.rb +116 -10
- data/generated/google/apis/dlp_v2beta1/representations.rb +45 -0
- data/generated/google/apis/dns_v1beta2.rb +43 -0
- data/generated/google/apis/dns_v1beta2/classes.rb +915 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +368 -0
- data/generated/google/apis/dns_v1beta2/service.rb +769 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +6 -0
- data/generated/google/apis/drive_v2/representations.rb +2 -0
- data/generated/google/apis/drive_v2/service.rb +51 -8
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +6 -0
- data/generated/google/apis/drive_v3/representations.rb +2 -0
- data/generated/google/apis/drive_v3/service.rb +45 -7
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +25 -0
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +15 -0
- data/generated/google/apis/firebaseremoteconfig_v1.rb +1 -1
- data/generated/google/apis/firebaseremoteconfig_v1/classes.rb +21 -1
- data/generated/google/apis/firebaseremoteconfig_v1/representations.rb +2 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +26 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +15 -0
- data/generated/google/apis/firebaserules_v1/service.rb +37 -0
- data/generated/google/apis/firestore_v1beta1/classes.rb +29 -146
- data/generated/google/apis/firestore_v1beta1/representations.rb +8 -27
- data/generated/google/apis/firestore_v1beta1/service.rb +4 -8
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +18 -0
- data/generated/google/apis/genomics_v1alpha2/representations.rb +2 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +5 -7
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +78 -0
- data/generated/google/apis/language_v1/representations.rb +45 -0
- data/generated/google/apis/language_v1/service.rb +30 -0
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +3 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +9 -0
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2/service.rb +517 -0
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +9 -0
- data/generated/google/apis/logging_v2beta1/representations.rb +1 -0
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +6 -6
- data/generated/google/apis/manufacturers_v1/representations.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +22 -6
- data/generated/google/apis/ml_v1/service.rb +8 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +358 -0
- data/generated/google/apis/monitoring_v3/representations.rb +145 -0
- data/generated/google/apis/monitoring_v3/service.rb +229 -0
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +13 -8
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +36 -1
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +9 -4
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1beta/service.rb +36 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +7 -60
- data/generated/google/apis/partners_v2/representations.rb +1 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +6 -4
- data/generated/google/apis/script_v1.rb +2 -2
- data/generated/google/apis/script_v1/classes.rb +57 -51
- data/generated/google/apis/script_v1/representations.rb +0 -1
- data/generated/google/apis/script_v1/service.rb +2 -2
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +5 -2
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +13 -31
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +13 -31
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +1 -2
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +505 -11
- data/generated/google/apis/slides_v1/representations.rb +220 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +1 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +10 -1
- data/generated/google/apis/speech_v1/representations.rb +1 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +127 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +63 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +42 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +51 -72
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -61
- data/generated/google/apis/streetviewpublish_v1/service.rb +2 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +8 -3
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +17 -16
- data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +108 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +49 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +42 -0
- data/google-api-client.gemspec +1 -1
- data/lib/google/apis/generator/model.rb +9 -3
- data/lib/google/apis/generator/templates/_class.tmpl +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +14 -12
- data/generated/google/apis/playmoviespartner_v1.rb +0 -34
- data/generated/google/apis/playmoviespartner_v1/classes.rb +0 -782
- data/generated/google/apis/playmoviespartner_v1/representations.rb +0 -191
- data/generated/google/apis/playmoviespartner_v1/service.rb +0 -354
- data/generated/google/apis/qpx_express_v1.rb +0 -31
- data/generated/google/apis/qpx_express_v1/classes.rb +0 -1274
- data/generated/google/apis/qpx_express_v1/representations.rb +0 -473
- data/generated/google/apis/qpx_express_v1/service.rb +0 -101
|
@@ -22,6 +22,72 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module CloudfunctionsV1
|
|
24
24
|
|
|
25
|
+
class CallFunctionRequest
|
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
+
|
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
class CallFunctionResponse
|
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
+
|
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
class CloudFunction
|
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
|
+
|
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
class EventTrigger
|
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
+
|
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
class FailurePolicy
|
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
|
+
|
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
class GenerateDownloadUrlRequest
|
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
|
+
|
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
class GenerateDownloadUrlResponse
|
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
|
+
|
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
class GenerateUploadUrlRequest
|
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
|
+
|
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
class GenerateUploadUrlResponse
|
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
+
|
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
class HttpsTrigger
|
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
|
+
|
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
class ListFunctionsResponse
|
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
|
+
|
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
89
|
+
end
|
|
90
|
+
|
|
25
91
|
class ListLocationsResponse
|
|
26
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
93
|
|
|
@@ -46,18 +112,138 @@ module Google
|
|
|
46
112
|
include Google::Apis::Core::JsonObjectSupport
|
|
47
113
|
end
|
|
48
114
|
|
|
115
|
+
class OperationMetadataV1
|
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
|
+
|
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
119
|
+
end
|
|
120
|
+
|
|
49
121
|
class OperationMetadataV1Beta2
|
|
50
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
123
|
|
|
52
124
|
include Google::Apis::Core::JsonObjectSupport
|
|
53
125
|
end
|
|
54
126
|
|
|
127
|
+
class Retry
|
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
129
|
+
|
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
class SourceRepository
|
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
135
|
+
|
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
137
|
+
end
|
|
138
|
+
|
|
55
139
|
class Status
|
|
56
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
141
|
|
|
58
142
|
include Google::Apis::Core::JsonObjectSupport
|
|
59
143
|
end
|
|
60
144
|
|
|
145
|
+
class CallFunctionRequest
|
|
146
|
+
# @private
|
|
147
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
148
|
+
property :data, as: 'data'
|
|
149
|
+
end
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
class CallFunctionResponse
|
|
153
|
+
# @private
|
|
154
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
155
|
+
property :error, as: 'error'
|
|
156
|
+
property :execution_id, as: 'executionId'
|
|
157
|
+
property :result, as: 'result'
|
|
158
|
+
end
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
class CloudFunction
|
|
162
|
+
# @private
|
|
163
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
164
|
+
property :available_memory_mb, as: 'availableMemoryMb'
|
|
165
|
+
property :description, as: 'description'
|
|
166
|
+
property :entry_point, as: 'entryPoint'
|
|
167
|
+
property :event_trigger, as: 'eventTrigger', class: Google::Apis::CloudfunctionsV1::EventTrigger, decorator: Google::Apis::CloudfunctionsV1::EventTrigger::Representation
|
|
168
|
+
|
|
169
|
+
property :https_trigger, as: 'httpsTrigger', class: Google::Apis::CloudfunctionsV1::HttpsTrigger, decorator: Google::Apis::CloudfunctionsV1::HttpsTrigger::Representation
|
|
170
|
+
|
|
171
|
+
hash :labels, as: 'labels'
|
|
172
|
+
property :name, as: 'name'
|
|
173
|
+
property :service_account_email, as: 'serviceAccountEmail'
|
|
174
|
+
property :source_archive_url, as: 'sourceArchiveUrl'
|
|
175
|
+
property :source_repository, as: 'sourceRepository', class: Google::Apis::CloudfunctionsV1::SourceRepository, decorator: Google::Apis::CloudfunctionsV1::SourceRepository::Representation
|
|
176
|
+
|
|
177
|
+
property :source_upload_url, as: 'sourceUploadUrl'
|
|
178
|
+
property :status, as: 'status'
|
|
179
|
+
property :timeout, as: 'timeout'
|
|
180
|
+
property :update_time, as: 'updateTime'
|
|
181
|
+
property :version_id, :numeric_string => true, as: 'versionId'
|
|
182
|
+
end
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
class EventTrigger
|
|
186
|
+
# @private
|
|
187
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
188
|
+
property :event_type, as: 'eventType'
|
|
189
|
+
property :failure_policy, as: 'failurePolicy', class: Google::Apis::CloudfunctionsV1::FailurePolicy, decorator: Google::Apis::CloudfunctionsV1::FailurePolicy::Representation
|
|
190
|
+
|
|
191
|
+
property :resource, as: 'resource'
|
|
192
|
+
property :service, as: 'service'
|
|
193
|
+
end
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
class FailurePolicy
|
|
197
|
+
# @private
|
|
198
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
199
|
+
property :retry, as: 'retry', class: Google::Apis::CloudfunctionsV1::Retry, decorator: Google::Apis::CloudfunctionsV1::Retry::Representation
|
|
200
|
+
|
|
201
|
+
end
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
class GenerateDownloadUrlRequest
|
|
205
|
+
# @private
|
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
207
|
+
property :version_id, :numeric_string => true, as: 'versionId'
|
|
208
|
+
end
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
class GenerateDownloadUrlResponse
|
|
212
|
+
# @private
|
|
213
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
214
|
+
property :download_url, as: 'downloadUrl'
|
|
215
|
+
end
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
class GenerateUploadUrlRequest
|
|
219
|
+
# @private
|
|
220
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
221
|
+
end
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
class GenerateUploadUrlResponse
|
|
225
|
+
# @private
|
|
226
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
227
|
+
property :upload_url, as: 'uploadUrl'
|
|
228
|
+
end
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
class HttpsTrigger
|
|
232
|
+
# @private
|
|
233
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
234
|
+
property :url, as: 'url'
|
|
235
|
+
end
|
|
236
|
+
end
|
|
237
|
+
|
|
238
|
+
class ListFunctionsResponse
|
|
239
|
+
# @private
|
|
240
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
241
|
+
collection :functions, as: 'functions', class: Google::Apis::CloudfunctionsV1::CloudFunction, decorator: Google::Apis::CloudfunctionsV1::CloudFunction::Representation
|
|
242
|
+
|
|
243
|
+
property :next_page_token, as: 'nextPageToken'
|
|
244
|
+
end
|
|
245
|
+
end
|
|
246
|
+
|
|
61
247
|
class ListLocationsResponse
|
|
62
248
|
# @private
|
|
63
249
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -98,6 +284,16 @@ module Google
|
|
|
98
284
|
end
|
|
99
285
|
end
|
|
100
286
|
|
|
287
|
+
class OperationMetadataV1
|
|
288
|
+
# @private
|
|
289
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
290
|
+
hash :request, as: 'request'
|
|
291
|
+
property :target, as: 'target'
|
|
292
|
+
property :type, as: 'type'
|
|
293
|
+
property :version_id, :numeric_string => true, as: 'versionId'
|
|
294
|
+
end
|
|
295
|
+
end
|
|
296
|
+
|
|
101
297
|
class OperationMetadataV1Beta2
|
|
102
298
|
# @private
|
|
103
299
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -108,6 +304,20 @@ module Google
|
|
|
108
304
|
end
|
|
109
305
|
end
|
|
110
306
|
|
|
307
|
+
class Retry
|
|
308
|
+
# @private
|
|
309
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
310
|
+
end
|
|
311
|
+
end
|
|
312
|
+
|
|
313
|
+
class SourceRepository
|
|
314
|
+
# @private
|
|
315
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
316
|
+
property :deployed_url, as: 'deployedUrl'
|
|
317
|
+
property :url, as: 'url'
|
|
318
|
+
end
|
|
319
|
+
end
|
|
320
|
+
|
|
111
321
|
class Status
|
|
112
322
|
# @private
|
|
113
323
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -165,6 +165,294 @@ module Google
|
|
|
165
165
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
166
166
|
execute_or_queue_command(command, &block)
|
|
167
167
|
end
|
|
168
|
+
|
|
169
|
+
# Invokes synchronously deployed function. To be used for testing, very
|
|
170
|
+
# limited traffic allowed.
|
|
171
|
+
# @param [String] name
|
|
172
|
+
# The name of the function to be called.
|
|
173
|
+
# @param [Google::Apis::CloudfunctionsV1::CallFunctionRequest] call_function_request_object
|
|
174
|
+
# @param [String] fields
|
|
175
|
+
# Selector specifying which fields to include in a partial response.
|
|
176
|
+
# @param [String] quota_user
|
|
177
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
178
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
179
|
+
# @param [Google::Apis::RequestOptions] options
|
|
180
|
+
# Request-specific options
|
|
181
|
+
#
|
|
182
|
+
# @yield [result, err] Result & error if block supplied
|
|
183
|
+
# @yieldparam result [Google::Apis::CloudfunctionsV1::CallFunctionResponse] parsed result object
|
|
184
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
185
|
+
#
|
|
186
|
+
# @return [Google::Apis::CloudfunctionsV1::CallFunctionResponse]
|
|
187
|
+
#
|
|
188
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
189
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
190
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
191
|
+
def call_function(name, call_function_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
192
|
+
command = make_simple_command(:post, 'v1/{+name}:call', options)
|
|
193
|
+
command.request_representation = Google::Apis::CloudfunctionsV1::CallFunctionRequest::Representation
|
|
194
|
+
command.request_object = call_function_request_object
|
|
195
|
+
command.response_representation = Google::Apis::CloudfunctionsV1::CallFunctionResponse::Representation
|
|
196
|
+
command.response_class = Google::Apis::CloudfunctionsV1::CallFunctionResponse
|
|
197
|
+
command.params['name'] = name unless name.nil?
|
|
198
|
+
command.query['fields'] = fields unless fields.nil?
|
|
199
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
200
|
+
execute_or_queue_command(command, &block)
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
# Creates a new function. If a function with the given name already exists in
|
|
204
|
+
# the specified project, the long running operation will return
|
|
205
|
+
# `ALREADY_EXISTS` error.
|
|
206
|
+
# @param [String] location
|
|
207
|
+
# The project and location in which the function should be created, specified
|
|
208
|
+
# in the format `projects/*/locations/*`
|
|
209
|
+
# @param [Google::Apis::CloudfunctionsV1::CloudFunction] cloud_function_object
|
|
210
|
+
# @param [String] fields
|
|
211
|
+
# Selector specifying which fields to include in a partial response.
|
|
212
|
+
# @param [String] quota_user
|
|
213
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
214
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
215
|
+
# @param [Google::Apis::RequestOptions] options
|
|
216
|
+
# Request-specific options
|
|
217
|
+
#
|
|
218
|
+
# @yield [result, err] Result & error if block supplied
|
|
219
|
+
# @yieldparam result [Google::Apis::CloudfunctionsV1::Operation] parsed result object
|
|
220
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
221
|
+
#
|
|
222
|
+
# @return [Google::Apis::CloudfunctionsV1::Operation]
|
|
223
|
+
#
|
|
224
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
225
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
226
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
227
|
+
def create_project_location_function(location, cloud_function_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
228
|
+
command = make_simple_command(:post, 'v1/{+location}/functions', options)
|
|
229
|
+
command.request_representation = Google::Apis::CloudfunctionsV1::CloudFunction::Representation
|
|
230
|
+
command.request_object = cloud_function_object
|
|
231
|
+
command.response_representation = Google::Apis::CloudfunctionsV1::Operation::Representation
|
|
232
|
+
command.response_class = Google::Apis::CloudfunctionsV1::Operation
|
|
233
|
+
command.params['location'] = location unless location.nil?
|
|
234
|
+
command.query['fields'] = fields unless fields.nil?
|
|
235
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
236
|
+
execute_or_queue_command(command, &block)
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
# Deletes a function with the given name from the specified project. If the
|
|
240
|
+
# given function is used by some trigger, the trigger will be updated to
|
|
241
|
+
# remove this function.
|
|
242
|
+
# @param [String] name
|
|
243
|
+
# The name of the function which should be deleted.
|
|
244
|
+
# @param [String] fields
|
|
245
|
+
# Selector specifying which fields to include in a partial response.
|
|
246
|
+
# @param [String] quota_user
|
|
247
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
248
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
249
|
+
# @param [Google::Apis::RequestOptions] options
|
|
250
|
+
# Request-specific options
|
|
251
|
+
#
|
|
252
|
+
# @yield [result, err] Result & error if block supplied
|
|
253
|
+
# @yieldparam result [Google::Apis::CloudfunctionsV1::Operation] parsed result object
|
|
254
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
255
|
+
#
|
|
256
|
+
# @return [Google::Apis::CloudfunctionsV1::Operation]
|
|
257
|
+
#
|
|
258
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
259
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
260
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
261
|
+
def delete_project_location_function(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
262
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
263
|
+
command.response_representation = Google::Apis::CloudfunctionsV1::Operation::Representation
|
|
264
|
+
command.response_class = Google::Apis::CloudfunctionsV1::Operation
|
|
265
|
+
command.params['name'] = name unless name.nil?
|
|
266
|
+
command.query['fields'] = fields unless fields.nil?
|
|
267
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
268
|
+
execute_or_queue_command(command, &block)
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
# Returns a signed URL for downloading deployed function source code.
|
|
272
|
+
# The URL is only valid for a limited period and should be used within
|
|
273
|
+
# minutes after generation.
|
|
274
|
+
# For more information about the signed URL usage see:
|
|
275
|
+
# https://cloud.google.com/storage/docs/access-control/signed-urls
|
|
276
|
+
# @param [String] name
|
|
277
|
+
# The name of function for which source code Google Cloud Storage signed
|
|
278
|
+
# URL should be generated.
|
|
279
|
+
# @param [Google::Apis::CloudfunctionsV1::GenerateDownloadUrlRequest] generate_download_url_request_object
|
|
280
|
+
# @param [String] fields
|
|
281
|
+
# Selector specifying which fields to include in a partial response.
|
|
282
|
+
# @param [String] quota_user
|
|
283
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
284
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
285
|
+
# @param [Google::Apis::RequestOptions] options
|
|
286
|
+
# Request-specific options
|
|
287
|
+
#
|
|
288
|
+
# @yield [result, err] Result & error if block supplied
|
|
289
|
+
# @yieldparam result [Google::Apis::CloudfunctionsV1::GenerateDownloadUrlResponse] parsed result object
|
|
290
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
291
|
+
#
|
|
292
|
+
# @return [Google::Apis::CloudfunctionsV1::GenerateDownloadUrlResponse]
|
|
293
|
+
#
|
|
294
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
295
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
296
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
297
|
+
def generate_function_download_url(name, generate_download_url_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
298
|
+
command = make_simple_command(:post, 'v1/{+name}:generateDownloadUrl', options)
|
|
299
|
+
command.request_representation = Google::Apis::CloudfunctionsV1::GenerateDownloadUrlRequest::Representation
|
|
300
|
+
command.request_object = generate_download_url_request_object
|
|
301
|
+
command.response_representation = Google::Apis::CloudfunctionsV1::GenerateDownloadUrlResponse::Representation
|
|
302
|
+
command.response_class = Google::Apis::CloudfunctionsV1::GenerateDownloadUrlResponse
|
|
303
|
+
command.params['name'] = name unless name.nil?
|
|
304
|
+
command.query['fields'] = fields unless fields.nil?
|
|
305
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
306
|
+
execute_or_queue_command(command, &block)
|
|
307
|
+
end
|
|
308
|
+
|
|
309
|
+
# Returns a signed URL for uploading a function source code.
|
|
310
|
+
# For more information about the signed URL usage see:
|
|
311
|
+
# https://cloud.google.com/storage/docs/access-control/signed-urls
|
|
312
|
+
# Once the function source code upload is complete, the used signed
|
|
313
|
+
# URL should be provided in CreateFunction or UpdateFunction request
|
|
314
|
+
# as a reference to the function source code.
|
|
315
|
+
# @param [String] parent
|
|
316
|
+
# The project and location in which the Google Cloud Storage signed URL
|
|
317
|
+
# should be generated, specified in the format `projects/*/locations/*
|
|
318
|
+
# @param [Google::Apis::CloudfunctionsV1::GenerateUploadUrlRequest] generate_upload_url_request_object
|
|
319
|
+
# @param [String] fields
|
|
320
|
+
# Selector specifying which fields to include in a partial response.
|
|
321
|
+
# @param [String] quota_user
|
|
322
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
323
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
324
|
+
# @param [Google::Apis::RequestOptions] options
|
|
325
|
+
# Request-specific options
|
|
326
|
+
#
|
|
327
|
+
# @yield [result, err] Result & error if block supplied
|
|
328
|
+
# @yieldparam result [Google::Apis::CloudfunctionsV1::GenerateUploadUrlResponse] parsed result object
|
|
329
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
330
|
+
#
|
|
331
|
+
# @return [Google::Apis::CloudfunctionsV1::GenerateUploadUrlResponse]
|
|
332
|
+
#
|
|
333
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
334
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
335
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
336
|
+
def generate_function_upload_url(parent, generate_upload_url_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
337
|
+
command = make_simple_command(:post, 'v1/{+parent}/functions:generateUploadUrl', options)
|
|
338
|
+
command.request_representation = Google::Apis::CloudfunctionsV1::GenerateUploadUrlRequest::Representation
|
|
339
|
+
command.request_object = generate_upload_url_request_object
|
|
340
|
+
command.response_representation = Google::Apis::CloudfunctionsV1::GenerateUploadUrlResponse::Representation
|
|
341
|
+
command.response_class = Google::Apis::CloudfunctionsV1::GenerateUploadUrlResponse
|
|
342
|
+
command.params['parent'] = parent unless parent.nil?
|
|
343
|
+
command.query['fields'] = fields unless fields.nil?
|
|
344
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
345
|
+
execute_or_queue_command(command, &block)
|
|
346
|
+
end
|
|
347
|
+
|
|
348
|
+
# Returns a function with the given name from the requested project.
|
|
349
|
+
# @param [String] name
|
|
350
|
+
# The name of the function which details should be obtained.
|
|
351
|
+
# @param [String] fields
|
|
352
|
+
# Selector specifying which fields to include in a partial response.
|
|
353
|
+
# @param [String] quota_user
|
|
354
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
355
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
356
|
+
# @param [Google::Apis::RequestOptions] options
|
|
357
|
+
# Request-specific options
|
|
358
|
+
#
|
|
359
|
+
# @yield [result, err] Result & error if block supplied
|
|
360
|
+
# @yieldparam result [Google::Apis::CloudfunctionsV1::CloudFunction] parsed result object
|
|
361
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
362
|
+
#
|
|
363
|
+
# @return [Google::Apis::CloudfunctionsV1::CloudFunction]
|
|
364
|
+
#
|
|
365
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
366
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
367
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
368
|
+
def get_project_location_function(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
369
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
370
|
+
command.response_representation = Google::Apis::CloudfunctionsV1::CloudFunction::Representation
|
|
371
|
+
command.response_class = Google::Apis::CloudfunctionsV1::CloudFunction
|
|
372
|
+
command.params['name'] = name unless name.nil?
|
|
373
|
+
command.query['fields'] = fields unless fields.nil?
|
|
374
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
375
|
+
execute_or_queue_command(command, &block)
|
|
376
|
+
end
|
|
377
|
+
|
|
378
|
+
# Returns a list of functions that belong to the requested project.
|
|
379
|
+
# @param [String] parent
|
|
380
|
+
# The project and location from which the function should be listed,
|
|
381
|
+
# specified in the format `projects/*/locations/*`
|
|
382
|
+
# If you want to list functions in all locations, use "-" in place of a
|
|
383
|
+
# location.
|
|
384
|
+
# @param [Fixnum] page_size
|
|
385
|
+
# Maximum number of functions to return per call.
|
|
386
|
+
# @param [String] page_token
|
|
387
|
+
# The value returned by the last
|
|
388
|
+
# `ListFunctionsResponse`; indicates that
|
|
389
|
+
# this is a continuation of a prior `ListFunctions` call, and that the
|
|
390
|
+
# system should return the next page of data.
|
|
391
|
+
# @param [String] fields
|
|
392
|
+
# Selector specifying which fields to include in a partial response.
|
|
393
|
+
# @param [String] quota_user
|
|
394
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
395
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
396
|
+
# @param [Google::Apis::RequestOptions] options
|
|
397
|
+
# Request-specific options
|
|
398
|
+
#
|
|
399
|
+
# @yield [result, err] Result & error if block supplied
|
|
400
|
+
# @yieldparam result [Google::Apis::CloudfunctionsV1::ListFunctionsResponse] parsed result object
|
|
401
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
402
|
+
#
|
|
403
|
+
# @return [Google::Apis::CloudfunctionsV1::ListFunctionsResponse]
|
|
404
|
+
#
|
|
405
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
406
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
407
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
408
|
+
def list_project_location_functions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
409
|
+
command = make_simple_command(:get, 'v1/{+parent}/functions', options)
|
|
410
|
+
command.response_representation = Google::Apis::CloudfunctionsV1::ListFunctionsResponse::Representation
|
|
411
|
+
command.response_class = Google::Apis::CloudfunctionsV1::ListFunctionsResponse
|
|
412
|
+
command.params['parent'] = parent unless parent.nil?
|
|
413
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
414
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
415
|
+
command.query['fields'] = fields unless fields.nil?
|
|
416
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
417
|
+
execute_or_queue_command(command, &block)
|
|
418
|
+
end
|
|
419
|
+
|
|
420
|
+
# Updates existing function.
|
|
421
|
+
# @param [String] name
|
|
422
|
+
# A user-defined name of the function. Function names must be unique
|
|
423
|
+
# globally and match pattern `projects/*/locations/*/functions/*`
|
|
424
|
+
# @param [Google::Apis::CloudfunctionsV1::CloudFunction] cloud_function_object
|
|
425
|
+
# @param [String] update_mask
|
|
426
|
+
# Required list of fields to be updated in this request.
|
|
427
|
+
# @param [String] fields
|
|
428
|
+
# Selector specifying which fields to include in a partial response.
|
|
429
|
+
# @param [String] quota_user
|
|
430
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
431
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
432
|
+
# @param [Google::Apis::RequestOptions] options
|
|
433
|
+
# Request-specific options
|
|
434
|
+
#
|
|
435
|
+
# @yield [result, err] Result & error if block supplied
|
|
436
|
+
# @yieldparam result [Google::Apis::CloudfunctionsV1::Operation] parsed result object
|
|
437
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
438
|
+
#
|
|
439
|
+
# @return [Google::Apis::CloudfunctionsV1::Operation]
|
|
440
|
+
#
|
|
441
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
442
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
443
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
444
|
+
def patch_project_location_function(name, cloud_function_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
445
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
446
|
+
command.request_representation = Google::Apis::CloudfunctionsV1::CloudFunction::Representation
|
|
447
|
+
command.request_object = cloud_function_object
|
|
448
|
+
command.response_representation = Google::Apis::CloudfunctionsV1::Operation::Representation
|
|
449
|
+
command.response_class = Google::Apis::CloudfunctionsV1::Operation
|
|
450
|
+
command.params['name'] = name unless name.nil?
|
|
451
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
452
|
+
command.query['fields'] = fields unless fields.nil?
|
|
453
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
454
|
+
execute_or_queue_command(command, &block)
|
|
455
|
+
end
|
|
168
456
|
|
|
169
457
|
protected
|
|
170
458
|
|