google-api-client 0.47.0 → 0.48.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release-please.yml +77 -0
  3. data/CHANGELOG.md +64 -0
  4. data/generated/google/apis/bigquery_v2.rb +1 -1
  5. data/generated/google/apis/bigquery_v2/service.rb +1 -1
  6. data/generated/google/apis/billingbudgets_v1.rb +1 -1
  7. data/generated/google/apis/billingbudgets_v1/classes.rb +11 -0
  8. data/generated/google/apis/billingbudgets_v1/representations.rb +1 -0
  9. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  10. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +11 -0
  11. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  12. data/generated/google/apis/cloudasset_v1.rb +1 -1
  13. data/generated/google/apis/cloudasset_v1/classes.rb +697 -0
  14. data/generated/google/apis/cloudasset_v1/representations.rb +304 -0
  15. data/generated/google/apis/cloudasset_v1/service.rb +171 -0
  16. data/generated/google/apis/compute_v1.rb +1 -1
  17. data/generated/google/apis/compute_v1/classes.rb +238 -14
  18. data/generated/google/apis/compute_v1/representations.rb +41 -0
  19. data/generated/google/apis/compute_v1/service.rb +2 -0
  20. data/generated/google/apis/content_v2.rb +1 -1
  21. data/generated/google/apis/content_v2/service.rb +7 -7
  22. data/generated/google/apis/content_v2_1.rb +3 -4
  23. data/generated/google/apis/content_v2_1/classes.rb +899 -1054
  24. data/generated/google/apis/content_v2_1/representations.rb +206 -0
  25. data/generated/google/apis/content_v2_1/service.rb +912 -808
  26. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  27. data/generated/google/apis/datacatalog_v1beta1/classes.rb +24 -0
  28. data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -0
  29. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  30. data/generated/google/apis/dataflow_v1b3/classes.rb +12 -0
  31. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  32. data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
  33. data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
  34. data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
  35. data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
  36. data/generated/google/apis/datastore_v1.rb +1 -1
  37. data/generated/google/apis/datastore_v1/classes.rb +4 -4
  38. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  39. data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
  40. data/generated/google/apis/deploymentmanager_v2.rb +6 -4
  41. data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
  42. data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
  43. data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
  44. data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
  45. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
  46. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
  47. data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
  48. data/generated/google/apis/dialogflow_v2.rb +1 -1
  49. data/generated/google/apis/dialogflow_v2/classes.rb +20 -2
  50. data/generated/google/apis/dialogflow_v2/representations.rb +5 -2
  51. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  52. data/generated/google/apis/dialogflow_v2beta1/classes.rb +20 -2
  53. data/generated/google/apis/dialogflow_v2beta1/representations.rb +5 -2
  54. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  55. data/generated/google/apis/dialogflow_v3beta1/classes.rb +40 -2
  56. data/generated/google/apis/dialogflow_v3beta1/representations.rb +7 -2
  57. data/generated/google/apis/displayvideo_v1.rb +1 -1
  58. data/generated/google/apis/displayvideo_v1/classes.rb +178 -0
  59. data/generated/google/apis/displayvideo_v1/representations.rb +77 -0
  60. data/generated/google/apis/displayvideo_v1/service.rb +249 -9
  61. data/generated/google/apis/domains_v1alpha2.rb +1 -1
  62. data/generated/google/apis/domains_v1alpha2/classes.rb +6 -0
  63. data/generated/google/apis/domains_v1alpha2/representations.rb +1 -0
  64. data/generated/google/apis/domains_v1beta1.rb +1 -1
  65. data/generated/google/apis/domains_v1beta1/classes.rb +6 -0
  66. data/generated/google/apis/domains_v1beta1/representations.rb +1 -0
  67. data/generated/google/apis/eventarc_v1beta1.rb +1 -1
  68. data/generated/google/apis/eventarc_v1beta1/classes.rb +1 -3
  69. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  70. data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
  71. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  72. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
  73. data/generated/google/apis/firestore_v1.rb +1 -1
  74. data/generated/google/apis/firestore_v1/classes.rb +4 -4
  75. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  76. data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
  77. data/generated/google/apis/games_v1.rb +1 -1
  78. data/generated/google/apis/games_v1/classes.rb +300 -0
  79. data/generated/google/apis/games_v1/representations.rb +116 -0
  80. data/generated/google/apis/games_v1/service.rb +34 -0
  81. data/generated/google/apis/gameservices_v1.rb +1 -1
  82. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  83. data/generated/google/apis/iam_v1.rb +2 -5
  84. data/generated/google/apis/iam_v1/service.rb +1 -4
  85. data/generated/google/apis/iamcredentials_v1.rb +3 -4
  86. data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
  87. data/generated/google/apis/logging_v2.rb +1 -1
  88. data/generated/google/apis/logging_v2/classes.rb +72 -0
  89. data/generated/google/apis/logging_v2/representations.rb +32 -0
  90. data/generated/google/apis/logging_v2/service.rb +345 -0
  91. data/generated/google/apis/people_v1.rb +1 -1
  92. data/generated/google/apis/people_v1/classes.rb +4 -4
  93. data/generated/google/apis/people_v1/service.rb +12 -12
  94. data/generated/google/apis/privateca_v1beta1.rb +34 -0
  95. data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
  96. data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
  97. data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
  98. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  99. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
  100. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
  101. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  102. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -2
  103. data/generated/google/apis/safebrowsing_v4.rb +35 -0
  104. data/generated/google/apis/safebrowsing_v4/classes.rb +909 -0
  105. data/generated/google/apis/safebrowsing_v4/representations.rb +445 -0
  106. data/generated/google/apis/safebrowsing_v4/service.rb +286 -0
  107. data/generated/google/apis/secretmanager_v1.rb +1 -1
  108. data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
  109. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  110. data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
  111. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  112. data/generated/google/apis/servicecontrol_v1/classes.rb +45 -0
  113. data/generated/google/apis/servicecontrol_v1/representations.rb +6 -0
  114. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  115. data/generated/google/apis/servicecontrol_v2/classes.rb +45 -0
  116. data/generated/google/apis/servicecontrol_v2/representations.rb +6 -0
  117. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  118. data/generated/google/apis/servicemanagement_v1/classes.rb +1 -60
  119. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -18
  120. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  121. data/generated/google/apis/serviceusage_v1beta1/classes.rb +30 -0
  122. data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -0
  123. data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
  124. data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
  125. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +0 -34
  126. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -16
  127. data/generated/google/apis/smartdevicemanagement_v1/service.rb +3 -8
  128. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  129. data/generated/google/apis/sqladmin_v1beta4/classes.rb +28 -4
  130. data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
  131. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  132. data/generated/google/apis/storagetransfer_v1/classes.rb +14 -5
  133. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  134. data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
  135. data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
  136. data/generated/google/apis/translate_v3.rb +1 -1
  137. data/generated/google/apis/translate_v3/classes.rb +2 -1
  138. data/generated/google/apis/translate_v3beta1.rb +1 -1
  139. data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
  140. data/generated/google/apis/vision_v1.rb +1 -1
  141. data/generated/google/apis/vision_v1/classes.rb +16 -16
  142. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  143. data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
  144. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  145. data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
  146. data/generated/google/apis/youtube_v3.rb +1 -1
  147. data/generated/google/apis/youtube_v3/service.rb +2 -2
  148. data/lib/google/apis/version.rb +1 -1
  149. metadata +16 -3
@@ -34,24 +34,12 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
- class AuthorizationLoggingOptions
38
- class Representation < Google::Apis::Core::JsonRepresentation; end
39
-
40
- include Google::Apis::Core::JsonObjectSupport
41
- end
42
-
43
37
  class Binding
44
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
39
 
46
40
  include Google::Apis::Core::JsonObjectSupport
47
41
  end
48
42
 
49
- class Condition
50
- class Representation < Google::Apis::Core::JsonRepresentation; end
51
-
52
- include Google::Apis::Core::JsonObjectSupport
53
- end
54
-
55
43
  class ConfigFile
56
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
45
 
@@ -118,36 +106,6 @@ module Google
118
106
  include Google::Apis::Core::JsonObjectSupport
119
107
  end
120
108
 
121
- class LogConfig
122
- class Representation < Google::Apis::Core::JsonRepresentation; end
123
-
124
- include Google::Apis::Core::JsonObjectSupport
125
- end
126
-
127
- class LogConfigCloudAuditOptions
128
- class Representation < Google::Apis::Core::JsonRepresentation; end
129
-
130
- include Google::Apis::Core::JsonObjectSupport
131
- end
132
-
133
- class LogConfigCounterOptions
134
- class Representation < Google::Apis::Core::JsonRepresentation; end
135
-
136
- include Google::Apis::Core::JsonObjectSupport
137
- end
138
-
139
- class LogConfigCounterOptionsCustomField
140
- class Representation < Google::Apis::Core::JsonRepresentation; end
141
-
142
- include Google::Apis::Core::JsonObjectSupport
143
- end
144
-
145
- class LogConfigDataAccessOptions
146
- class Representation < Google::Apis::Core::JsonRepresentation; end
147
-
148
- include Google::Apis::Core::JsonObjectSupport
149
- end
150
-
151
109
  class Manifest
152
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
111
 
@@ -262,12 +220,6 @@ module Google
262
220
  include Google::Apis::Core::JsonObjectSupport
263
221
  end
264
222
 
265
- class Rule
266
- class Representation < Google::Apis::Core::JsonRepresentation; end
267
-
268
- include Google::Apis::Core::JsonObjectSupport
269
- end
270
-
271
223
  class TargetConfiguration
272
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
225
 
@@ -303,7 +255,6 @@ module Google
303
255
  class Representation < Google::Apis::Core::JsonRepresentation
304
256
  collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::DeploymentmanagerV2::AuditLogConfig, decorator: Google::Apis::DeploymentmanagerV2::AuditLogConfig::Representation
305
257
 
306
- collection :exempted_members, as: 'exemptedMembers'
307
258
  property :service, as: 'service'
308
259
  end
309
260
  end
@@ -312,18 +263,10 @@ module Google
312
263
  # @private
313
264
  class Representation < Google::Apis::Core::JsonRepresentation
314
265
  collection :exempted_members, as: 'exemptedMembers'
315
- property :ignore_child_exemptions, as: 'ignoreChildExemptions'
316
266
  property :log_type, as: 'logType'
317
267
  end
318
268
  end
319
269
 
320
- class AuthorizationLoggingOptions
321
- # @private
322
- class Representation < Google::Apis::Core::JsonRepresentation
323
- property :permission_type, as: 'permissionType'
324
- end
325
- end
326
-
327
270
  class Binding
328
271
  # @private
329
272
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -334,17 +277,6 @@ module Google
334
277
  end
335
278
  end
336
279
 
337
- class Condition
338
- # @private
339
- class Representation < Google::Apis::Core::JsonRepresentation
340
- property :iam, as: 'iam'
341
- property :op, as: 'op'
342
- property :svc, as: 'svc'
343
- property :sys, as: 'sys'
344
- collection :values, as: 'values'
345
- end
346
- end
347
-
348
280
  class ConfigFile
349
281
  # @private
350
282
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -452,52 +384,6 @@ module Google
452
384
  end
453
385
  end
454
386
 
455
- class LogConfig
456
- # @private
457
- class Representation < Google::Apis::Core::JsonRepresentation
458
- property :cloud_audit, as: 'cloudAudit', class: Google::Apis::DeploymentmanagerV2::LogConfigCloudAuditOptions, decorator: Google::Apis::DeploymentmanagerV2::LogConfigCloudAuditOptions::Representation
459
-
460
- property :counter, as: 'counter', class: Google::Apis::DeploymentmanagerV2::LogConfigCounterOptions, decorator: Google::Apis::DeploymentmanagerV2::LogConfigCounterOptions::Representation
461
-
462
- property :data_access, as: 'dataAccess', class: Google::Apis::DeploymentmanagerV2::LogConfigDataAccessOptions, decorator: Google::Apis::DeploymentmanagerV2::LogConfigDataAccessOptions::Representation
463
-
464
- end
465
- end
466
-
467
- class LogConfigCloudAuditOptions
468
- # @private
469
- class Representation < Google::Apis::Core::JsonRepresentation
470
- property :authorization_logging_options, as: 'authorizationLoggingOptions', class: Google::Apis::DeploymentmanagerV2::AuthorizationLoggingOptions, decorator: Google::Apis::DeploymentmanagerV2::AuthorizationLoggingOptions::Representation
471
-
472
- property :log_name, as: 'logName'
473
- end
474
- end
475
-
476
- class LogConfigCounterOptions
477
- # @private
478
- class Representation < Google::Apis::Core::JsonRepresentation
479
- collection :custom_fields, as: 'customFields', class: Google::Apis::DeploymentmanagerV2::LogConfigCounterOptionsCustomField, decorator: Google::Apis::DeploymentmanagerV2::LogConfigCounterOptionsCustomField::Representation
480
-
481
- property :field, as: 'field'
482
- property :metric, as: 'metric'
483
- end
484
- end
485
-
486
- class LogConfigCounterOptionsCustomField
487
- # @private
488
- class Representation < Google::Apis::Core::JsonRepresentation
489
- property :name, as: 'name'
490
- property :value, as: 'value'
491
- end
492
- end
493
-
494
- class LogConfigDataAccessOptions
495
- # @private
496
- class Representation < Google::Apis::Core::JsonRepresentation
497
- property :log_mode, as: 'logMode'
498
- end
499
- end
500
-
501
387
  class Manifest
502
388
  # @private
503
389
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -606,9 +492,6 @@ module Google
606
492
  collection :bindings, as: 'bindings', class: Google::Apis::DeploymentmanagerV2::Binding, decorator: Google::Apis::DeploymentmanagerV2::Binding::Representation
607
493
 
608
494
  property :etag, :base64 => true, as: 'etag'
609
- property :iam_owned, as: 'iamOwned'
610
- collection :rules, as: 'rules', class: Google::Apis::DeploymentmanagerV2::Rule, decorator: Google::Apis::DeploymentmanagerV2::Rule::Representation
611
-
612
495
  property :version, as: 'version'
613
496
  end
614
497
  end
@@ -720,21 +603,6 @@ module Google
720
603
  end
721
604
  end
722
605
 
723
- class Rule
724
- # @private
725
- class Representation < Google::Apis::Core::JsonRepresentation
726
- property :action, as: 'action'
727
- collection :conditions, as: 'conditions', class: Google::Apis::DeploymentmanagerV2::Condition, decorator: Google::Apis::DeploymentmanagerV2::Condition::Representation
728
-
729
- property :description, as: 'description'
730
- collection :ins, as: 'ins'
731
- collection :log_configs, as: 'logConfigs', class: Google::Apis::DeploymentmanagerV2::LogConfig, decorator: Google::Apis::DeploymentmanagerV2::LogConfig::Representation
732
-
733
- collection :not_ins, as: 'notIns'
734
- collection :permissions, as: 'permissions'
735
- end
736
- end
737
-
738
606
  class TargetConfiguration
739
607
  # @private
740
608
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -20,9 +20,11 @@ require 'google/apis/errors'
20
20
  module Google
21
21
  module Apis
22
22
  module DeploymentmanagerV2
23
- # Google Cloud Deployment Manager API
23
+ # Cloud Deployment Manager V2 API
24
24
  #
25
- # Declares, configures, and deploys complex solutions on Google Cloud Platform.
25
+ # The Google Cloud Deployment Manager v2 API provides services for configuring,
26
+ # deploying, and viewing Google Cloud services and APIs via templates which
27
+ # specify deployments of Cloud resources.
26
28
  #
27
29
  # @example
28
30
  # require 'google/apis/deploymentmanager_v2'
@@ -30,7 +32,7 @@ module Google
30
32
  # Deploymentmanager = Google::Apis::DeploymentmanagerV2 # Alias the module
31
33
  # service = Deploymentmanager::DeploymentManagerService.new
32
34
  #
33
- # @see https://cloud.google.com/deployment-manager/
35
+ # @see http://cloud.google.com/deployment-manager
34
36
  class DeploymentManagerService < Google::Apis::Core::BaseService
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
@@ -38,17 +40,13 @@ module Google
38
40
  attr_accessor :key
39
41
 
40
42
  # @return [String]
41
- # An opaque string that represents a user for quota purposes. Must not exceed 40
42
- # characters.
43
+ # Available to use for quota purposes for server-side applications. Can be any
44
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
43
45
  attr_accessor :quota_user
44
46
 
45
- # @return [String]
46
- # Deprecated. Please use quotaUser instead.
47
- attr_accessor :user_ip
48
-
49
47
  def initialize
50
- super('https://www.googleapis.com/', 'deploymentmanager/v2/projects/')
51
- @batch_path = 'batch/deploymentmanager/v2'
48
+ super('https://deploymentmanager.googleapis.com/', '')
49
+ @batch_path = 'batch'
52
50
  end
53
51
 
54
52
  # Cancels and removes the preview currently associated with the deployment.
@@ -60,10 +58,8 @@ module Google
60
58
  # @param [String] fields
61
59
  # Selector specifying which fields to include in a partial response.
62
60
  # @param [String] quota_user
63
- # An opaque string that represents a user for quota purposes. Must not exceed 40
64
- # characters.
65
- # @param [String] user_ip
66
- # Deprecated. Please use quotaUser instead.
61
+ # Available to use for quota purposes for server-side applications. Can be any
62
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
67
63
  # @param [Google::Apis::RequestOptions] options
68
64
  # Request-specific options
69
65
  #
@@ -76,8 +72,8 @@ module Google
76
72
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
77
73
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
78
74
  # @raise [Google::Apis::AuthorizationError] Authorization is required
79
- def cancel_deployment_preview(project, deployment, deployments_cancel_preview_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
80
- command = make_simple_command(:post, '{project}/global/deployments/{deployment}/cancelPreview', options)
75
+ def cancel_deployment_preview(project, deployment, deployments_cancel_preview_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
76
+ command = make_simple_command(:post, 'deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/cancelPreview', options)
81
77
  command.request_representation = Google::Apis::DeploymentmanagerV2::DeploymentsCancelPreviewRequest::Representation
82
78
  command.request_object = deployments_cancel_preview_request_object
83
79
  command.response_representation = Google::Apis::DeploymentmanagerV2::Operation::Representation
@@ -86,7 +82,6 @@ module Google
86
82
  command.params['deployment'] = deployment unless deployment.nil?
87
83
  command.query['fields'] = fields unless fields.nil?
88
84
  command.query['quotaUser'] = quota_user unless quota_user.nil?
89
- command.query['userIp'] = user_ip unless user_ip.nil?
90
85
  execute_or_queue_command(command, &block)
91
86
  end
92
87
 
@@ -100,10 +95,8 @@ module Google
100
95
  # @param [String] fields
101
96
  # Selector specifying which fields to include in a partial response.
102
97
  # @param [String] quota_user
103
- # An opaque string that represents a user for quota purposes. Must not exceed 40
104
- # characters.
105
- # @param [String] user_ip
106
- # Deprecated. Please use quotaUser instead.
98
+ # Available to use for quota purposes for server-side applications. Can be any
99
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
107
100
  # @param [Google::Apis::RequestOptions] options
108
101
  # Request-specific options
109
102
  #
@@ -116,8 +109,8 @@ module Google
116
109
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
117
110
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
118
111
  # @raise [Google::Apis::AuthorizationError] Authorization is required
119
- def delete_deployment(project, deployment, delete_policy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
120
- command = make_simple_command(:delete, '{project}/global/deployments/{deployment}', options)
112
+ def delete_deployment(project, deployment, delete_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
113
+ command = make_simple_command(:delete, 'deploymentmanager/v2/projects/{project}/global/deployments/{deployment}', options)
121
114
  command.response_representation = Google::Apis::DeploymentmanagerV2::Operation::Representation
122
115
  command.response_class = Google::Apis::DeploymentmanagerV2::Operation
123
116
  command.params['project'] = project unless project.nil?
@@ -125,7 +118,6 @@ module Google
125
118
  command.query['deletePolicy'] = delete_policy unless delete_policy.nil?
126
119
  command.query['fields'] = fields unless fields.nil?
127
120
  command.query['quotaUser'] = quota_user unless quota_user.nil?
128
- command.query['userIp'] = user_ip unless user_ip.nil?
129
121
  execute_or_queue_command(command, &block)
130
122
  end
131
123
 
@@ -137,10 +129,8 @@ module Google
137
129
  # @param [String] fields
138
130
  # Selector specifying which fields to include in a partial response.
139
131
  # @param [String] quota_user
140
- # An opaque string that represents a user for quota purposes. Must not exceed 40
141
- # characters.
142
- # @param [String] user_ip
143
- # Deprecated. Please use quotaUser instead.
132
+ # Available to use for quota purposes for server-side applications. Can be any
133
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
144
134
  # @param [Google::Apis::RequestOptions] options
145
135
  # Request-specific options
146
136
  #
@@ -153,15 +143,14 @@ module Google
153
143
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
154
144
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
155
145
  # @raise [Google::Apis::AuthorizationError] Authorization is required
156
- def get_deployment(project, deployment, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
157
- command = make_simple_command(:get, '{project}/global/deployments/{deployment}', options)
146
+ def get_deployment(project, deployment, fields: nil, quota_user: nil, options: nil, &block)
147
+ command = make_simple_command(:get, 'deploymentmanager/v2/projects/{project}/global/deployments/{deployment}', options)
158
148
  command.response_representation = Google::Apis::DeploymentmanagerV2::Deployment::Representation
159
149
  command.response_class = Google::Apis::DeploymentmanagerV2::Deployment
160
150
  command.params['project'] = project unless project.nil?
161
151
  command.params['deployment'] = deployment unless deployment.nil?
162
152
  command.query['fields'] = fields unless fields.nil?
163
153
  command.query['quotaUser'] = quota_user unless quota_user.nil?
164
- command.query['userIp'] = user_ip unless user_ip.nil?
165
154
  execute_or_queue_command(command, &block)
166
155
  end
167
156
 
@@ -171,13 +160,13 @@ module Google
171
160
  # Project ID for this request.
172
161
  # @param [String] resource
173
162
  # Name or id of the resource for this request.
163
+ # @param [Fixnum] options_requested_policy_version
164
+ # Requested IAM Policy version.
174
165
  # @param [String] fields
175
166
  # Selector specifying which fields to include in a partial response.
176
167
  # @param [String] quota_user
177
- # An opaque string that represents a user for quota purposes. Must not exceed 40
178
- # characters.
179
- # @param [String] user_ip
180
- # Deprecated. Please use quotaUser instead.
168
+ # Available to use for quota purposes for server-side applications. Can be any
169
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
181
170
  # @param [Google::Apis::RequestOptions] options
182
171
  # Request-specific options
183
172
  #
@@ -190,15 +179,15 @@ module Google
190
179
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
191
180
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
192
181
  # @raise [Google::Apis::AuthorizationError] Authorization is required
193
- def get_deployment_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
194
- command = make_simple_command(:get, '{project}/global/deployments/{resource}/getIamPolicy', options)
182
+ def get_deployment_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
183
+ command = make_simple_command(:get, 'deploymentmanager/v2/projects/{project}/global/deployments/{resource}/getIamPolicy', options)
195
184
  command.response_representation = Google::Apis::DeploymentmanagerV2::Policy::Representation
196
185
  command.response_class = Google::Apis::DeploymentmanagerV2::Policy
197
186
  command.params['project'] = project unless project.nil?
198
187
  command.params['resource'] = resource unless resource.nil?
188
+ command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
199
189
  command.query['fields'] = fields unless fields.nil?
200
190
  command.query['quotaUser'] = quota_user unless quota_user.nil?
201
- command.query['userIp'] = user_ip unless user_ip.nil?
202
191
  execute_or_queue_command(command, &block)
203
192
  end
204
193
 
@@ -220,10 +209,8 @@ module Google
220
209
  # @param [String] fields
221
210
  # Selector specifying which fields to include in a partial response.
222
211
  # @param [String] quota_user
223
- # An opaque string that represents a user for quota purposes. Must not exceed 40
224
- # characters.
225
- # @param [String] user_ip
226
- # Deprecated. Please use quotaUser instead.
212
+ # Available to use for quota purposes for server-side applications. Can be any
213
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
227
214
  # @param [Google::Apis::RequestOptions] options
228
215
  # Request-specific options
229
216
  #
@@ -236,8 +223,8 @@ module Google
236
223
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
237
224
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
238
225
  # @raise [Google::Apis::AuthorizationError] Authorization is required
239
- def insert_deployment(project, deployment_object = nil, create_policy: nil, preview: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
240
- command = make_simple_command(:post, '{project}/global/deployments', options)
226
+ def insert_deployment(project, deployment_object = nil, create_policy: nil, preview: nil, fields: nil, quota_user: nil, options: nil, &block)
227
+ command = make_simple_command(:post, 'deploymentmanager/v2/projects/{project}/global/deployments', options)
241
228
  command.request_representation = Google::Apis::DeploymentmanagerV2::Deployment::Representation
242
229
  command.request_object = deployment_object
243
230
  command.response_representation = Google::Apis::DeploymentmanagerV2::Operation::Representation
@@ -247,7 +234,6 @@ module Google
247
234
  command.query['preview'] = preview unless preview.nil?
248
235
  command.query['fields'] = fields unless fields.nil?
249
236
  command.query['quotaUser'] = quota_user unless quota_user.nil?
250
- command.query['userIp'] = user_ip unless user_ip.nil?
251
237
  execute_or_queue_command(command, &block)
252
238
  end
253
239
 
@@ -258,19 +244,18 @@ module Google
258
244
  # A filter expression that filters resources listed in the response. The
259
245
  # expression must specify the field name, a comparison operator, and the value
260
246
  # that you want to use for filtering. The value must be a string, a number, or a
261
- # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
262
- # For example, if you are filtering Compute Engine instances, you can exclude
247
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
248
+ # example, if you are filtering Compute Engine instances, you can exclude
263
249
  # instances named `example-instance` by specifying `name != example-instance`.
264
250
  # You can also filter nested fields. For example, you could specify `scheduling.
265
251
  # automaticRestart = false` to include instances only if they are not scheduled
266
252
  # for automatic restarts. You can use filtering on nested fields to filter based
267
- # on resource labels.
268
- # To filter on multiple expressions, provide each separate expression within
269
- # parentheses. For example: ``` (scheduling.automaticRestart = true) (
270
- # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
271
- # expression. However, you can include `AND` and `OR` expressions explicitly.
272
- # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
273
- # Broadwell") AND (scheduling.automaticRestart = true) ```
253
+ # on resource labels. To filter on multiple expressions, provide each separate
254
+ # expression within parentheses. For example: ``` (scheduling.automaticRestart =
255
+ # true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
256
+ # AND` expression. However, you can include `AND` and `OR` expressions
257
+ # explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
258
+ # "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
274
259
  # @param [Fixnum] max_results
275
260
  # The maximum number of results per page that should be returned. If the number
276
261
  # of available results is larger than `maxResults`, Compute Engine returns a `
@@ -278,23 +263,23 @@ module Google
278
263
  # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
279
264
  # @param [String] order_by
280
265
  # Sorts list results by a certain order. By default, results are returned in
281
- # alphanumerical order based on the resource name.
282
- # You can also sort results in descending order based on the creation timestamp
283
- # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
284
- # creationTimestamp` field in reverse chronological order (newest result first).
285
- # Use this to sort resources like operations so that the newest operation is
286
- # returned first.
266
+ # alphanumerical order based on the resource name. You can also sort results in
267
+ # descending order based on the creation timestamp using `orderBy="
268
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
269
+ # field in reverse chronological order (newest result first). Use this to sort
270
+ # resources like operations so that the newest operation is returned first.
287
271
  # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
288
272
  # @param [String] page_token
289
273
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
290
274
  # by a previous list request to get the next page of results.
275
+ # @param [Boolean] return_partial_success
276
+ # Opt-in for partial success behavior which provides partial results in case of
277
+ # failure. The default value is false and the logic is the same as today.
291
278
  # @param [String] fields
292
279
  # Selector specifying which fields to include in a partial response.
293
280
  # @param [String] quota_user
294
- # An opaque string that represents a user for quota purposes. Must not exceed 40
295
- # characters.
296
- # @param [String] user_ip
297
- # Deprecated. Please use quotaUser instead.
281
+ # Available to use for quota purposes for server-side applications. Can be any
282
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
298
283
  # @param [Google::Apis::RequestOptions] options
299
284
  # Request-specific options
300
285
  #
@@ -307,8 +292,8 @@ module Google
307
292
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
308
293
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
309
294
  # @raise [Google::Apis::AuthorizationError] Authorization is required
310
- 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)
311
- command = make_simple_command(:get, '{project}/global/deployments', options)
295
+ def list_deployments(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
296
+ command = make_simple_command(:get, 'deploymentmanager/v2/projects/{project}/global/deployments', options)
312
297
  command.response_representation = Google::Apis::DeploymentmanagerV2::ListDeploymentsResponse::Representation
313
298
  command.response_class = Google::Apis::DeploymentmanagerV2::ListDeploymentsResponse
314
299
  command.params['project'] = project unless project.nil?
@@ -316,9 +301,9 @@ module Google
316
301
  command.query['maxResults'] = max_results unless max_results.nil?
317
302
  command.query['orderBy'] = order_by unless order_by.nil?
318
303
  command.query['pageToken'] = page_token unless page_token.nil?
304
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
319
305
  command.query['fields'] = fields unless fields.nil?
320
306
  command.query['quotaUser'] = quota_user unless quota_user.nil?
321
- command.query['userIp'] = user_ip unless user_ip.nil?
322
307
  execute_or_queue_command(command, &block)
323
308
  end
324
309
 
@@ -347,10 +332,8 @@ module Google
347
332
  # @param [String] fields
348
333
  # Selector specifying which fields to include in a partial response.
349
334
  # @param [String] quota_user
350
- # An opaque string that represents a user for quota purposes. Must not exceed 40
351
- # characters.
352
- # @param [String] user_ip
353
- # Deprecated. Please use quotaUser instead.
335
+ # Available to use for quota purposes for server-side applications. Can be any
336
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
354
337
  # @param [Google::Apis::RequestOptions] options
355
338
  # Request-specific options
356
339
  #
@@ -363,8 +346,8 @@ module Google
363
346
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
364
347
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
365
348
  # @raise [Google::Apis::AuthorizationError] Authorization is required
366
- def patch_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, preview: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
367
- command = make_simple_command(:patch, '{project}/global/deployments/{deployment}', options)
349
+ def patch_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, preview: nil, fields: nil, quota_user: nil, options: nil, &block)
350
+ command = make_simple_command(:patch, 'deploymentmanager/v2/projects/{project}/global/deployments/{deployment}', options)
368
351
  command.request_representation = Google::Apis::DeploymentmanagerV2::Deployment::Representation
369
352
  command.request_object = deployment_object
370
353
  command.response_representation = Google::Apis::DeploymentmanagerV2::Operation::Representation
@@ -376,7 +359,6 @@ module Google
376
359
  command.query['preview'] = preview unless preview.nil?
377
360
  command.query['fields'] = fields unless fields.nil?
378
361
  command.query['quotaUser'] = quota_user unless quota_user.nil?
379
- command.query['userIp'] = user_ip unless user_ip.nil?
380
362
  execute_or_queue_command(command, &block)
381
363
  end
382
364
 
@@ -390,10 +372,8 @@ module Google
390
372
  # @param [String] fields
391
373
  # Selector specifying which fields to include in a partial response.
392
374
  # @param [String] quota_user
393
- # An opaque string that represents a user for quota purposes. Must not exceed 40
394
- # characters.
395
- # @param [String] user_ip
396
- # Deprecated. Please use quotaUser instead.
375
+ # Available to use for quota purposes for server-side applications. Can be any
376
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
397
377
  # @param [Google::Apis::RequestOptions] options
398
378
  # Request-specific options
399
379
  #
@@ -406,8 +386,8 @@ module Google
406
386
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
407
387
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
408
388
  # @raise [Google::Apis::AuthorizationError] Authorization is required
409
- def set_deployment_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
410
- command = make_simple_command(:post, '{project}/global/deployments/{resource}/setIamPolicy', options)
389
+ def set_deployment_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
390
+ command = make_simple_command(:post, 'deploymentmanager/v2/projects/{project}/global/deployments/{resource}/setIamPolicy', options)
411
391
  command.request_representation = Google::Apis::DeploymentmanagerV2::GlobalSetPolicyRequest::Representation
412
392
  command.request_object = global_set_policy_request_object
413
393
  command.response_representation = Google::Apis::DeploymentmanagerV2::Policy::Representation
@@ -416,7 +396,6 @@ module Google
416
396
  command.params['resource'] = resource unless resource.nil?
417
397
  command.query['fields'] = fields unless fields.nil?
418
398
  command.query['quotaUser'] = quota_user unless quota_user.nil?
419
- command.query['userIp'] = user_ip unless user_ip.nil?
420
399
  execute_or_queue_command(command, &block)
421
400
  end
422
401
 
@@ -430,10 +409,8 @@ module Google
430
409
  # @param [String] fields
431
410
  # Selector specifying which fields to include in a partial response.
432
411
  # @param [String] quota_user
433
- # An opaque string that represents a user for quota purposes. Must not exceed 40
434
- # characters.
435
- # @param [String] user_ip
436
- # Deprecated. Please use quotaUser instead.
412
+ # Available to use for quota purposes for server-side applications. Can be any
413
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
437
414
  # @param [Google::Apis::RequestOptions] options
438
415
  # Request-specific options
439
416
  #
@@ -446,8 +423,8 @@ module Google
446
423
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
447
424
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
448
425
  # @raise [Google::Apis::AuthorizationError] Authorization is required
449
- def stop_deployment(project, deployment, deployments_stop_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
450
- command = make_simple_command(:post, '{project}/global/deployments/{deployment}/stop', options)
426
+ def stop_deployment(project, deployment, deployments_stop_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
427
+ command = make_simple_command(:post, 'deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/stop', options)
451
428
  command.request_representation = Google::Apis::DeploymentmanagerV2::DeploymentsStopRequest::Representation
452
429
  command.request_object = deployments_stop_request_object
453
430
  command.response_representation = Google::Apis::DeploymentmanagerV2::Operation::Representation
@@ -456,7 +433,6 @@ module Google
456
433
  command.params['deployment'] = deployment unless deployment.nil?
457
434
  command.query['fields'] = fields unless fields.nil?
458
435
  command.query['quotaUser'] = quota_user unless quota_user.nil?
459
- command.query['userIp'] = user_ip unless user_ip.nil?
460
436
  execute_or_queue_command(command, &block)
461
437
  end
462
438
 
@@ -469,10 +445,8 @@ module Google
469
445
  # @param [String] fields
470
446
  # Selector specifying which fields to include in a partial response.
471
447
  # @param [String] quota_user
472
- # An opaque string that represents a user for quota purposes. Must not exceed 40
473
- # characters.
474
- # @param [String] user_ip
475
- # Deprecated. Please use quotaUser instead.
448
+ # Available to use for quota purposes for server-side applications. Can be any
449
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
476
450
  # @param [Google::Apis::RequestOptions] options
477
451
  # Request-specific options
478
452
  #
@@ -485,8 +459,8 @@ module Google
485
459
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
486
460
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
487
461
  # @raise [Google::Apis::AuthorizationError] Authorization is required
488
- def test_deployment_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
489
- command = make_simple_command(:post, '{project}/global/deployments/{resource}/testIamPermissions', options)
462
+ def test_deployment_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
463
+ command = make_simple_command(:post, 'deploymentmanager/v2/projects/{project}/global/deployments/{resource}/testIamPermissions', options)
490
464
  command.request_representation = Google::Apis::DeploymentmanagerV2::TestPermissionsRequest::Representation
491
465
  command.request_object = test_permissions_request_object
492
466
  command.response_representation = Google::Apis::DeploymentmanagerV2::TestPermissionsResponse::Representation
@@ -495,7 +469,6 @@ module Google
495
469
  command.params['resource'] = resource unless resource.nil?
496
470
  command.query['fields'] = fields unless fields.nil?
497
471
  command.query['quotaUser'] = quota_user unless quota_user.nil?
498
- command.query['userIp'] = user_ip unless user_ip.nil?
499
472
  execute_or_queue_command(command, &block)
500
473
  end
501
474
 
@@ -524,10 +497,8 @@ module Google
524
497
  # @param [String] fields
525
498
  # Selector specifying which fields to include in a partial response.
526
499
  # @param [String] quota_user
527
- # An opaque string that represents a user for quota purposes. Must not exceed 40
528
- # characters.
529
- # @param [String] user_ip
530
- # Deprecated. Please use quotaUser instead.
500
+ # Available to use for quota purposes for server-side applications. Can be any
501
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
531
502
  # @param [Google::Apis::RequestOptions] options
532
503
  # Request-specific options
533
504
  #
@@ -540,8 +511,8 @@ module Google
540
511
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
541
512
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
542
513
  # @raise [Google::Apis::AuthorizationError] Authorization is required
543
- def update_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, preview: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
544
- command = make_simple_command(:put, '{project}/global/deployments/{deployment}', options)
514
+ def update_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, preview: nil, fields: nil, quota_user: nil, options: nil, &block)
515
+ command = make_simple_command(:put, 'deploymentmanager/v2/projects/{project}/global/deployments/{deployment}', options)
545
516
  command.request_representation = Google::Apis::DeploymentmanagerV2::Deployment::Representation
546
517
  command.request_object = deployment_object
547
518
  command.response_representation = Google::Apis::DeploymentmanagerV2::Operation::Representation
@@ -553,7 +524,6 @@ module Google
553
524
  command.query['preview'] = preview unless preview.nil?
554
525
  command.query['fields'] = fields unless fields.nil?
555
526
  command.query['quotaUser'] = quota_user unless quota_user.nil?
556
- command.query['userIp'] = user_ip unless user_ip.nil?
557
527
  execute_or_queue_command(command, &block)
558
528
  end
559
529
 
@@ -567,10 +537,8 @@ module Google
567
537
  # @param [String] fields
568
538
  # Selector specifying which fields to include in a partial response.
569
539
  # @param [String] quota_user
570
- # An opaque string that represents a user for quota purposes. Must not exceed 40
571
- # characters.
572
- # @param [String] user_ip
573
- # Deprecated. Please use quotaUser instead.
540
+ # Available to use for quota purposes for server-side applications. Can be any
541
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
574
542
  # @param [Google::Apis::RequestOptions] options
575
543
  # Request-specific options
576
544
  #
@@ -583,8 +551,8 @@ module Google
583
551
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
584
552
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
585
553
  # @raise [Google::Apis::AuthorizationError] Authorization is required
586
- def get_manifest(project, deployment, manifest, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
587
- command = make_simple_command(:get, '{project}/global/deployments/{deployment}/manifests/{manifest}', options)
554
+ def get_manifest(project, deployment, manifest, fields: nil, quota_user: nil, options: nil, &block)
555
+ command = make_simple_command(:get, 'deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/manifests/{manifest}', options)
588
556
  command.response_representation = Google::Apis::DeploymentmanagerV2::Manifest::Representation
589
557
  command.response_class = Google::Apis::DeploymentmanagerV2::Manifest
590
558
  command.params['project'] = project unless project.nil?
@@ -592,7 +560,6 @@ module Google
592
560
  command.params['manifest'] = manifest unless manifest.nil?
593
561
  command.query['fields'] = fields unless fields.nil?
594
562
  command.query['quotaUser'] = quota_user unless quota_user.nil?
595
- command.query['userIp'] = user_ip unless user_ip.nil?
596
563
  execute_or_queue_command(command, &block)
597
564
  end
598
565
 
@@ -605,19 +572,18 @@ module Google
605
572
  # A filter expression that filters resources listed in the response. The
606
573
  # expression must specify the field name, a comparison operator, and the value
607
574
  # that you want to use for filtering. The value must be a string, a number, or a
608
- # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
609
- # For example, if you are filtering Compute Engine instances, you can exclude
575
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
576
+ # example, if you are filtering Compute Engine instances, you can exclude
610
577
  # instances named `example-instance` by specifying `name != example-instance`.
611
578
  # You can also filter nested fields. For example, you could specify `scheduling.
612
579
  # automaticRestart = false` to include instances only if they are not scheduled
613
580
  # for automatic restarts. You can use filtering on nested fields to filter based
614
- # on resource labels.
615
- # To filter on multiple expressions, provide each separate expression within
616
- # parentheses. For example: ``` (scheduling.automaticRestart = true) (
617
- # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
618
- # expression. However, you can include `AND` and `OR` expressions explicitly.
619
- # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
620
- # Broadwell") AND (scheduling.automaticRestart = true) ```
581
+ # on resource labels. To filter on multiple expressions, provide each separate
582
+ # expression within parentheses. For example: ``` (scheduling.automaticRestart =
583
+ # true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
584
+ # AND` expression. However, you can include `AND` and `OR` expressions
585
+ # explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
586
+ # "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
621
587
  # @param [Fixnum] max_results
622
588
  # The maximum number of results per page that should be returned. If the number
623
589
  # of available results is larger than `maxResults`, Compute Engine returns a `
@@ -625,23 +591,23 @@ module Google
625
591
  # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
626
592
  # @param [String] order_by
627
593
  # Sorts list results by a certain order. By default, results are returned in
628
- # alphanumerical order based on the resource name.
629
- # You can also sort results in descending order based on the creation timestamp
630
- # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
631
- # creationTimestamp` field in reverse chronological order (newest result first).
632
- # Use this to sort resources like operations so that the newest operation is
633
- # returned first.
594
+ # alphanumerical order based on the resource name. You can also sort results in
595
+ # descending order based on the creation timestamp using `orderBy="
596
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
597
+ # field in reverse chronological order (newest result first). Use this to sort
598
+ # resources like operations so that the newest operation is returned first.
634
599
  # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
635
600
  # @param [String] page_token
636
601
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
637
602
  # by a previous list request to get the next page of results.
603
+ # @param [Boolean] return_partial_success
604
+ # Opt-in for partial success behavior which provides partial results in case of
605
+ # failure. The default value is false and the logic is the same as today.
638
606
  # @param [String] fields
639
607
  # Selector specifying which fields to include in a partial response.
640
608
  # @param [String] quota_user
641
- # An opaque string that represents a user for quota purposes. Must not exceed 40
642
- # characters.
643
- # @param [String] user_ip
644
- # Deprecated. Please use quotaUser instead.
609
+ # Available to use for quota purposes for server-side applications. Can be any
610
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
645
611
  # @param [Google::Apis::RequestOptions] options
646
612
  # Request-specific options
647
613
  #
@@ -654,8 +620,8 @@ module Google
654
620
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
655
621
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
656
622
  # @raise [Google::Apis::AuthorizationError] Authorization is required
657
- 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)
658
- command = make_simple_command(:get, '{project}/global/deployments/{deployment}/manifests', options)
623
+ 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, options: nil, &block)
624
+ command = make_simple_command(:get, 'deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/manifests', options)
659
625
  command.response_representation = Google::Apis::DeploymentmanagerV2::ListManifestsResponse::Representation
660
626
  command.response_class = Google::Apis::DeploymentmanagerV2::ListManifestsResponse
661
627
  command.params['project'] = project unless project.nil?
@@ -664,9 +630,9 @@ module Google
664
630
  command.query['maxResults'] = max_results unless max_results.nil?
665
631
  command.query['orderBy'] = order_by unless order_by.nil?
666
632
  command.query['pageToken'] = page_token unless page_token.nil?
633
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
667
634
  command.query['fields'] = fields unless fields.nil?
668
635
  command.query['quotaUser'] = quota_user unless quota_user.nil?
669
- command.query['userIp'] = user_ip unless user_ip.nil?
670
636
  execute_or_queue_command(command, &block)
671
637
  end
672
638
 
@@ -678,10 +644,8 @@ module Google
678
644
  # @param [String] fields
679
645
  # Selector specifying which fields to include in a partial response.
680
646
  # @param [String] quota_user
681
- # An opaque string that represents a user for quota purposes. Must not exceed 40
682
- # characters.
683
- # @param [String] user_ip
684
- # Deprecated. Please use quotaUser instead.
647
+ # Available to use for quota purposes for server-side applications. Can be any
648
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
685
649
  # @param [Google::Apis::RequestOptions] options
686
650
  # Request-specific options
687
651
  #
@@ -694,15 +658,14 @@ module Google
694
658
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
695
659
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
696
660
  # @raise [Google::Apis::AuthorizationError] Authorization is required
697
- def get_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
698
- command = make_simple_command(:get, '{project}/global/operations/{operation}', options)
661
+ def get_operation(project, operation, fields: nil, quota_user: nil, options: nil, &block)
662
+ command = make_simple_command(:get, 'deploymentmanager/v2/projects/{project}/global/operations/{operation}', options)
699
663
  command.response_representation = Google::Apis::DeploymentmanagerV2::Operation::Representation
700
664
  command.response_class = Google::Apis::DeploymentmanagerV2::Operation
701
665
  command.params['project'] = project unless project.nil?
702
666
  command.params['operation'] = operation unless operation.nil?
703
667
  command.query['fields'] = fields unless fields.nil?
704
668
  command.query['quotaUser'] = quota_user unless quota_user.nil?
705
- command.query['userIp'] = user_ip unless user_ip.nil?
706
669
  execute_or_queue_command(command, &block)
707
670
  end
708
671
 
@@ -713,19 +676,18 @@ module Google
713
676
  # A filter expression that filters resources listed in the response. The
714
677
  # expression must specify the field name, a comparison operator, and the value
715
678
  # that you want to use for filtering. The value must be a string, a number, or a
716
- # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
717
- # For example, if you are filtering Compute Engine instances, you can exclude
679
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
680
+ # example, if you are filtering Compute Engine instances, you can exclude
718
681
  # instances named `example-instance` by specifying `name != example-instance`.
719
682
  # You can also filter nested fields. For example, you could specify `scheduling.
720
683
  # automaticRestart = false` to include instances only if they are not scheduled
721
684
  # for automatic restarts. You can use filtering on nested fields to filter based
722
- # on resource labels.
723
- # To filter on multiple expressions, provide each separate expression within
724
- # parentheses. For example: ``` (scheduling.automaticRestart = true) (
725
- # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
726
- # expression. However, you can include `AND` and `OR` expressions explicitly.
727
- # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
728
- # Broadwell") AND (scheduling.automaticRestart = true) ```
685
+ # on resource labels. To filter on multiple expressions, provide each separate
686
+ # expression within parentheses. For example: ``` (scheduling.automaticRestart =
687
+ # true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
688
+ # AND` expression. However, you can include `AND` and `OR` expressions
689
+ # explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
690
+ # "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
729
691
  # @param [Fixnum] max_results
730
692
  # The maximum number of results per page that should be returned. If the number
731
693
  # of available results is larger than `maxResults`, Compute Engine returns a `
@@ -733,23 +695,23 @@ module Google
733
695
  # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
734
696
  # @param [String] order_by
735
697
  # Sorts list results by a certain order. By default, results are returned in
736
- # alphanumerical order based on the resource name.
737
- # You can also sort results in descending order based on the creation timestamp
738
- # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
739
- # creationTimestamp` field in reverse chronological order (newest result first).
740
- # Use this to sort resources like operations so that the newest operation is
741
- # returned first.
698
+ # alphanumerical order based on the resource name. You can also sort results in
699
+ # descending order based on the creation timestamp using `orderBy="
700
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
701
+ # field in reverse chronological order (newest result first). Use this to sort
702
+ # resources like operations so that the newest operation is returned first.
742
703
  # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
743
704
  # @param [String] page_token
744
705
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
745
706
  # by a previous list request to get the next page of results.
707
+ # @param [Boolean] return_partial_success
708
+ # Opt-in for partial success behavior which provides partial results in case of
709
+ # failure. The default value is false and the logic is the same as today.
746
710
  # @param [String] fields
747
711
  # Selector specifying which fields to include in a partial response.
748
712
  # @param [String] quota_user
749
- # An opaque string that represents a user for quota purposes. Must not exceed 40
750
- # characters.
751
- # @param [String] user_ip
752
- # Deprecated. Please use quotaUser instead.
713
+ # Available to use for quota purposes for server-side applications. Can be any
714
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
753
715
  # @param [Google::Apis::RequestOptions] options
754
716
  # Request-specific options
755
717
  #
@@ -762,8 +724,8 @@ module Google
762
724
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
763
725
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
764
726
  # @raise [Google::Apis::AuthorizationError] Authorization is required
765
- 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)
766
- command = make_simple_command(:get, '{project}/global/operations', options)
727
+ def list_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
728
+ command = make_simple_command(:get, 'deploymentmanager/v2/projects/{project}/global/operations', options)
767
729
  command.response_representation = Google::Apis::DeploymentmanagerV2::ListOperationsResponse::Representation
768
730
  command.response_class = Google::Apis::DeploymentmanagerV2::ListOperationsResponse
769
731
  command.params['project'] = project unless project.nil?
@@ -771,9 +733,9 @@ module Google
771
733
  command.query['maxResults'] = max_results unless max_results.nil?
772
734
  command.query['orderBy'] = order_by unless order_by.nil?
773
735
  command.query['pageToken'] = page_token unless page_token.nil?
736
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
774
737
  command.query['fields'] = fields unless fields.nil?
775
738
  command.query['quotaUser'] = quota_user unless quota_user.nil?
776
- command.query['userIp'] = user_ip unless user_ip.nil?
777
739
  execute_or_queue_command(command, &block)
778
740
  end
779
741
 
@@ -787,10 +749,8 @@ module Google
787
749
  # @param [String] fields
788
750
  # Selector specifying which fields to include in a partial response.
789
751
  # @param [String] quota_user
790
- # An opaque string that represents a user for quota purposes. Must not exceed 40
791
- # characters.
792
- # @param [String] user_ip
793
- # Deprecated. Please use quotaUser instead.
752
+ # Available to use for quota purposes for server-side applications. Can be any
753
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
794
754
  # @param [Google::Apis::RequestOptions] options
795
755
  # Request-specific options
796
756
  #
@@ -803,8 +763,8 @@ module Google
803
763
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
804
764
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
805
765
  # @raise [Google::Apis::AuthorizationError] Authorization is required
806
- def get_resource(project, deployment, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
807
- command = make_simple_command(:get, '{project}/global/deployments/{deployment}/resources/{resource}', options)
766
+ def get_resource(project, deployment, resource, fields: nil, quota_user: nil, options: nil, &block)
767
+ command = make_simple_command(:get, 'deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/resources/{resource}', options)
808
768
  command.response_representation = Google::Apis::DeploymentmanagerV2::Resource::Representation
809
769
  command.response_class = Google::Apis::DeploymentmanagerV2::Resource
810
770
  command.params['project'] = project unless project.nil?
@@ -812,7 +772,6 @@ module Google
812
772
  command.params['resource'] = resource unless resource.nil?
813
773
  command.query['fields'] = fields unless fields.nil?
814
774
  command.query['quotaUser'] = quota_user unless quota_user.nil?
815
- command.query['userIp'] = user_ip unless user_ip.nil?
816
775
  execute_or_queue_command(command, &block)
817
776
  end
818
777
 
@@ -825,19 +784,18 @@ module Google
825
784
  # A filter expression that filters resources listed in the response. The
826
785
  # expression must specify the field name, a comparison operator, and the value
827
786
  # that you want to use for filtering. The value must be a string, a number, or a
828
- # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
829
- # For example, if you are filtering Compute Engine instances, you can exclude
787
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
788
+ # example, if you are filtering Compute Engine instances, you can exclude
830
789
  # instances named `example-instance` by specifying `name != example-instance`.
831
790
  # You can also filter nested fields. For example, you could specify `scheduling.
832
791
  # automaticRestart = false` to include instances only if they are not scheduled
833
792
  # for automatic restarts. You can use filtering on nested fields to filter based
834
- # on resource labels.
835
- # To filter on multiple expressions, provide each separate expression within
836
- # parentheses. For example: ``` (scheduling.automaticRestart = true) (
837
- # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
838
- # expression. However, you can include `AND` and `OR` expressions explicitly.
839
- # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
840
- # Broadwell") AND (scheduling.automaticRestart = true) ```
793
+ # on resource labels. To filter on multiple expressions, provide each separate
794
+ # expression within parentheses. For example: ``` (scheduling.automaticRestart =
795
+ # true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
796
+ # AND` expression. However, you can include `AND` and `OR` expressions
797
+ # explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
798
+ # "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
841
799
  # @param [Fixnum] max_results
842
800
  # The maximum number of results per page that should be returned. If the number
843
801
  # of available results is larger than `maxResults`, Compute Engine returns a `
@@ -845,23 +803,23 @@ module Google
845
803
  # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
846
804
  # @param [String] order_by
847
805
  # Sorts list results by a certain order. By default, results are returned in
848
- # alphanumerical order based on the resource name.
849
- # You can also sort results in descending order based on the creation timestamp
850
- # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
851
- # creationTimestamp` field in reverse chronological order (newest result first).
852
- # Use this to sort resources like operations so that the newest operation is
853
- # returned first.
806
+ # alphanumerical order based on the resource name. You can also sort results in
807
+ # descending order based on the creation timestamp using `orderBy="
808
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
809
+ # field in reverse chronological order (newest result first). Use this to sort
810
+ # resources like operations so that the newest operation is returned first.
854
811
  # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
855
812
  # @param [String] page_token
856
813
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
857
814
  # by a previous list request to get the next page of results.
815
+ # @param [Boolean] return_partial_success
816
+ # Opt-in for partial success behavior which provides partial results in case of
817
+ # failure. The default value is false and the logic is the same as today.
858
818
  # @param [String] fields
859
819
  # Selector specifying which fields to include in a partial response.
860
820
  # @param [String] quota_user
861
- # An opaque string that represents a user for quota purposes. Must not exceed 40
862
- # characters.
863
- # @param [String] user_ip
864
- # Deprecated. Please use quotaUser instead.
821
+ # Available to use for quota purposes for server-side applications. Can be any
822
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
865
823
  # @param [Google::Apis::RequestOptions] options
866
824
  # Request-specific options
867
825
  #
@@ -874,8 +832,8 @@ module Google
874
832
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
875
833
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
876
834
  # @raise [Google::Apis::AuthorizationError] Authorization is required
877
- 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)
878
- command = make_simple_command(:get, '{project}/global/deployments/{deployment}/resources', options)
835
+ 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, options: nil, &block)
836
+ command = make_simple_command(:get, 'deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/resources', options)
879
837
  command.response_representation = Google::Apis::DeploymentmanagerV2::ListResourcesResponse::Representation
880
838
  command.response_class = Google::Apis::DeploymentmanagerV2::ListResourcesResponse
881
839
  command.params['project'] = project unless project.nil?
@@ -884,9 +842,9 @@ module Google
884
842
  command.query['maxResults'] = max_results unless max_results.nil?
885
843
  command.query['orderBy'] = order_by unless order_by.nil?
886
844
  command.query['pageToken'] = page_token unless page_token.nil?
845
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
887
846
  command.query['fields'] = fields unless fields.nil?
888
847
  command.query['quotaUser'] = quota_user unless quota_user.nil?
889
- command.query['userIp'] = user_ip unless user_ip.nil?
890
848
  execute_or_queue_command(command, &block)
891
849
  end
892
850
 
@@ -897,19 +855,18 @@ module Google
897
855
  # A filter expression that filters resources listed in the response. The
898
856
  # expression must specify the field name, a comparison operator, and the value
899
857
  # that you want to use for filtering. The value must be a string, a number, or a
900
- # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
901
- # For example, if you are filtering Compute Engine instances, you can exclude
858
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
859
+ # example, if you are filtering Compute Engine instances, you can exclude
902
860
  # instances named `example-instance` by specifying `name != example-instance`.
903
861
  # You can also filter nested fields. For example, you could specify `scheduling.
904
862
  # automaticRestart = false` to include instances only if they are not scheduled
905
863
  # for automatic restarts. You can use filtering on nested fields to filter based
906
- # on resource labels.
907
- # To filter on multiple expressions, provide each separate expression within
908
- # parentheses. For example: ``` (scheduling.automaticRestart = true) (
909
- # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
910
- # expression. However, you can include `AND` and `OR` expressions explicitly.
911
- # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
912
- # Broadwell") AND (scheduling.automaticRestart = true) ```
864
+ # on resource labels. To filter on multiple expressions, provide each separate
865
+ # expression within parentheses. For example: ``` (scheduling.automaticRestart =
866
+ # true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
867
+ # AND` expression. However, you can include `AND` and `OR` expressions
868
+ # explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
869
+ # "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
913
870
  # @param [Fixnum] max_results
914
871
  # The maximum number of results per page that should be returned. If the number
915
872
  # of available results is larger than `maxResults`, Compute Engine returns a `
@@ -917,23 +874,23 @@ module Google
917
874
  # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
918
875
  # @param [String] order_by
919
876
  # Sorts list results by a certain order. By default, results are returned in
920
- # alphanumerical order based on the resource name.
921
- # You can also sort results in descending order based on the creation timestamp
922
- # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
923
- # creationTimestamp` field in reverse chronological order (newest result first).
924
- # Use this to sort resources like operations so that the newest operation is
925
- # returned first.
877
+ # alphanumerical order based on the resource name. You can also sort results in
878
+ # descending order based on the creation timestamp using `orderBy="
879
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
880
+ # field in reverse chronological order (newest result first). Use this to sort
881
+ # resources like operations so that the newest operation is returned first.
926
882
  # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
927
883
  # @param [String] page_token
928
884
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
929
885
  # by a previous list request to get the next page of results.
886
+ # @param [Boolean] return_partial_success
887
+ # Opt-in for partial success behavior which provides partial results in case of
888
+ # failure. The default value is false and the logic is the same as today.
930
889
  # @param [String] fields
931
890
  # Selector specifying which fields to include in a partial response.
932
891
  # @param [String] quota_user
933
- # An opaque string that represents a user for quota purposes. Must not exceed 40
934
- # characters.
935
- # @param [String] user_ip
936
- # Deprecated. Please use quotaUser instead.
892
+ # Available to use for quota purposes for server-side applications. Can be any
893
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
937
894
  # @param [Google::Apis::RequestOptions] options
938
895
  # Request-specific options
939
896
  #
@@ -946,8 +903,8 @@ module Google
946
903
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
947
904
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
948
905
  # @raise [Google::Apis::AuthorizationError] Authorization is required
949
- 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)
950
- command = make_simple_command(:get, '{project}/global/types', options)
906
+ def list_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
907
+ command = make_simple_command(:get, 'deploymentmanager/v2/projects/{project}/global/types', options)
951
908
  command.response_representation = Google::Apis::DeploymentmanagerV2::ListTypesResponse::Representation
952
909
  command.response_class = Google::Apis::DeploymentmanagerV2::ListTypesResponse
953
910
  command.params['project'] = project unless project.nil?
@@ -955,9 +912,9 @@ module Google
955
912
  command.query['maxResults'] = max_results unless max_results.nil?
956
913
  command.query['orderBy'] = order_by unless order_by.nil?
957
914
  command.query['pageToken'] = page_token unless page_token.nil?
915
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
958
916
  command.query['fields'] = fields unless fields.nil?
959
917
  command.query['quotaUser'] = quota_user unless quota_user.nil?
960
- command.query['userIp'] = user_ip unless user_ip.nil?
961
918
  execute_or_queue_command(command, &block)
962
919
  end
963
920
 
@@ -966,7 +923,6 @@ module Google
966
923
  def apply_command_defaults(command)
967
924
  command.query['key'] = key unless key.nil?
968
925
  command.query['quotaUser'] = quota_user unless quota_user.nil?
969
- command.query['userIp'] = user_ip unless user_ip.nil?
970
926
  end
971
927
  end
972
928
  end