google-api-client 0.39.4 → 0.39.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (192) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +65 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
  5. data/generated/google/apis/apigee_v1.rb +1 -1
  6. data/generated/google/apis/apigee_v1/classes.rb +7 -0
  7. data/generated/google/apis/apigee_v1/representations.rb +1 -0
  8. data/generated/google/apis/apigee_v1/service.rb +9 -1
  9. data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
  10. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1010 -0
  11. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +380 -0
  12. data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
  13. data/generated/google/apis/bigquery_v2.rb +1 -1
  14. data/generated/google/apis/bigquery_v2/classes.rb +12 -1
  15. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  16. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  17. data/generated/google/apis/bigqueryreservation_v1/service.rb +8 -8
  18. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  19. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +18 -14
  20. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
  21. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  22. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
  23. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
  24. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  25. data/generated/google/apis/binaryauthorization_v1/classes.rb +4 -1
  26. data/generated/google/apis/calendar_v3.rb +1 -1
  27. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  28. data/generated/google/apis/cloudasset_v1.rb +1 -1
  29. data/generated/google/apis/cloudasset_v1/classes.rb +371 -27
  30. data/generated/google/apis/cloudasset_v1/representations.rb +97 -0
  31. data/generated/google/apis/cloudasset_v1/service.rb +186 -8
  32. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  33. data/generated/google/apis/cloudasset_v1beta1/classes.rb +23 -10
  34. data/generated/google/apis/cloudasset_v1beta1/service.rb +12 -3
  35. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  36. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +42 -10
  37. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
  38. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  39. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  40. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -0
  41. data/generated/google/apis/cloudbuild_v1/service.rb +121 -0
  42. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  43. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +142 -0
  44. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +60 -0
  45. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
  46. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  47. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +142 -0
  48. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +60 -0
  49. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
  50. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  51. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
  52. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  53. data/generated/google/apis/container_v1beta1.rb +1 -1
  54. data/generated/google/apis/container_v1beta1/classes.rb +35 -0
  55. data/generated/google/apis/container_v1beta1/representations.rb +17 -0
  56. data/generated/google/apis/content_v2_1.rb +1 -1
  57. data/generated/google/apis/content_v2_1/classes.rb +6 -0
  58. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  59. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  60. data/generated/google/apis/dataproc_v1beta2/classes.rb +26 -12
  61. data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
  62. data/generated/google/apis/datastore_v1.rb +1 -1
  63. data/generated/google/apis/datastore_v1/classes.rb +1 -1
  64. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  65. data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
  66. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  67. data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
  68. data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
  69. data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
  70. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  71. data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
  72. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
  73. data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
  74. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  75. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
  76. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
  77. data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
  78. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  79. data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
  80. data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
  81. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  82. data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
  83. data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
  84. data/generated/google/apis/dialogflow_v2.rb +1 -1
  85. data/generated/google/apis/dialogflow_v2/classes.rb +3 -0
  86. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  87. data/generated/google/apis/dialogflow_v2beta1/classes.rb +3 -0
  88. data/generated/google/apis/dialogflow_v2beta1/service.rb +2 -2
  89. data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
  90. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5022 -0
  91. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2057 -0
  92. data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
  93. data/generated/google/apis/displayvideo_v1.rb +1 -1
  94. data/generated/google/apis/displayvideo_v1/service.rb +7 -2
  95. data/generated/google/apis/dlp_v2.rb +1 -1
  96. data/generated/google/apis/dlp_v2/classes.rb +9 -21
  97. data/generated/google/apis/dlp_v2/service.rb +79 -142
  98. data/generated/google/apis/dns_v1.rb +1 -1
  99. data/generated/google/apis/dns_v1/classes.rb +160 -261
  100. data/generated/google/apis/dns_v1/representations.rb +17 -0
  101. data/generated/google/apis/dns_v1/service.rb +21 -141
  102. data/generated/google/apis/dns_v1beta2.rb +1 -1
  103. data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
  104. data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
  105. data/generated/google/apis/dns_v1beta2/service.rb +21 -141
  106. data/generated/google/apis/dns_v2beta1.rb +1 -1
  107. data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
  108. data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
  109. data/generated/google/apis/dns_v2beta1/service.rb +21 -141
  110. data/generated/google/apis/file_v1.rb +1 -1
  111. data/generated/google/apis/file_v1/classes.rb +31 -0
  112. data/generated/google/apis/file_v1/representations.rb +15 -0
  113. data/generated/google/apis/file_v1beta1.rb +1 -1
  114. data/generated/google/apis/file_v1beta1/classes.rb +31 -0
  115. data/generated/google/apis/file_v1beta1/representations.rb +15 -0
  116. data/generated/google/apis/{pagespeedonline_v1.rb → firebaseml_v1.rb} +11 -9
  117. data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
  118. data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
  119. data/generated/google/apis/firebaseml_v1/service.rb +181 -0
  120. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  121. data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
  122. data/generated/google/apis/games_management_v1management.rb +1 -1
  123. data/generated/google/apis/games_management_v1management/service.rb +1 -1
  124. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  125. data/generated/google/apis/iamcredentials_v1/classes.rb +26 -2
  126. data/generated/google/apis/networkmanagement_v1.rb +35 -0
  127. data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
  128. data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
  129. data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
  130. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  131. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  132. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  133. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  134. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  135. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  136. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  137. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  138. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  139. data/generated/google/apis/securitycenter_v1.rb +1 -1
  140. data/generated/google/apis/securitycenter_v1/classes.rb +27 -12
  141. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  142. data/generated/google/apis/securitycenter_v1beta1/classes.rb +27 -12
  143. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  144. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +27 -12
  145. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  146. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -31
  147. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -1
  148. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  149. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +0 -31
  150. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -1
  151. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  152. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -31
  153. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  154. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  155. data/generated/google/apis/servicenetworking_v1/classes.rb +379 -31
  156. data/generated/google/apis/servicenetworking_v1/representations.rb +209 -1
  157. data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
  158. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  159. data/generated/google/apis/servicenetworking_v1beta/classes.rb +188 -31
  160. data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -1
  161. data/generated/google/apis/serviceusage_v1.rb +1 -1
  162. data/generated/google/apis/serviceusage_v1/classes.rb +0 -31
  163. data/generated/google/apis/serviceusage_v1/representations.rb +0 -1
  164. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  165. data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -31
  166. data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -1
  167. data/generated/google/apis/tasks_v1.rb +3 -3
  168. data/generated/google/apis/tasks_v1/classes.rb +26 -25
  169. data/generated/google/apis/tasks_v1/representations.rb +4 -8
  170. data/generated/google/apis/tasks_v1/service.rb +79 -128
  171. data/generated/google/apis/translate_v3.rb +1 -1
  172. data/generated/google/apis/verifiedaccess_v1.rb +3 -3
  173. data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
  174. data/generated/google/apis/websecurityscanner_v1.rb +2 -2
  175. data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
  176. data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
  177. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  178. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
  179. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  180. data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
  181. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
  182. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  183. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  184. data/generated/google/apis/youtube_v3.rb +5 -5
  185. data/generated/google/apis/youtube_v3/classes.rb +1260 -1244
  186. data/generated/google/apis/youtube_v3/representations.rb +64 -192
  187. data/generated/google/apis/youtube_v3/service.rb +1833 -2125
  188. data/lib/google/apis/version.rb +1 -1
  189. metadata +19 -7
  190. data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
  191. data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
  192. data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
@@ -118,7 +118,7 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
- class DeploymentOutputsEntry
121
+ class DeploymentOutputEntry
122
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
123
 
124
124
  include Google::Apis::Core::JsonObjectSupport
@@ -202,6 +202,12 @@ module Google
202
202
  include Google::Apis::Core::JsonObjectSupport
203
203
  end
204
204
 
205
+ class LogConfigCounterOptionsCustomField
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
205
211
  class LogConfigDataAccessOptions
206
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
213
 
@@ -459,6 +465,7 @@ module Google
459
465
  # @private
460
466
  class Representation < Google::Apis::Core::JsonRepresentation
461
467
  collection :exempted_members, as: 'exemptedMembers'
468
+ property :ignore_child_exemptions, as: 'ignoreChildExemptions'
462
469
  property :log_type, as: 'logType'
463
470
  end
464
471
  end
@@ -541,7 +548,6 @@ module Google
541
548
  property :op, as: 'op'
542
549
  property :svc, as: 'svc'
543
550
  property :sys, as: 'sys'
544
- property :value, as: 'value'
545
551
  collection :values, as: 'values'
546
552
  end
547
553
  end
@@ -592,7 +598,7 @@ module Google
592
598
  property :name, as: 'name'
593
599
  property :operation, as: 'operation', class: Google::Apis::DeploymentmanagerAlpha::Operation, decorator: Google::Apis::DeploymentmanagerAlpha::Operation::Representation
594
600
 
595
- collection :outputs, as: 'outputs', class: Google::Apis::DeploymentmanagerAlpha::DeploymentOutputsEntry, decorator: Google::Apis::DeploymentmanagerAlpha::DeploymentOutputsEntry::Representation
601
+ collection :outputs, as: 'outputs', class: Google::Apis::DeploymentmanagerAlpha::DeploymentOutputEntry, decorator: Google::Apis::DeploymentmanagerAlpha::DeploymentOutputEntry::Representation
596
602
 
597
603
  property :self_link, as: 'selfLink'
598
604
  property :target, as: 'target', class: Google::Apis::DeploymentmanagerAlpha::TargetConfiguration, decorator: Google::Apis::DeploymentmanagerAlpha::TargetConfiguration::Representation
@@ -611,7 +617,7 @@ module Google
611
617
  end
612
618
  end
613
619
 
614
- class DeploymentOutputsEntry
620
+ class DeploymentOutputEntry
615
621
  # @private
616
622
  class Representation < Google::Apis::Core::JsonRepresentation
617
623
  property :key, as: 'key'
@@ -733,11 +739,21 @@ module Google
733
739
  class LogConfigCounterOptions
734
740
  # @private
735
741
  class Representation < Google::Apis::Core::JsonRepresentation
742
+ collection :custom_fields, as: 'customFields', class: Google::Apis::DeploymentmanagerAlpha::LogConfigCounterOptionsCustomField, decorator: Google::Apis::DeploymentmanagerAlpha::LogConfigCounterOptionsCustomField::Representation
743
+
736
744
  property :field, as: 'field'
737
745
  property :metric, as: 'metric'
738
746
  end
739
747
  end
740
748
 
749
+ class LogConfigCounterOptionsCustomField
750
+ # @private
751
+ class Representation < Google::Apis::Core::JsonRepresentation
752
+ property :name, as: 'name'
753
+ property :value, as: 'value'
754
+ end
755
+ end
756
+
741
757
  class LogConfigDataAccessOptions
742
758
  # @private
743
759
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -800,6 +816,7 @@ module Google
800
816
  property :progress, as: 'progress'
801
817
  property :region, as: 'region'
802
818
  property :self_link, as: 'selfLink'
819
+ property :self_link_with_id, as: 'selfLinkWithId'
803
820
  property :start_time, as: 'startTime'
804
821
  property :status, as: 'status'
805
822
  property :status_message, as: 'statusMessage'
@@ -1121,6 +1138,7 @@ module Google
1121
1138
 
1122
1139
  property :credential, as: 'credential', class: Google::Apis::DeploymentmanagerAlpha::Credential, decorator: Google::Apis::DeploymentmanagerAlpha::Credential::Representation
1123
1140
 
1141
+ collection :custom_certificate_authority_roots, as: 'customCertificateAuthorityRoots'
1124
1142
  property :description, as: 'description'
1125
1143
  property :descriptor_url, as: 'descriptorUrl'
1126
1144
  property :id, :numeric_string => true, as: 'id'
@@ -167,36 +167,39 @@ module Google
167
167
  # A filter expression that filters resources listed in the response. The
168
168
  # expression must specify the field name, a comparison operator, and the value
169
169
  # that you want to use for filtering. The value must be a string, a number, or a
170
- # boolean. The comparison operator must be either =, !=, >, or <.
170
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
171
171
  # For example, if you are filtering Compute Engine instances, you can exclude
172
- # instances named example-instance by specifying name != example-instance.
173
- # You can also filter nested fields. For example, you could specify scheduling.
174
- # automaticRestart = false to include instances only if they are not scheduled
172
+ # instances named `example-instance` by specifying `name != example-instance`.
173
+ # You can also filter nested fields. For example, you could specify `scheduling.
174
+ # automaticRestart = false` to include instances only if they are not scheduled
175
175
  # for automatic restarts. You can use filtering on nested fields to filter based
176
176
  # on resource labels.
177
177
  # To filter on multiple expressions, provide each separate expression within
178
- # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
179
- # Intel Skylake"). By default, each expression is an AND expression. However,
180
- # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
181
- # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
182
- # automaticRestart = true).
178
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
179
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
180
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
181
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
182
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
183
183
  # @param [Fixnum] max_results
184
184
  # The maximum number of results per page that should be returned. If the number
185
- # of available results is larger than maxResults, Compute Engine returns a
186
- # nextPageToken that can be used to get the next page of results in subsequent
187
- # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
185
+ # of available results is larger than `maxResults`, Compute Engine returns a `
186
+ # nextPageToken` that can be used to get the next page of results in subsequent
187
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
188
188
  # @param [String] order_by
189
189
  # Sorts list results by a certain order. By default, results are returned in
190
190
  # alphanumerical order based on the resource name.
191
191
  # You can also sort results in descending order based on the creation timestamp
192
- # using orderBy="creationTimestamp desc". This sorts results based on the
193
- # creationTimestamp field in reverse chronological order (newest result first).
192
+ # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
193
+ # creationTimestamp` field in reverse chronological order (newest result first).
194
194
  # Use this to sort resources like operations so that the newest operation is
195
195
  # returned first.
196
- # Currently, only sorting by name or creationTimestamp desc is supported.
196
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
197
197
  # @param [String] page_token
198
- # Specifies a page token to use. Set pageToken to the nextPageToken returned by
199
- # a previous list request to get the next page of results.
198
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
199
+ # by a previous list request to get the next page of results.
200
+ # @param [Boolean] return_partial_success
201
+ # Opt-in for partial success behavior which provides partial results in case of
202
+ # failure. The default value is false and the logic is the same as today.
200
203
  # @param [String] fields
201
204
  # Selector specifying which fields to include in a partial response.
202
205
  # @param [String] quota_user
@@ -216,7 +219,7 @@ module Google
216
219
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
217
220
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
218
221
  # @raise [Google::Apis::AuthorizationError] Authorization is required
219
- def list_composite_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
222
+ def list_composite_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
220
223
  command = make_simple_command(:get, '{project}/global/compositeTypes', options)
221
224
  command.response_representation = Google::Apis::DeploymentmanagerAlpha::CompositeTypesListResponse::Representation
222
225
  command.response_class = Google::Apis::DeploymentmanagerAlpha::CompositeTypesListResponse
@@ -225,13 +228,14 @@ module Google
225
228
  command.query['maxResults'] = max_results unless max_results.nil?
226
229
  command.query['orderBy'] = order_by unless order_by.nil?
227
230
  command.query['pageToken'] = page_token unless page_token.nil?
231
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
228
232
  command.query['fields'] = fields unless fields.nil?
229
233
  command.query['quotaUser'] = quota_user unless quota_user.nil?
230
234
  command.query['userIp'] = user_ip unless user_ip.nil?
231
235
  execute_or_queue_command(command, &block)
232
236
  end
233
237
 
234
- # Updates a composite type. This method supports patch semantics.
238
+ # Patches a composite type.
235
239
  # @param [String] project
236
240
  # The project ID for this request.
237
241
  # @param [String] composite_type
@@ -429,6 +433,8 @@ module Google
429
433
  # Project ID for this request.
430
434
  # @param [String] resource
431
435
  # Name or id of the resource for this request.
436
+ # @param [Fixnum] options_requested_policy_version
437
+ # Requested IAM Policy version.
432
438
  # @param [String] fields
433
439
  # Selector specifying which fields to include in a partial response.
434
440
  # @param [String] quota_user
@@ -448,12 +454,13 @@ module Google
448
454
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
449
455
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
450
456
  # @raise [Google::Apis::AuthorizationError] Authorization is required
451
- def get_deployment_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
457
+ def get_deployment_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
452
458
  command = make_simple_command(:get, '{project}/global/deployments/{resource}/getIamPolicy', options)
453
459
  command.response_representation = Google::Apis::DeploymentmanagerAlpha::Policy::Representation
454
460
  command.response_class = Google::Apis::DeploymentmanagerAlpha::Policy
455
461
  command.params['project'] = project unless project.nil?
456
462
  command.params['resource'] = resource unless resource.nil?
463
+ command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
457
464
  command.query['fields'] = fields unless fields.nil?
458
465
  command.query['quotaUser'] = quota_user unless quota_user.nil?
459
466
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -471,8 +478,8 @@ module Google
471
478
  # If set to true, creates a deployment and creates "shell" resources but does
472
479
  # not actually instantiate these resources. This allows you to preview what your
473
480
  # deployment looks like. After previewing a deployment, you can deploy your
474
- # resources by making a request with the update() method or you can use the
475
- # cancelPreview() method to cancel the preview altogether. Note that the
481
+ # resources by making a request with the `update()` method or you can use the `
482
+ # cancelPreview()` method to cancel the preview altogether. Note that the
476
483
  # deployment will still exist after you cancel the preview and you must
477
484
  # separately delete this deployment if you want to remove it.
478
485
  # @param [String] fields
@@ -516,36 +523,39 @@ module Google
516
523
  # A filter expression that filters resources listed in the response. The
517
524
  # expression must specify the field name, a comparison operator, and the value
518
525
  # that you want to use for filtering. The value must be a string, a number, or a
519
- # boolean. The comparison operator must be either =, !=, >, or <.
526
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
520
527
  # For example, if you are filtering Compute Engine instances, you can exclude
521
- # instances named example-instance by specifying name != example-instance.
522
- # You can also filter nested fields. For example, you could specify scheduling.
523
- # automaticRestart = false to include instances only if they are not scheduled
528
+ # instances named `example-instance` by specifying `name != example-instance`.
529
+ # You can also filter nested fields. For example, you could specify `scheduling.
530
+ # automaticRestart = false` to include instances only if they are not scheduled
524
531
  # for automatic restarts. You can use filtering on nested fields to filter based
525
532
  # on resource labels.
526
533
  # To filter on multiple expressions, provide each separate expression within
527
- # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
528
- # Intel Skylake"). By default, each expression is an AND expression. However,
529
- # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
530
- # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
531
- # automaticRestart = true).
534
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
535
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
536
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
537
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
538
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
532
539
  # @param [Fixnum] max_results
533
540
  # The maximum number of results per page that should be returned. If the number
534
- # of available results is larger than maxResults, Compute Engine returns a
535
- # nextPageToken that can be used to get the next page of results in subsequent
536
- # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
541
+ # of available results is larger than `maxResults`, Compute Engine returns a `
542
+ # nextPageToken` that can be used to get the next page of results in subsequent
543
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
537
544
  # @param [String] order_by
538
545
  # Sorts list results by a certain order. By default, results are returned in
539
546
  # alphanumerical order based on the resource name.
540
547
  # You can also sort results in descending order based on the creation timestamp
541
- # using orderBy="creationTimestamp desc". This sorts results based on the
542
- # creationTimestamp field in reverse chronological order (newest result first).
548
+ # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
549
+ # creationTimestamp` field in reverse chronological order (newest result first).
543
550
  # Use this to sort resources like operations so that the newest operation is
544
551
  # returned first.
545
- # Currently, only sorting by name or creationTimestamp desc is supported.
552
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
546
553
  # @param [String] page_token
547
- # Specifies a page token to use. Set pageToken to the nextPageToken returned by
548
- # a previous list request to get the next page of results.
554
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
555
+ # by a previous list request to get the next page of results.
556
+ # @param [Boolean] return_partial_success
557
+ # Opt-in for partial success behavior which provides partial results in case of
558
+ # failure. The default value is false and the logic is the same as today.
549
559
  # @param [String] fields
550
560
  # Selector specifying which fields to include in a partial response.
551
561
  # @param [String] quota_user
@@ -565,7 +575,7 @@ module Google
565
575
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
566
576
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
567
577
  # @raise [Google::Apis::AuthorizationError] Authorization is required
568
- def list_deployments(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
578
+ def list_deployments(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
569
579
  command = make_simple_command(:get, '{project}/global/deployments', options)
570
580
  command.response_representation = Google::Apis::DeploymentmanagerAlpha::DeploymentsListResponse::Representation
571
581
  command.response_class = Google::Apis::DeploymentmanagerAlpha::DeploymentsListResponse
@@ -574,14 +584,15 @@ module Google
574
584
  command.query['maxResults'] = max_results unless max_results.nil?
575
585
  command.query['orderBy'] = order_by unless order_by.nil?
576
586
  command.query['pageToken'] = page_token unless page_token.nil?
587
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
577
588
  command.query['fields'] = fields unless fields.nil?
578
589
  command.query['quotaUser'] = quota_user unless quota_user.nil?
579
590
  command.query['userIp'] = user_ip unless user_ip.nil?
580
591
  execute_or_queue_command(command, &block)
581
592
  end
582
593
 
583
- # Updates a deployment and all of the resources described by the deployment
584
- # manifest. This method supports patch semantics.
594
+ # Patches a deployment and all of the resources described by the deployment
595
+ # manifest.
585
596
  # @param [String] project
586
597
  # The project ID for this request.
587
598
  # @param [String] deployment
@@ -596,11 +607,12 @@ module Google
596
607
  # resources but does not actually alter or instantiate these resources. This
597
608
  # allows you to preview what your deployment will look like. You can use this
598
609
  # intent to preview how an update would affect your deployment. You must provide
599
- # a target.config with a configuration if this is set to true. After previewing
600
- # a deployment, you can deploy your resources by making a request with the
601
- # update() or you can cancelPreview() to remove the preview altogether. Note
602
- # that the deployment will still exist after you cancel the preview and you must
603
- # separately delete this deployment if you want to remove it.
610
+ # a `target.config` with a configuration if this is set to true. After
611
+ # previewing a deployment, you can deploy your resources by making a request
612
+ # with the `update()` or you can `cancelPreview()` to remove the preview
613
+ # altogether. Note that the deployment will still exist after you cancel the
614
+ # preview and you must separately delete this deployment if you want to remove
615
+ # it.
604
616
  # @param [String] fields
605
617
  # Selector specifying which fields to include in a partial response.
606
618
  # @param [String] quota_user
@@ -772,11 +784,12 @@ module Google
772
784
  # resources but does not actually alter or instantiate these resources. This
773
785
  # allows you to preview what your deployment will look like. You can use this
774
786
  # intent to preview how an update would affect your deployment. You must provide
775
- # a target.config with a configuration if this is set to true. After previewing
776
- # a deployment, you can deploy your resources by making a request with the
777
- # update() or you can cancelPreview() to remove the preview altogether. Note
778
- # that the deployment will still exist after you cancel the preview and you must
779
- # separately delete this deployment if you want to remove it.
787
+ # a `target.config` with a configuration if this is set to true. After
788
+ # previewing a deployment, you can deploy your resources by making a request
789
+ # with the `update()` or you can `cancelPreview()` to remove the preview
790
+ # altogether. Note that the deployment will still exist after you cancel the
791
+ # preview and you must separately delete this deployment if you want to remove
792
+ # it.
780
793
  # @param [String] fields
781
794
  # Selector specifying which fields to include in a partial response.
782
795
  # @param [String] quota_user
@@ -861,36 +874,39 @@ module Google
861
874
  # A filter expression that filters resources listed in the response. The
862
875
  # expression must specify the field name, a comparison operator, and the value
863
876
  # that you want to use for filtering. The value must be a string, a number, or a
864
- # boolean. The comparison operator must be either =, !=, >, or <.
877
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
865
878
  # For example, if you are filtering Compute Engine instances, you can exclude
866
- # instances named example-instance by specifying name != example-instance.
867
- # You can also filter nested fields. For example, you could specify scheduling.
868
- # automaticRestart = false to include instances only if they are not scheduled
879
+ # instances named `example-instance` by specifying `name != example-instance`.
880
+ # You can also filter nested fields. For example, you could specify `scheduling.
881
+ # automaticRestart = false` to include instances only if they are not scheduled
869
882
  # for automatic restarts. You can use filtering on nested fields to filter based
870
883
  # on resource labels.
871
884
  # To filter on multiple expressions, provide each separate expression within
872
- # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
873
- # Intel Skylake"). By default, each expression is an AND expression. However,
874
- # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
875
- # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
876
- # automaticRestart = true).
885
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
886
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
887
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
888
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
889
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
877
890
  # @param [Fixnum] max_results
878
891
  # The maximum number of results per page that should be returned. If the number
879
- # of available results is larger than maxResults, Compute Engine returns a
880
- # nextPageToken that can be used to get the next page of results in subsequent
881
- # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
892
+ # of available results is larger than `maxResults`, Compute Engine returns a `
893
+ # nextPageToken` that can be used to get the next page of results in subsequent
894
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
882
895
  # @param [String] order_by
883
896
  # Sorts list results by a certain order. By default, results are returned in
884
897
  # alphanumerical order based on the resource name.
885
898
  # You can also sort results in descending order based on the creation timestamp
886
- # using orderBy="creationTimestamp desc". This sorts results based on the
887
- # creationTimestamp field in reverse chronological order (newest result first).
899
+ # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
900
+ # creationTimestamp` field in reverse chronological order (newest result first).
888
901
  # Use this to sort resources like operations so that the newest operation is
889
902
  # returned first.
890
- # Currently, only sorting by name or creationTimestamp desc is supported.
903
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
891
904
  # @param [String] page_token
892
- # Specifies a page token to use. Set pageToken to the nextPageToken returned by
893
- # a previous list request to get the next page of results.
905
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
906
+ # by a previous list request to get the next page of results.
907
+ # @param [Boolean] return_partial_success
908
+ # Opt-in for partial success behavior which provides partial results in case of
909
+ # failure. The default value is false and the logic is the same as today.
894
910
  # @param [String] fields
895
911
  # Selector specifying which fields to include in a partial response.
896
912
  # @param [String] quota_user
@@ -910,7 +926,7 @@ module Google
910
926
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
911
927
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
912
928
  # @raise [Google::Apis::AuthorizationError] Authorization is required
913
- def list_manifests(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
929
+ def list_manifests(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
914
930
  command = make_simple_command(:get, '{project}/global/deployments/{deployment}/manifests', options)
915
931
  command.response_representation = Google::Apis::DeploymentmanagerAlpha::ManifestsListResponse::Representation
916
932
  command.response_class = Google::Apis::DeploymentmanagerAlpha::ManifestsListResponse
@@ -920,6 +936,7 @@ module Google
920
936
  command.query['maxResults'] = max_results unless max_results.nil?
921
937
  command.query['orderBy'] = order_by unless order_by.nil?
922
938
  command.query['pageToken'] = page_token unless page_token.nil?
939
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
923
940
  command.query['fields'] = fields unless fields.nil?
924
941
  command.query['quotaUser'] = quota_user unless quota_user.nil?
925
942
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -969,36 +986,39 @@ module Google
969
986
  # A filter expression that filters resources listed in the response. The
970
987
  # expression must specify the field name, a comparison operator, and the value
971
988
  # that you want to use for filtering. The value must be a string, a number, or a
972
- # boolean. The comparison operator must be either =, !=, >, or <.
989
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
973
990
  # For example, if you are filtering Compute Engine instances, you can exclude
974
- # instances named example-instance by specifying name != example-instance.
975
- # You can also filter nested fields. For example, you could specify scheduling.
976
- # automaticRestart = false to include instances only if they are not scheduled
991
+ # instances named `example-instance` by specifying `name != example-instance`.
992
+ # You can also filter nested fields. For example, you could specify `scheduling.
993
+ # automaticRestart = false` to include instances only if they are not scheduled
977
994
  # for automatic restarts. You can use filtering on nested fields to filter based
978
995
  # on resource labels.
979
996
  # To filter on multiple expressions, provide each separate expression within
980
- # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
981
- # Intel Skylake"). By default, each expression is an AND expression. However,
982
- # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
983
- # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
984
- # automaticRestart = true).
997
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
998
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
999
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
1000
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
1001
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
985
1002
  # @param [Fixnum] max_results
986
1003
  # The maximum number of results per page that should be returned. If the number
987
- # of available results is larger than maxResults, Compute Engine returns a
988
- # nextPageToken that can be used to get the next page of results in subsequent
989
- # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
1004
+ # of available results is larger than `maxResults`, Compute Engine returns a `
1005
+ # nextPageToken` that can be used to get the next page of results in subsequent
1006
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
990
1007
  # @param [String] order_by
991
1008
  # Sorts list results by a certain order. By default, results are returned in
992
1009
  # alphanumerical order based on the resource name.
993
1010
  # You can also sort results in descending order based on the creation timestamp
994
- # using orderBy="creationTimestamp desc". This sorts results based on the
995
- # creationTimestamp field in reverse chronological order (newest result first).
1011
+ # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
1012
+ # creationTimestamp` field in reverse chronological order (newest result first).
996
1013
  # Use this to sort resources like operations so that the newest operation is
997
1014
  # returned first.
998
- # Currently, only sorting by name or creationTimestamp desc is supported.
1015
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
999
1016
  # @param [String] page_token
1000
- # Specifies a page token to use. Set pageToken to the nextPageToken returned by
1001
- # a previous list request to get the next page of results.
1017
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
1018
+ # by a previous list request to get the next page of results.
1019
+ # @param [Boolean] return_partial_success
1020
+ # Opt-in for partial success behavior which provides partial results in case of
1021
+ # failure. The default value is false and the logic is the same as today.
1002
1022
  # @param [String] fields
1003
1023
  # Selector specifying which fields to include in a partial response.
1004
1024
  # @param [String] quota_user
@@ -1018,7 +1038,7 @@ module Google
1018
1038
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1019
1039
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1020
1040
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1021
- def list_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1041
+ def list_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1022
1042
  command = make_simple_command(:get, '{project}/global/operations', options)
1023
1043
  command.response_representation = Google::Apis::DeploymentmanagerAlpha::OperationsListResponse::Representation
1024
1044
  command.response_class = Google::Apis::DeploymentmanagerAlpha::OperationsListResponse
@@ -1027,6 +1047,7 @@ module Google
1027
1047
  command.query['maxResults'] = max_results unless max_results.nil?
1028
1048
  command.query['orderBy'] = order_by unless order_by.nil?
1029
1049
  command.query['pageToken'] = page_token unless page_token.nil?
1050
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
1030
1051
  command.query['fields'] = fields unless fields.nil?
1031
1052
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1032
1053
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -1081,36 +1102,39 @@ module Google
1081
1102
  # A filter expression that filters resources listed in the response. The
1082
1103
  # expression must specify the field name, a comparison operator, and the value
1083
1104
  # that you want to use for filtering. The value must be a string, a number, or a
1084
- # boolean. The comparison operator must be either =, !=, >, or <.
1105
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
1085
1106
  # For example, if you are filtering Compute Engine instances, you can exclude
1086
- # instances named example-instance by specifying name != example-instance.
1087
- # You can also filter nested fields. For example, you could specify scheduling.
1088
- # automaticRestart = false to include instances only if they are not scheduled
1107
+ # instances named `example-instance` by specifying `name != example-instance`.
1108
+ # You can also filter nested fields. For example, you could specify `scheduling.
1109
+ # automaticRestart = false` to include instances only if they are not scheduled
1089
1110
  # for automatic restarts. You can use filtering on nested fields to filter based
1090
1111
  # on resource labels.
1091
1112
  # To filter on multiple expressions, provide each separate expression within
1092
- # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
1093
- # Intel Skylake"). By default, each expression is an AND expression. However,
1094
- # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
1095
- # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
1096
- # automaticRestart = true).
1113
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
1114
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
1115
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
1116
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
1117
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
1097
1118
  # @param [Fixnum] max_results
1098
1119
  # The maximum number of results per page that should be returned. If the number
1099
- # of available results is larger than maxResults, Compute Engine returns a
1100
- # nextPageToken that can be used to get the next page of results in subsequent
1101
- # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
1120
+ # of available results is larger than `maxResults`, Compute Engine returns a `
1121
+ # nextPageToken` that can be used to get the next page of results in subsequent
1122
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
1102
1123
  # @param [String] order_by
1103
1124
  # Sorts list results by a certain order. By default, results are returned in
1104
1125
  # alphanumerical order based on the resource name.
1105
1126
  # You can also sort results in descending order based on the creation timestamp
1106
- # using orderBy="creationTimestamp desc". This sorts results based on the
1107
- # creationTimestamp field in reverse chronological order (newest result first).
1127
+ # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
1128
+ # creationTimestamp` field in reverse chronological order (newest result first).
1108
1129
  # Use this to sort resources like operations so that the newest operation is
1109
1130
  # returned first.
1110
- # Currently, only sorting by name or creationTimestamp desc is supported.
1131
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
1111
1132
  # @param [String] page_token
1112
- # Specifies a page token to use. Set pageToken to the nextPageToken returned by
1113
- # a previous list request to get the next page of results.
1133
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
1134
+ # by a previous list request to get the next page of results.
1135
+ # @param [Boolean] return_partial_success
1136
+ # Opt-in for partial success behavior which provides partial results in case of
1137
+ # failure. The default value is false and the logic is the same as today.
1114
1138
  # @param [String] fields
1115
1139
  # Selector specifying which fields to include in a partial response.
1116
1140
  # @param [String] quota_user
@@ -1130,7 +1154,7 @@ module Google
1130
1154
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1131
1155
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1132
1156
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1133
- def list_resources(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1157
+ def list_resources(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1134
1158
  command = make_simple_command(:get, '{project}/global/deployments/{deployment}/resources', options)
1135
1159
  command.response_representation = Google::Apis::DeploymentmanagerAlpha::ResourcesListResponse::Representation
1136
1160
  command.response_class = Google::Apis::DeploymentmanagerAlpha::ResourcesListResponse
@@ -1140,6 +1164,7 @@ module Google
1140
1164
  command.query['maxResults'] = max_results unless max_results.nil?
1141
1165
  command.query['orderBy'] = order_by unless order_by.nil?
1142
1166
  command.query['pageToken'] = page_token unless page_token.nil?
1167
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
1143
1168
  command.query['fields'] = fields unless fields.nil?
1144
1169
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1145
1170
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -1300,36 +1325,39 @@ module Google
1300
1325
  # A filter expression that filters resources listed in the response. The
1301
1326
  # expression must specify the field name, a comparison operator, and the value
1302
1327
  # that you want to use for filtering. The value must be a string, a number, or a
1303
- # boolean. The comparison operator must be either =, !=, >, or <.
1328
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
1304
1329
  # For example, if you are filtering Compute Engine instances, you can exclude
1305
- # instances named example-instance by specifying name != example-instance.
1306
- # You can also filter nested fields. For example, you could specify scheduling.
1307
- # automaticRestart = false to include instances only if they are not scheduled
1330
+ # instances named `example-instance` by specifying `name != example-instance`.
1331
+ # You can also filter nested fields. For example, you could specify `scheduling.
1332
+ # automaticRestart = false` to include instances only if they are not scheduled
1308
1333
  # for automatic restarts. You can use filtering on nested fields to filter based
1309
1334
  # on resource labels.
1310
1335
  # To filter on multiple expressions, provide each separate expression within
1311
- # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
1312
- # Intel Skylake"). By default, each expression is an AND expression. However,
1313
- # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
1314
- # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
1315
- # automaticRestart = true).
1336
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
1337
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
1338
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
1339
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
1340
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
1316
1341
  # @param [Fixnum] max_results
1317
1342
  # The maximum number of results per page that should be returned. If the number
1318
- # of available results is larger than maxResults, Compute Engine returns a
1319
- # nextPageToken that can be used to get the next page of results in subsequent
1320
- # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
1343
+ # of available results is larger than `maxResults`, Compute Engine returns a `
1344
+ # nextPageToken` that can be used to get the next page of results in subsequent
1345
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
1321
1346
  # @param [String] order_by
1322
1347
  # Sorts list results by a certain order. By default, results are returned in
1323
1348
  # alphanumerical order based on the resource name.
1324
1349
  # You can also sort results in descending order based on the creation timestamp
1325
- # using orderBy="creationTimestamp desc". This sorts results based on the
1326
- # creationTimestamp field in reverse chronological order (newest result first).
1350
+ # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
1351
+ # creationTimestamp` field in reverse chronological order (newest result first).
1327
1352
  # Use this to sort resources like operations so that the newest operation is
1328
1353
  # returned first.
1329
- # Currently, only sorting by name or creationTimestamp desc is supported.
1354
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
1330
1355
  # @param [String] page_token
1331
- # Specifies a page token to use. Set pageToken to the nextPageToken returned by
1332
- # a previous list request to get the next page of results.
1356
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
1357
+ # by a previous list request to get the next page of results.
1358
+ # @param [Boolean] return_partial_success
1359
+ # Opt-in for partial success behavior which provides partial results in case of
1360
+ # failure. The default value is false and the logic is the same as today.
1333
1361
  # @param [String] fields
1334
1362
  # Selector specifying which fields to include in a partial response.
1335
1363
  # @param [String] quota_user
@@ -1349,7 +1377,7 @@ module Google
1349
1377
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1350
1378
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1351
1379
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1352
- def list_type_providers(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1380
+ def list_type_providers(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1353
1381
  command = make_simple_command(:get, '{project}/global/typeProviders', options)
1354
1382
  command.response_representation = Google::Apis::DeploymentmanagerAlpha::TypeProvidersListResponse::Representation
1355
1383
  command.response_class = Google::Apis::DeploymentmanagerAlpha::TypeProvidersListResponse
@@ -1358,6 +1386,7 @@ module Google
1358
1386
  command.query['maxResults'] = max_results unless max_results.nil?
1359
1387
  command.query['orderBy'] = order_by unless order_by.nil?
1360
1388
  command.query['pageToken'] = page_token unless page_token.nil?
1389
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
1361
1390
  command.query['fields'] = fields unless fields.nil?
1362
1391
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1363
1392
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -1373,36 +1402,39 @@ module Google
1373
1402
  # A filter expression that filters resources listed in the response. The
1374
1403
  # expression must specify the field name, a comparison operator, and the value
1375
1404
  # that you want to use for filtering. The value must be a string, a number, or a
1376
- # boolean. The comparison operator must be either =, !=, >, or <.
1405
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
1377
1406
  # For example, if you are filtering Compute Engine instances, you can exclude
1378
- # instances named example-instance by specifying name != example-instance.
1379
- # You can also filter nested fields. For example, you could specify scheduling.
1380
- # automaticRestart = false to include instances only if they are not scheduled
1407
+ # instances named `example-instance` by specifying `name != example-instance`.
1408
+ # You can also filter nested fields. For example, you could specify `scheduling.
1409
+ # automaticRestart = false` to include instances only if they are not scheduled
1381
1410
  # for automatic restarts. You can use filtering on nested fields to filter based
1382
1411
  # on resource labels.
1383
1412
  # To filter on multiple expressions, provide each separate expression within
1384
- # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
1385
- # Intel Skylake"). By default, each expression is an AND expression. However,
1386
- # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
1387
- # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
1388
- # automaticRestart = true).
1413
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
1414
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
1415
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
1416
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
1417
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
1389
1418
  # @param [Fixnum] max_results
1390
1419
  # The maximum number of results per page that should be returned. If the number
1391
- # of available results is larger than maxResults, Compute Engine returns a
1392
- # nextPageToken that can be used to get the next page of results in subsequent
1393
- # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
1420
+ # of available results is larger than `maxResults`, Compute Engine returns a `
1421
+ # nextPageToken` that can be used to get the next page of results in subsequent
1422
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
1394
1423
  # @param [String] order_by
1395
1424
  # Sorts list results by a certain order. By default, results are returned in
1396
1425
  # alphanumerical order based on the resource name.
1397
1426
  # You can also sort results in descending order based on the creation timestamp
1398
- # using orderBy="creationTimestamp desc". This sorts results based on the
1399
- # creationTimestamp field in reverse chronological order (newest result first).
1427
+ # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
1428
+ # creationTimestamp` field in reverse chronological order (newest result first).
1400
1429
  # Use this to sort resources like operations so that the newest operation is
1401
1430
  # returned first.
1402
- # Currently, only sorting by name or creationTimestamp desc is supported.
1431
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
1403
1432
  # @param [String] page_token
1404
- # Specifies a page token to use. Set pageToken to the nextPageToken returned by
1405
- # a previous list request to get the next page of results.
1433
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
1434
+ # by a previous list request to get the next page of results.
1435
+ # @param [Boolean] return_partial_success
1436
+ # Opt-in for partial success behavior which provides partial results in case of
1437
+ # failure. The default value is false and the logic is the same as today.
1406
1438
  # @param [String] fields
1407
1439
  # Selector specifying which fields to include in a partial response.
1408
1440
  # @param [String] quota_user
@@ -1422,7 +1454,7 @@ module Google
1422
1454
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1423
1455
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1424
1456
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1425
- def list_type_provider_types(project, type_provider, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1457
+ def list_type_provider_types(project, type_provider, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1426
1458
  command = make_simple_command(:get, '{project}/global/typeProviders/{typeProvider}/types', options)
1427
1459
  command.response_representation = Google::Apis::DeploymentmanagerAlpha::TypeProvidersListTypesResponse::Representation
1428
1460
  command.response_class = Google::Apis::DeploymentmanagerAlpha::TypeProvidersListTypesResponse
@@ -1432,13 +1464,14 @@ module Google
1432
1464
  command.query['maxResults'] = max_results unless max_results.nil?
1433
1465
  command.query['orderBy'] = order_by unless order_by.nil?
1434
1466
  command.query['pageToken'] = page_token unless page_token.nil?
1467
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
1435
1468
  command.query['fields'] = fields unless fields.nil?
1436
1469
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1437
1470
  command.query['userIp'] = user_ip unless user_ip.nil?
1438
1471
  execute_or_queue_command(command, &block)
1439
1472
  end
1440
1473
 
1441
- # Updates a type provider. This method supports patch semantics.
1474
+ # Patches a type provider.
1442
1475
  # @param [String] project
1443
1476
  # The project ID for this request.
1444
1477
  # @param [String] type_provider
@@ -1516,42 +1549,6 @@ module Google
1516
1549
  execute_or_queue_command(command, &block)
1517
1550
  end
1518
1551
 
1519
- # Deletes a type and all of the resources in the type.
1520
- # @param [String] project
1521
- # The project ID for this request.
1522
- # @param [String] type
1523
- # The name of the type for this request.
1524
- # @param [String] fields
1525
- # Selector specifying which fields to include in a partial response.
1526
- # @param [String] quota_user
1527
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1528
- # characters.
1529
- # @param [String] user_ip
1530
- # Deprecated. Please use quotaUser instead.
1531
- # @param [Google::Apis::RequestOptions] options
1532
- # Request-specific options
1533
- #
1534
- # @yield [result, err] Result & error if block supplied
1535
- # @yieldparam result [Google::Apis::DeploymentmanagerAlpha::Operation] parsed result object
1536
- # @yieldparam err [StandardError] error object if request failed
1537
- #
1538
- # @return [Google::Apis::DeploymentmanagerAlpha::Operation]
1539
- #
1540
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1541
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1542
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1543
- def delete_type(project, type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1544
- command = make_simple_command(:delete, '{project}/global/types/{type}', options)
1545
- command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation
1546
- command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation
1547
- command.params['project'] = project unless project.nil?
1548
- command.params['type'] = type unless type.nil?
1549
- command.query['fields'] = fields unless fields.nil?
1550
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1551
- command.query['userIp'] = user_ip unless user_ip.nil?
1552
- execute_or_queue_command(command, &block)
1553
- end
1554
-
1555
1552
  # Gets information about a specific type.
1556
1553
  # @param [String] project
1557
1554
  # The project ID for this request.
@@ -1588,42 +1585,6 @@ module Google
1588
1585
  execute_or_queue_command(command, &block)
1589
1586
  end
1590
1587
 
1591
- # Creates a type.
1592
- # @param [String] project
1593
- # The project ID for this request.
1594
- # @param [Google::Apis::DeploymentmanagerAlpha::Type] type_object
1595
- # @param [String] fields
1596
- # Selector specifying which fields to include in a partial response.
1597
- # @param [String] quota_user
1598
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1599
- # characters.
1600
- # @param [String] user_ip
1601
- # Deprecated. Please use quotaUser instead.
1602
- # @param [Google::Apis::RequestOptions] options
1603
- # Request-specific options
1604
- #
1605
- # @yield [result, err] Result & error if block supplied
1606
- # @yieldparam result [Google::Apis::DeploymentmanagerAlpha::Operation] parsed result object
1607
- # @yieldparam err [StandardError] error object if request failed
1608
- #
1609
- # @return [Google::Apis::DeploymentmanagerAlpha::Operation]
1610
- #
1611
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1612
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1613
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1614
- def insert_type(project, type_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1615
- command = make_simple_command(:post, '{project}/global/types', options)
1616
- command.request_representation = Google::Apis::DeploymentmanagerAlpha::Type::Representation
1617
- command.request_object = type_object
1618
- command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation
1619
- command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation
1620
- command.params['project'] = project unless project.nil?
1621
- command.query['fields'] = fields unless fields.nil?
1622
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1623
- command.query['userIp'] = user_ip unless user_ip.nil?
1624
- execute_or_queue_command(command, &block)
1625
- end
1626
-
1627
1588
  # Lists all resource types for Deployment Manager.
1628
1589
  # @param [String] project
1629
1590
  # The project ID for this request.
@@ -1631,36 +1592,39 @@ module Google
1631
1592
  # A filter expression that filters resources listed in the response. The
1632
1593
  # expression must specify the field name, a comparison operator, and the value
1633
1594
  # that you want to use for filtering. The value must be a string, a number, or a
1634
- # boolean. The comparison operator must be either =, !=, >, or <.
1595
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
1635
1596
  # For example, if you are filtering Compute Engine instances, you can exclude
1636
- # instances named example-instance by specifying name != example-instance.
1637
- # You can also filter nested fields. For example, you could specify scheduling.
1638
- # automaticRestart = false to include instances only if they are not scheduled
1597
+ # instances named `example-instance` by specifying `name != example-instance`.
1598
+ # You can also filter nested fields. For example, you could specify `scheduling.
1599
+ # automaticRestart = false` to include instances only if they are not scheduled
1639
1600
  # for automatic restarts. You can use filtering on nested fields to filter based
1640
1601
  # on resource labels.
1641
1602
  # To filter on multiple expressions, provide each separate expression within
1642
- # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
1643
- # Intel Skylake"). By default, each expression is an AND expression. However,
1644
- # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
1645
- # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
1646
- # automaticRestart = true).
1603
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
1604
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
1605
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
1606
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
1607
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
1647
1608
  # @param [Fixnum] max_results
1648
1609
  # The maximum number of results per page that should be returned. If the number
1649
- # of available results is larger than maxResults, Compute Engine returns a
1650
- # nextPageToken that can be used to get the next page of results in subsequent
1651
- # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
1610
+ # of available results is larger than `maxResults`, Compute Engine returns a `
1611
+ # nextPageToken` that can be used to get the next page of results in subsequent
1612
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
1652
1613
  # @param [String] order_by
1653
1614
  # Sorts list results by a certain order. By default, results are returned in
1654
1615
  # alphanumerical order based on the resource name.
1655
1616
  # You can also sort results in descending order based on the creation timestamp
1656
- # using orderBy="creationTimestamp desc". This sorts results based on the
1657
- # creationTimestamp field in reverse chronological order (newest result first).
1617
+ # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
1618
+ # creationTimestamp` field in reverse chronological order (newest result first).
1658
1619
  # Use this to sort resources like operations so that the newest operation is
1659
1620
  # returned first.
1660
- # Currently, only sorting by name or creationTimestamp desc is supported.
1621
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
1661
1622
  # @param [String] page_token
1662
- # Specifies a page token to use. Set pageToken to the nextPageToken returned by
1663
- # a previous list request to get the next page of results.
1623
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
1624
+ # by a previous list request to get the next page of results.
1625
+ # @param [Boolean] return_partial_success
1626
+ # Opt-in for partial success behavior which provides partial results in case of
1627
+ # failure. The default value is false and the logic is the same as today.
1664
1628
  # @param [String] fields
1665
1629
  # Selector specifying which fields to include in a partial response.
1666
1630
  # @param [String] quota_user
@@ -1680,7 +1644,7 @@ module Google
1680
1644
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1681
1645
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1682
1646
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1683
- def list_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1647
+ def list_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1684
1648
  command = make_simple_command(:get, '{project}/global/types', options)
1685
1649
  command.response_representation = Google::Apis::DeploymentmanagerAlpha::TypesListResponse::Representation
1686
1650
  command.response_class = Google::Apis::DeploymentmanagerAlpha::TypesListResponse
@@ -1689,84 +1653,7 @@ module Google
1689
1653
  command.query['maxResults'] = max_results unless max_results.nil?
1690
1654
  command.query['orderBy'] = order_by unless order_by.nil?
1691
1655
  command.query['pageToken'] = page_token unless page_token.nil?
1692
- command.query['fields'] = fields unless fields.nil?
1693
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1694
- command.query['userIp'] = user_ip unless user_ip.nil?
1695
- execute_or_queue_command(command, &block)
1696
- end
1697
-
1698
- # Updates a type. This method supports patch semantics.
1699
- # @param [String] project
1700
- # The project ID for this request.
1701
- # @param [String] type
1702
- # The name of the type for this request.
1703
- # @param [Google::Apis::DeploymentmanagerAlpha::Type] type_object
1704
- # @param [String] fields
1705
- # Selector specifying which fields to include in a partial response.
1706
- # @param [String] quota_user
1707
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1708
- # characters.
1709
- # @param [String] user_ip
1710
- # Deprecated. Please use quotaUser instead.
1711
- # @param [Google::Apis::RequestOptions] options
1712
- # Request-specific options
1713
- #
1714
- # @yield [result, err] Result & error if block supplied
1715
- # @yieldparam result [Google::Apis::DeploymentmanagerAlpha::Operation] parsed result object
1716
- # @yieldparam err [StandardError] error object if request failed
1717
- #
1718
- # @return [Google::Apis::DeploymentmanagerAlpha::Operation]
1719
- #
1720
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1721
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1722
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1723
- def patch_type(project, type, type_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1724
- command = make_simple_command(:patch, '{project}/global/types/{type}', options)
1725
- command.request_representation = Google::Apis::DeploymentmanagerAlpha::Type::Representation
1726
- command.request_object = type_object
1727
- command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation
1728
- command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation
1729
- command.params['project'] = project unless project.nil?
1730
- command.params['type'] = type unless type.nil?
1731
- command.query['fields'] = fields unless fields.nil?
1732
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1733
- command.query['userIp'] = user_ip unless user_ip.nil?
1734
- execute_or_queue_command(command, &block)
1735
- end
1736
-
1737
- # Updates a type.
1738
- # @param [String] project
1739
- # The project ID for this request.
1740
- # @param [String] type
1741
- # The name of the type for this request.
1742
- # @param [Google::Apis::DeploymentmanagerAlpha::Type] type_object
1743
- # @param [String] fields
1744
- # Selector specifying which fields to include in a partial response.
1745
- # @param [String] quota_user
1746
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1747
- # characters.
1748
- # @param [String] user_ip
1749
- # Deprecated. Please use quotaUser instead.
1750
- # @param [Google::Apis::RequestOptions] options
1751
- # Request-specific options
1752
- #
1753
- # @yield [result, err] Result & error if block supplied
1754
- # @yieldparam result [Google::Apis::DeploymentmanagerAlpha::Operation] parsed result object
1755
- # @yieldparam err [StandardError] error object if request failed
1756
- #
1757
- # @return [Google::Apis::DeploymentmanagerAlpha::Operation]
1758
- #
1759
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1760
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1761
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1762
- def update_type(project, type, type_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1763
- command = make_simple_command(:put, '{project}/global/types/{type}', options)
1764
- command.request_representation = Google::Apis::DeploymentmanagerAlpha::Type::Representation
1765
- command.request_object = type_object
1766
- command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation
1767
- command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation
1768
- command.params['project'] = project unless project.nil?
1769
- command.params['type'] = type unless type.nil?
1656
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
1770
1657
  command.query['fields'] = fields unless fields.nil?
1771
1658
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1772
1659
  command.query['userIp'] = user_ip unless user_ip.nil?