google-api-client 0.42.1 → 0.42.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 +76 -0
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +3 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +6 -12
- data/generated/google/apis/apigee_v1/representations.rb +1 -2
- data/generated/google/apis/apigee_v1/service.rb +18 -5
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +6 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +6 -2
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +198 -3
- data/generated/google/apis/bigquery_v2/representations.rb +70 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +355 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +140 -159
- data/generated/google/apis/books_v1/service.rb +47 -49
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +19 -0
- data/generated/google/apis/chat_v1/representations.rb +13 -0
- data/generated/google/apis/chat_v1/service.rb +39 -0
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +22 -0
- data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
- data/generated/google/apis/{cloudfunctions_v1beta2.rb → cloudasset_v1p5beta1.rb} +9 -9
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1537 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +0 -45
- data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -17
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +11 -0
- data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +11 -0
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +6 -0
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +6 -0
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +14 -10
- data/generated/google/apis/customsearch_v1/service.rb +6 -6
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +380 -569
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +2 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
- data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +148 -35
- data/generated/google/apis/dialogflow_v2/representations.rb +15 -0
- data/generated/google/apis/dialogflow_v2/service.rb +4 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +164 -36
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +15 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +8 -0
- data/generated/google/apis/displayvideo_v1.rb +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1666 -1726
- data/generated/google/apis/displayvideo_v1/representations.rb +264 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1173 -926
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
- data/generated/google/apis/doubleclicksearch_v2/service.rb +3 -4
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +245 -393
- data/generated/google/apis/fcm_v1/service.rb +5 -6
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +10 -16
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +9 -0
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +2 -2
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +1 -1
- data/generated/google/apis/games_v1/service.rb +2 -2
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +2 -2
- data/generated/google/apis/gmail_v1/service.rb +2 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +4 -1
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +2 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +5 -4
- data/generated/google/apis/monitoring_v3/service.rb +5 -4
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +75 -0
- data/generated/google/apis/osconfig_v1/representations.rb +35 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +75 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +243 -397
- data/generated/google/apis/people_v1/service.rb +156 -384
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +0 -73
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +0 -32
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +0 -477
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +21 -0
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +397 -0
- data/generated/google/apis/redis_v1/representations.rb +139 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +397 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +835 -1248
- data/generated/google/apis/run_v1/service.rb +195 -245
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
- data/generated/google/apis/run_v1alpha1/service.rb +321 -377
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +209 -276
- data/generated/google/apis/run_v1beta1/service.rb +16 -18
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +0 -73
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +0 -32
- data/generated/google/apis/sasportal_v1alpha1/service.rb +0 -477
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +2 -2
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +7 -7
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
- data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
- data/generated/google/apis/sql_v1beta4/service.rb +2 -2
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +63 -0
- data/generated/google/apis/testing_v1/representations.rb +32 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +9 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +498 -498
- data/generated/google/apis/webfonts_v1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +637 -761
- data/generated/google/apis/youtube_partner_v1/service.rb +511 -651
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +6 -0
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/generated/google/apis/youtube_v3/service.rb +32 -32
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -7
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -848
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +0 -346
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
|
@@ -52,18 +52,17 @@ module Google
|
|
|
52
52
|
# @param [String] continue
|
|
53
53
|
# Optional encoded string to continue paging.
|
|
54
54
|
# @param [String] field_selector
|
|
55
|
-
# Allows to filter resources based on a specific value for a field name.
|
|
56
|
-
#
|
|
57
|
-
#
|
|
55
|
+
# Allows to filter resources based on a specific value for a field name. Send
|
|
56
|
+
# this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
|
|
57
|
+
# used by Cloud Run.
|
|
58
58
|
# @param [Boolean] include_uninitialized
|
|
59
59
|
# Not currently used by Cloud Run.
|
|
60
60
|
# @param [String] label_selector
|
|
61
|
-
# Allows to filter resources based on a label. Supported operations are
|
|
62
|
-
#
|
|
61
|
+
# Allows to filter resources based on a label. Supported operations are =, !=,
|
|
62
|
+
# exists, in, and notIn.
|
|
63
63
|
# @param [Fixnum] limit
|
|
64
64
|
# @param [String] parent
|
|
65
|
-
# The project ID or project number from which the storages should
|
|
66
|
-
# be listed.
|
|
65
|
+
# The project ID or project number from which the storages should be listed.
|
|
67
66
|
# @param [String] resource_version
|
|
68
67
|
# The baseline resource version from which the list or watch operation should
|
|
69
68
|
# start. Not currently used by Cloud Run.
|
|
@@ -106,8 +105,8 @@ module Google
|
|
|
106
105
|
|
|
107
106
|
# Rpc to get information about a CustomResourceDefinition.
|
|
108
107
|
# @param [String] name
|
|
109
|
-
# The name of the CustomResourceDefinition being retrieved. If needed,
|
|
110
|
-
#
|
|
108
|
+
# The name of the CustomResourceDefinition being retrieved. If needed, replace `
|
|
109
|
+
# namespace_id` with the project ID.
|
|
111
110
|
# @param [String] fields
|
|
112
111
|
# Selector specifying which fields to include in a partial response.
|
|
113
112
|
# @param [String] quota_user
|
|
@@ -137,8 +136,8 @@ module Google
|
|
|
137
136
|
|
|
138
137
|
# Rpc to get information about a CustomResourceDefinition.
|
|
139
138
|
# @param [String] name
|
|
140
|
-
# The name of the CustomResourceDefinition being retrieved. If needed,
|
|
141
|
-
#
|
|
139
|
+
# The name of the CustomResourceDefinition being retrieved. If needed, replace `
|
|
140
|
+
# namespace_id` with the project ID.
|
|
142
141
|
# @param [String] fields
|
|
143
142
|
# Selector specifying which fields to include in a partial response.
|
|
144
143
|
# @param [String] quota_user
|
|
@@ -168,19 +167,18 @@ module Google
|
|
|
168
167
|
|
|
169
168
|
# Rpc to list custom resource definitions.
|
|
170
169
|
# @param [String] parent
|
|
171
|
-
# The project ID or project number from which the storages should
|
|
172
|
-
# be listed.
|
|
170
|
+
# The project ID or project number from which the storages should be listed.
|
|
173
171
|
# @param [String] continue
|
|
174
172
|
# Optional encoded string to continue paging.
|
|
175
173
|
# @param [String] field_selector
|
|
176
|
-
# Allows to filter resources based on a specific value for a field name.
|
|
177
|
-
#
|
|
178
|
-
#
|
|
174
|
+
# Allows to filter resources based on a specific value for a field name. Send
|
|
175
|
+
# this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
|
|
176
|
+
# used by Cloud Run.
|
|
179
177
|
# @param [Boolean] include_uninitialized
|
|
180
178
|
# Not currently used by Cloud Run.
|
|
181
179
|
# @param [String] label_selector
|
|
182
|
-
# Allows to filter resources based on a label. Supported operations are
|
|
183
|
-
#
|
|
180
|
+
# Allows to filter resources based on a label. Supported operations are =, !=,
|
|
181
|
+
# exists, in, and notIn.
|
|
184
182
|
# @param [Fixnum] limit
|
|
185
183
|
# @param [String] resource_version
|
|
186
184
|
# The baseline resource version from which the list or watch operation should
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/spectrum-access-system/
|
|
26
26
|
module SasportalV1alpha1
|
|
27
27
|
VERSION = 'V1alpha1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200722'
|
|
29
29
|
|
|
30
30
|
# View your email address
|
|
31
31
|
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
|
|
@@ -150,50 +150,6 @@ module Google
|
|
|
150
150
|
end
|
|
151
151
|
end
|
|
152
152
|
|
|
153
|
-
# The Deployment.
|
|
154
|
-
class SasPortalDeployment
|
|
155
|
-
include Google::Apis::Core::Hashable
|
|
156
|
-
|
|
157
|
-
# The allowed billing modes under this deployment.
|
|
158
|
-
# Corresponds to the JSON property `allowedBillingModes`
|
|
159
|
-
# @return [Array<String>]
|
|
160
|
-
attr_accessor :allowed_billing_modes
|
|
161
|
-
|
|
162
|
-
# Default billing mode for the deployment and devices under it.
|
|
163
|
-
# Corresponds to the JSON property `defaultBillingMode`
|
|
164
|
-
# @return [String]
|
|
165
|
-
attr_accessor :default_billing_mode
|
|
166
|
-
|
|
167
|
-
# The deployment's display name.
|
|
168
|
-
# Corresponds to the JSON property `displayName`
|
|
169
|
-
# @return [String]
|
|
170
|
-
attr_accessor :display_name
|
|
171
|
-
|
|
172
|
-
# Output only. Resource name.
|
|
173
|
-
# Corresponds to the JSON property `name`
|
|
174
|
-
# @return [String]
|
|
175
|
-
attr_accessor :name
|
|
176
|
-
|
|
177
|
-
# User id used by the devices belonging to this deployment. Each deployment
|
|
178
|
-
# should be associated with one unique user_id.
|
|
179
|
-
# Corresponds to the JSON property `sasUserIds`
|
|
180
|
-
# @return [Array<String>]
|
|
181
|
-
attr_accessor :sas_user_ids
|
|
182
|
-
|
|
183
|
-
def initialize(**args)
|
|
184
|
-
update!(**args)
|
|
185
|
-
end
|
|
186
|
-
|
|
187
|
-
# Update properties of this object
|
|
188
|
-
def update!(**args)
|
|
189
|
-
@allowed_billing_modes = args[:allowed_billing_modes] if args.key?(:allowed_billing_modes)
|
|
190
|
-
@default_billing_mode = args[:default_billing_mode] if args.key?(:default_billing_mode)
|
|
191
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
|
192
|
-
@name = args[:name] if args.key?(:name)
|
|
193
|
-
@sas_user_ids = args[:sas_user_ids] if args.key?(:sas_user_ids)
|
|
194
|
-
end
|
|
195
|
-
end
|
|
196
|
-
|
|
197
153
|
#
|
|
198
154
|
class SasPortalDevice
|
|
199
155
|
include Google::Apis::Core::Hashable
|
|
@@ -765,35 +721,6 @@ module Google
|
|
|
765
721
|
end
|
|
766
722
|
end
|
|
767
723
|
|
|
768
|
-
# Response for ListDeployments method.
|
|
769
|
-
class SasPortalListDeploymentsResponse
|
|
770
|
-
include Google::Apis::Core::Hashable
|
|
771
|
-
|
|
772
|
-
# The deployments that match the
|
|
773
|
-
# request.
|
|
774
|
-
# Corresponds to the JSON property `deployments`
|
|
775
|
-
# @return [Array<Google::Apis::SasportalV1alpha1::SasPortalDeployment>]
|
|
776
|
-
attr_accessor :deployments
|
|
777
|
-
|
|
778
|
-
# A pagination token returned from a previous call to
|
|
779
|
-
# ListDeployments method that indicates
|
|
780
|
-
# from where listing should continue. If the field is missing or empty, it
|
|
781
|
-
# means there is no more deployments.
|
|
782
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
783
|
-
# @return [String]
|
|
784
|
-
attr_accessor :next_page_token
|
|
785
|
-
|
|
786
|
-
def initialize(**args)
|
|
787
|
-
update!(**args)
|
|
788
|
-
end
|
|
789
|
-
|
|
790
|
-
# Update properties of this object
|
|
791
|
-
def update!(**args)
|
|
792
|
-
@deployments = args[:deployments] if args.key?(:deployments)
|
|
793
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
794
|
-
end
|
|
795
|
-
end
|
|
796
|
-
|
|
797
724
|
# Response for ListDevices method.
|
|
798
725
|
class SasPortalListDevicesResponse
|
|
799
726
|
include Google::Apis::Core::Hashable
|
|
@@ -52,12 +52,6 @@ module Google
|
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
|
53
53
|
end
|
|
54
54
|
|
|
55
|
-
class SasPortalDeployment
|
|
56
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
|
-
|
|
58
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
59
|
-
end
|
|
60
|
-
|
|
61
55
|
class SasPortalDevice
|
|
62
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
57
|
|
|
@@ -142,12 +136,6 @@ module Google
|
|
|
142
136
|
include Google::Apis::Core::JsonObjectSupport
|
|
143
137
|
end
|
|
144
138
|
|
|
145
|
-
class SasPortalListDeploymentsResponse
|
|
146
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
|
-
|
|
148
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
149
|
-
end
|
|
150
|
-
|
|
151
139
|
class SasPortalListDevicesResponse
|
|
152
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
153
141
|
|
|
@@ -278,17 +266,6 @@ module Google
|
|
|
278
266
|
end
|
|
279
267
|
end
|
|
280
268
|
|
|
281
|
-
class SasPortalDeployment
|
|
282
|
-
# @private
|
|
283
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
284
|
-
collection :allowed_billing_modes, as: 'allowedBillingModes'
|
|
285
|
-
property :default_billing_mode, as: 'defaultBillingMode'
|
|
286
|
-
property :display_name, as: 'displayName'
|
|
287
|
-
property :name, as: 'name'
|
|
288
|
-
collection :sas_user_ids, as: 'sasUserIds'
|
|
289
|
-
end
|
|
290
|
-
end
|
|
291
|
-
|
|
292
269
|
class SasPortalDevice
|
|
293
270
|
# @private
|
|
294
271
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -439,15 +416,6 @@ module Google
|
|
|
439
416
|
end
|
|
440
417
|
end
|
|
441
418
|
|
|
442
|
-
class SasPortalListDeploymentsResponse
|
|
443
|
-
# @private
|
|
444
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
445
|
-
collection :deployments, as: 'deployments', class: Google::Apis::SasportalV1alpha1::SasPortalDeployment, decorator: Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
|
|
446
|
-
|
|
447
|
-
property :next_page_token, as: 'nextPageToken'
|
|
448
|
-
end
|
|
449
|
-
end
|
|
450
|
-
|
|
451
419
|
class SasPortalListDevicesResponse
|
|
452
420
|
# @private
|
|
453
421
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -149,174 +149,6 @@ module Google
|
|
|
149
149
|
execute_or_queue_command(command, &block)
|
|
150
150
|
end
|
|
151
151
|
|
|
152
|
-
# Creates a new deployment.
|
|
153
|
-
# @param [String] parent
|
|
154
|
-
# Required. The parent resource name where the deployment is to be created.
|
|
155
|
-
# @param [Google::Apis::SasportalV1alpha1::SasPortalDeployment] sas_portal_deployment_object
|
|
156
|
-
# @param [String] fields
|
|
157
|
-
# Selector specifying which fields to include in a partial response.
|
|
158
|
-
# @param [String] quota_user
|
|
159
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
160
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
161
|
-
# @param [Google::Apis::RequestOptions] options
|
|
162
|
-
# Request-specific options
|
|
163
|
-
#
|
|
164
|
-
# @yield [result, err] Result & error if block supplied
|
|
165
|
-
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalDeployment] parsed result object
|
|
166
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
167
|
-
#
|
|
168
|
-
# @return [Google::Apis::SasportalV1alpha1::SasPortalDeployment]
|
|
169
|
-
#
|
|
170
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
171
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
172
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
173
|
-
def create_customer_deployment(parent, sas_portal_deployment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
174
|
-
command = make_simple_command(:post, 'v1alpha1/{+parent}/deployments', options)
|
|
175
|
-
command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
|
|
176
|
-
command.request_object = sas_portal_deployment_object
|
|
177
|
-
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
|
|
178
|
-
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment
|
|
179
|
-
command.params['parent'] = parent unless parent.nil?
|
|
180
|
-
command.query['fields'] = fields unless fields.nil?
|
|
181
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
182
|
-
execute_or_queue_command(command, &block)
|
|
183
|
-
end
|
|
184
|
-
|
|
185
|
-
# Deletes a deployment.
|
|
186
|
-
# @param [String] name
|
|
187
|
-
# Required. The name of the deployment.
|
|
188
|
-
# @param [String] fields
|
|
189
|
-
# Selector specifying which fields to include in a partial response.
|
|
190
|
-
# @param [String] quota_user
|
|
191
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
192
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
193
|
-
# @param [Google::Apis::RequestOptions] options
|
|
194
|
-
# Request-specific options
|
|
195
|
-
#
|
|
196
|
-
# @yield [result, err] Result & error if block supplied
|
|
197
|
-
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalEmpty] parsed result object
|
|
198
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
199
|
-
#
|
|
200
|
-
# @return [Google::Apis::SasportalV1alpha1::SasPortalEmpty]
|
|
201
|
-
#
|
|
202
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
203
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
204
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
205
|
-
def delete_customer_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
206
|
-
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
|
|
207
|
-
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalEmpty::Representation
|
|
208
|
-
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalEmpty
|
|
209
|
-
command.params['name'] = name unless name.nil?
|
|
210
|
-
command.query['fields'] = fields unless fields.nil?
|
|
211
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
212
|
-
execute_or_queue_command(command, &block)
|
|
213
|
-
end
|
|
214
|
-
|
|
215
|
-
# Returns a requested deployment.
|
|
216
|
-
# @param [String] name
|
|
217
|
-
# Required. The name of the deployment.
|
|
218
|
-
# @param [String] fields
|
|
219
|
-
# Selector specifying which fields to include in a partial response.
|
|
220
|
-
# @param [String] quota_user
|
|
221
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
222
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
223
|
-
# @param [Google::Apis::RequestOptions] options
|
|
224
|
-
# Request-specific options
|
|
225
|
-
#
|
|
226
|
-
# @yield [result, err] Result & error if block supplied
|
|
227
|
-
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalDeployment] parsed result object
|
|
228
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
229
|
-
#
|
|
230
|
-
# @return [Google::Apis::SasportalV1alpha1::SasPortalDeployment]
|
|
231
|
-
#
|
|
232
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
233
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
234
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
235
|
-
def get_customer_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
236
|
-
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
|
237
|
-
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
|
|
238
|
-
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment
|
|
239
|
-
command.params['name'] = name unless name.nil?
|
|
240
|
-
command.query['fields'] = fields unless fields.nil?
|
|
241
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
242
|
-
execute_or_queue_command(command, &block)
|
|
243
|
-
end
|
|
244
|
-
|
|
245
|
-
# Lists deployments.
|
|
246
|
-
# @param [String] parent
|
|
247
|
-
# Required. The parent resource name, for example, "nodes/1",
|
|
248
|
-
# customer/1/nodes/2.
|
|
249
|
-
# @param [Fixnum] page_size
|
|
250
|
-
# The maximum number of deployments to return in the response.
|
|
251
|
-
# @param [String] page_token
|
|
252
|
-
# A pagination token returned from a previous call to ListDeployments
|
|
253
|
-
# method that
|
|
254
|
-
# indicates where this listing should continue from.
|
|
255
|
-
# @param [String] fields
|
|
256
|
-
# Selector specifying which fields to include in a partial response.
|
|
257
|
-
# @param [String] quota_user
|
|
258
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
259
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
260
|
-
# @param [Google::Apis::RequestOptions] options
|
|
261
|
-
# Request-specific options
|
|
262
|
-
#
|
|
263
|
-
# @yield [result, err] Result & error if block supplied
|
|
264
|
-
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse] parsed result object
|
|
265
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
266
|
-
#
|
|
267
|
-
# @return [Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse]
|
|
268
|
-
#
|
|
269
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
270
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
271
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
272
|
-
def list_customer_deployments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
273
|
-
command = make_simple_command(:get, 'v1alpha1/{+parent}/deployments', options)
|
|
274
|
-
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse::Representation
|
|
275
|
-
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse
|
|
276
|
-
command.params['parent'] = parent unless parent.nil?
|
|
277
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
278
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
279
|
-
command.query['fields'] = fields unless fields.nil?
|
|
280
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
281
|
-
execute_or_queue_command(command, &block)
|
|
282
|
-
end
|
|
283
|
-
|
|
284
|
-
# Updates an existing deployment.
|
|
285
|
-
# @param [String] name
|
|
286
|
-
# Output only. Resource name.
|
|
287
|
-
# @param [Google::Apis::SasportalV1alpha1::SasPortalDeployment] sas_portal_deployment_object
|
|
288
|
-
# @param [String] update_mask
|
|
289
|
-
# Fields to be updated.
|
|
290
|
-
# @param [String] fields
|
|
291
|
-
# Selector specifying which fields to include in a partial response.
|
|
292
|
-
# @param [String] quota_user
|
|
293
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
294
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
295
|
-
# @param [Google::Apis::RequestOptions] options
|
|
296
|
-
# Request-specific options
|
|
297
|
-
#
|
|
298
|
-
# @yield [result, err] Result & error if block supplied
|
|
299
|
-
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalDeployment] parsed result object
|
|
300
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
301
|
-
#
|
|
302
|
-
# @return [Google::Apis::SasportalV1alpha1::SasPortalDeployment]
|
|
303
|
-
#
|
|
304
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
305
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
306
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
307
|
-
def patch_customer_deployment(name, sas_portal_deployment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
308
|
-
command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
|
|
309
|
-
command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
|
|
310
|
-
command.request_object = sas_portal_deployment_object
|
|
311
|
-
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
|
|
312
|
-
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment
|
|
313
|
-
command.params['name'] = name unless name.nil?
|
|
314
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
315
|
-
command.query['fields'] = fields unless fields.nil?
|
|
316
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
317
|
-
execute_or_queue_command(command, &block)
|
|
318
|
-
end
|
|
319
|
-
|
|
320
152
|
# Creates a device under a node or customer. Returned devices are unordered.
|
|
321
153
|
# @param [String] parent
|
|
322
154
|
# Required. The name of the parent resource.
|
|
@@ -856,78 +688,6 @@ module Google
|
|
|
856
688
|
execute_or_queue_command(command, &block)
|
|
857
689
|
end
|
|
858
690
|
|
|
859
|
-
# Creates a new deployment.
|
|
860
|
-
# @param [String] parent
|
|
861
|
-
# Required. The parent resource name where the deployment is to be created.
|
|
862
|
-
# @param [Google::Apis::SasportalV1alpha1::SasPortalDeployment] sas_portal_deployment_object
|
|
863
|
-
# @param [String] fields
|
|
864
|
-
# Selector specifying which fields to include in a partial response.
|
|
865
|
-
# @param [String] quota_user
|
|
866
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
867
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
868
|
-
# @param [Google::Apis::RequestOptions] options
|
|
869
|
-
# Request-specific options
|
|
870
|
-
#
|
|
871
|
-
# @yield [result, err] Result & error if block supplied
|
|
872
|
-
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalDeployment] parsed result object
|
|
873
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
874
|
-
#
|
|
875
|
-
# @return [Google::Apis::SasportalV1alpha1::SasPortalDeployment]
|
|
876
|
-
#
|
|
877
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
878
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
879
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
880
|
-
def create_customer_node_deployment(parent, sas_portal_deployment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
881
|
-
command = make_simple_command(:post, 'v1alpha1/{+parent}/deployments', options)
|
|
882
|
-
command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
|
|
883
|
-
command.request_object = sas_portal_deployment_object
|
|
884
|
-
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
|
|
885
|
-
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment
|
|
886
|
-
command.params['parent'] = parent unless parent.nil?
|
|
887
|
-
command.query['fields'] = fields unless fields.nil?
|
|
888
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
889
|
-
execute_or_queue_command(command, &block)
|
|
890
|
-
end
|
|
891
|
-
|
|
892
|
-
# Lists deployments.
|
|
893
|
-
# @param [String] parent
|
|
894
|
-
# Required. The parent resource name, for example, "nodes/1",
|
|
895
|
-
# customer/1/nodes/2.
|
|
896
|
-
# @param [Fixnum] page_size
|
|
897
|
-
# The maximum number of deployments to return in the response.
|
|
898
|
-
# @param [String] page_token
|
|
899
|
-
# A pagination token returned from a previous call to ListDeployments
|
|
900
|
-
# method that
|
|
901
|
-
# indicates where this listing should continue from.
|
|
902
|
-
# @param [String] fields
|
|
903
|
-
# Selector specifying which fields to include in a partial response.
|
|
904
|
-
# @param [String] quota_user
|
|
905
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
906
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
907
|
-
# @param [Google::Apis::RequestOptions] options
|
|
908
|
-
# Request-specific options
|
|
909
|
-
#
|
|
910
|
-
# @yield [result, err] Result & error if block supplied
|
|
911
|
-
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse] parsed result object
|
|
912
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
913
|
-
#
|
|
914
|
-
# @return [Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse]
|
|
915
|
-
#
|
|
916
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
917
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
918
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
919
|
-
def list_customer_node_deployments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
920
|
-
command = make_simple_command(:get, 'v1alpha1/{+parent}/deployments', options)
|
|
921
|
-
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse::Representation
|
|
922
|
-
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse
|
|
923
|
-
command.params['parent'] = parent unless parent.nil?
|
|
924
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
925
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
926
|
-
command.query['fields'] = fields unless fields.nil?
|
|
927
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
928
|
-
execute_or_queue_command(command, &block)
|
|
929
|
-
end
|
|
930
|
-
|
|
931
691
|
# Creates a new node.
|
|
932
692
|
# @param [String] parent
|
|
933
693
|
# Required. The parent resource name where the node is to be created.
|
|
@@ -998,36 +758,6 @@ module Google
|
|
|
998
758
|
execute_or_queue_command(command, &block)
|
|
999
759
|
end
|
|
1000
760
|
|
|
1001
|
-
# Returns a requested deployment.
|
|
1002
|
-
# @param [String] name
|
|
1003
|
-
# Required. The name of the deployment.
|
|
1004
|
-
# @param [String] fields
|
|
1005
|
-
# Selector specifying which fields to include in a partial response.
|
|
1006
|
-
# @param [String] quota_user
|
|
1007
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1008
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1009
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1010
|
-
# Request-specific options
|
|
1011
|
-
#
|
|
1012
|
-
# @yield [result, err] Result & error if block supplied
|
|
1013
|
-
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalDeployment] parsed result object
|
|
1014
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1015
|
-
#
|
|
1016
|
-
# @return [Google::Apis::SasportalV1alpha1::SasPortalDeployment]
|
|
1017
|
-
#
|
|
1018
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1019
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1020
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1021
|
-
def get_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1022
|
-
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
|
1023
|
-
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
|
|
1024
|
-
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment
|
|
1025
|
-
command.params['name'] = name unless name.nil?
|
|
1026
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1027
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1028
|
-
execute_or_queue_command(command, &block)
|
|
1029
|
-
end
|
|
1030
|
-
|
|
1031
761
|
# Generates a secret to be used with the ValidateInstaller method
|
|
1032
762
|
# @param [Google::Apis::SasportalV1alpha1::SasPortalGenerateSecretRequest] sas_portal_generate_secret_request_object
|
|
1033
763
|
# @param [String] fields
|
|
@@ -1118,141 +848,6 @@ module Google
|
|
|
1118
848
|
execute_or_queue_command(command, &block)
|
|
1119
849
|
end
|
|
1120
850
|
|
|
1121
|
-
# Deletes a deployment.
|
|
1122
|
-
# @param [String] name
|
|
1123
|
-
# Required. The name of the deployment.
|
|
1124
|
-
# @param [String] fields
|
|
1125
|
-
# Selector specifying which fields to include in a partial response.
|
|
1126
|
-
# @param [String] quota_user
|
|
1127
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1128
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1129
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1130
|
-
# Request-specific options
|
|
1131
|
-
#
|
|
1132
|
-
# @yield [result, err] Result & error if block supplied
|
|
1133
|
-
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalEmpty] parsed result object
|
|
1134
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1135
|
-
#
|
|
1136
|
-
# @return [Google::Apis::SasportalV1alpha1::SasPortalEmpty]
|
|
1137
|
-
#
|
|
1138
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1139
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1140
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1141
|
-
def delete_node_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1142
|
-
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
|
|
1143
|
-
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalEmpty::Representation
|
|
1144
|
-
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalEmpty
|
|
1145
|
-
command.params['name'] = name unless name.nil?
|
|
1146
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1147
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1148
|
-
execute_or_queue_command(command, &block)
|
|
1149
|
-
end
|
|
1150
|
-
|
|
1151
|
-
# Returns a requested deployment.
|
|
1152
|
-
# @param [String] name
|
|
1153
|
-
# Required. The name of the deployment.
|
|
1154
|
-
# @param [String] fields
|
|
1155
|
-
# Selector specifying which fields to include in a partial response.
|
|
1156
|
-
# @param [String] quota_user
|
|
1157
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1158
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1159
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1160
|
-
# Request-specific options
|
|
1161
|
-
#
|
|
1162
|
-
# @yield [result, err] Result & error if block supplied
|
|
1163
|
-
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalDeployment] parsed result object
|
|
1164
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1165
|
-
#
|
|
1166
|
-
# @return [Google::Apis::SasportalV1alpha1::SasPortalDeployment]
|
|
1167
|
-
#
|
|
1168
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1169
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1170
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1171
|
-
def get_node_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1172
|
-
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
|
1173
|
-
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
|
|
1174
|
-
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment
|
|
1175
|
-
command.params['name'] = name unless name.nil?
|
|
1176
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1177
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1178
|
-
execute_or_queue_command(command, &block)
|
|
1179
|
-
end
|
|
1180
|
-
|
|
1181
|
-
# Lists deployments.
|
|
1182
|
-
# @param [String] parent
|
|
1183
|
-
# Required. The parent resource name, for example, "nodes/1",
|
|
1184
|
-
# customer/1/nodes/2.
|
|
1185
|
-
# @param [Fixnum] page_size
|
|
1186
|
-
# The maximum number of deployments to return in the response.
|
|
1187
|
-
# @param [String] page_token
|
|
1188
|
-
# A pagination token returned from a previous call to ListDeployments
|
|
1189
|
-
# method that
|
|
1190
|
-
# indicates where this listing should continue from.
|
|
1191
|
-
# @param [String] fields
|
|
1192
|
-
# Selector specifying which fields to include in a partial response.
|
|
1193
|
-
# @param [String] quota_user
|
|
1194
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1195
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1196
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1197
|
-
# Request-specific options
|
|
1198
|
-
#
|
|
1199
|
-
# @yield [result, err] Result & error if block supplied
|
|
1200
|
-
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse] parsed result object
|
|
1201
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1202
|
-
#
|
|
1203
|
-
# @return [Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse]
|
|
1204
|
-
#
|
|
1205
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1206
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1207
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1208
|
-
def list_node_deployments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1209
|
-
command = make_simple_command(:get, 'v1alpha1/{+parent}/deployments', options)
|
|
1210
|
-
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse::Representation
|
|
1211
|
-
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse
|
|
1212
|
-
command.params['parent'] = parent unless parent.nil?
|
|
1213
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1214
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1215
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1216
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1217
|
-
execute_or_queue_command(command, &block)
|
|
1218
|
-
end
|
|
1219
|
-
|
|
1220
|
-
# Updates an existing deployment.
|
|
1221
|
-
# @param [String] name
|
|
1222
|
-
# Output only. Resource name.
|
|
1223
|
-
# @param [Google::Apis::SasportalV1alpha1::SasPortalDeployment] sas_portal_deployment_object
|
|
1224
|
-
# @param [String] update_mask
|
|
1225
|
-
# Fields to be updated.
|
|
1226
|
-
# @param [String] fields
|
|
1227
|
-
# Selector specifying which fields to include in a partial response.
|
|
1228
|
-
# @param [String] quota_user
|
|
1229
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1230
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1231
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1232
|
-
# Request-specific options
|
|
1233
|
-
#
|
|
1234
|
-
# @yield [result, err] Result & error if block supplied
|
|
1235
|
-
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalDeployment] parsed result object
|
|
1236
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1237
|
-
#
|
|
1238
|
-
# @return [Google::Apis::SasportalV1alpha1::SasPortalDeployment]
|
|
1239
|
-
#
|
|
1240
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1241
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1242
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1243
|
-
def patch_node_deployment(name, sas_portal_deployment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1244
|
-
command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
|
|
1245
|
-
command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
|
|
1246
|
-
command.request_object = sas_portal_deployment_object
|
|
1247
|
-
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
|
|
1248
|
-
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment
|
|
1249
|
-
command.params['name'] = name unless name.nil?
|
|
1250
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
1251
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1252
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1253
|
-
execute_or_queue_command(command, &block)
|
|
1254
|
-
end
|
|
1255
|
-
|
|
1256
851
|
# Creates a device under a node or customer. Returned devices are unordered.
|
|
1257
852
|
# @param [String] parent
|
|
1258
853
|
# Required. The name of the parent resource.
|
|
@@ -1792,78 +1387,6 @@ module Google
|
|
|
1792
1387
|
execute_or_queue_command(command, &block)
|
|
1793
1388
|
end
|
|
1794
1389
|
|
|
1795
|
-
# Creates a new deployment.
|
|
1796
|
-
# @param [String] parent
|
|
1797
|
-
# Required. The parent resource name where the deployment is to be created.
|
|
1798
|
-
# @param [Google::Apis::SasportalV1alpha1::SasPortalDeployment] sas_portal_deployment_object
|
|
1799
|
-
# @param [String] fields
|
|
1800
|
-
# Selector specifying which fields to include in a partial response.
|
|
1801
|
-
# @param [String] quota_user
|
|
1802
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1803
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1804
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1805
|
-
# Request-specific options
|
|
1806
|
-
#
|
|
1807
|
-
# @yield [result, err] Result & error if block supplied
|
|
1808
|
-
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalDeployment] parsed result object
|
|
1809
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1810
|
-
#
|
|
1811
|
-
# @return [Google::Apis::SasportalV1alpha1::SasPortalDeployment]
|
|
1812
|
-
#
|
|
1813
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1814
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1815
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1816
|
-
def create_node_node_deployment(parent, sas_portal_deployment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1817
|
-
command = make_simple_command(:post, 'v1alpha1/{+parent}/deployments', options)
|
|
1818
|
-
command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
|
|
1819
|
-
command.request_object = sas_portal_deployment_object
|
|
1820
|
-
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
|
|
1821
|
-
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalDeployment
|
|
1822
|
-
command.params['parent'] = parent unless parent.nil?
|
|
1823
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1824
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1825
|
-
execute_or_queue_command(command, &block)
|
|
1826
|
-
end
|
|
1827
|
-
|
|
1828
|
-
# Lists deployments.
|
|
1829
|
-
# @param [String] parent
|
|
1830
|
-
# Required. The parent resource name, for example, "nodes/1",
|
|
1831
|
-
# customer/1/nodes/2.
|
|
1832
|
-
# @param [Fixnum] page_size
|
|
1833
|
-
# The maximum number of deployments to return in the response.
|
|
1834
|
-
# @param [String] page_token
|
|
1835
|
-
# A pagination token returned from a previous call to ListDeployments
|
|
1836
|
-
# method that
|
|
1837
|
-
# indicates where this listing should continue from.
|
|
1838
|
-
# @param [String] fields
|
|
1839
|
-
# Selector specifying which fields to include in a partial response.
|
|
1840
|
-
# @param [String] quota_user
|
|
1841
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1842
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1843
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1844
|
-
# Request-specific options
|
|
1845
|
-
#
|
|
1846
|
-
# @yield [result, err] Result & error if block supplied
|
|
1847
|
-
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse] parsed result object
|
|
1848
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1849
|
-
#
|
|
1850
|
-
# @return [Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse]
|
|
1851
|
-
#
|
|
1852
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1853
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1854
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1855
|
-
def list_node_node_deployments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1856
|
-
command = make_simple_command(:get, 'v1alpha1/{+parent}/deployments', options)
|
|
1857
|
-
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse::Representation
|
|
1858
|
-
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListDeploymentsResponse
|
|
1859
|
-
command.params['parent'] = parent unless parent.nil?
|
|
1860
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1861
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1862
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1863
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1864
|
-
execute_or_queue_command(command, &block)
|
|
1865
|
-
end
|
|
1866
|
-
|
|
1867
1390
|
# Creates a device under a node or customer. Returned devices are unordered.
|
|
1868
1391
|
# @param [String] parent
|
|
1869
1392
|
# Required. The name of the parent resource.
|