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
@@ -40,12 +40,6 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
- class AuthorizationLoggingOptions
44
- class Representation < Google::Apis::Core::JsonRepresentation; end
45
-
46
- include Google::Apis::Core::JsonObjectSupport
47
- end
48
-
49
43
  class BaseType
50
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
45
 
@@ -88,12 +82,6 @@ module Google
88
82
  include Google::Apis::Core::JsonObjectSupport
89
83
  end
90
84
 
91
- class Condition
92
- class Representation < Google::Apis::Core::JsonRepresentation; end
93
-
94
- include Google::Apis::Core::JsonObjectSupport
95
- end
96
-
97
85
  class ConfigFile
98
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
87
 
@@ -178,36 +166,6 @@ module Google
178
166
  include Google::Apis::Core::JsonObjectSupport
179
167
  end
180
168
 
181
- class LogConfig
182
- class Representation < Google::Apis::Core::JsonRepresentation; end
183
-
184
- include Google::Apis::Core::JsonObjectSupport
185
- end
186
-
187
- class LogConfigCloudAuditOptions
188
- class Representation < Google::Apis::Core::JsonRepresentation; end
189
-
190
- include Google::Apis::Core::JsonObjectSupport
191
- end
192
-
193
- class LogConfigCounterOptions
194
- class Representation < Google::Apis::Core::JsonRepresentation; end
195
-
196
- include Google::Apis::Core::JsonObjectSupport
197
- end
198
-
199
- class LogConfigCounterOptionsCustomField
200
- class Representation < Google::Apis::Core::JsonRepresentation; end
201
-
202
- include Google::Apis::Core::JsonObjectSupport
203
- end
204
-
205
- class LogConfigDataAccessOptions
206
- class Representation < Google::Apis::Core::JsonRepresentation; end
207
-
208
- include Google::Apis::Core::JsonObjectSupport
209
- end
210
-
211
169
  class Manifest
212
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
171
 
@@ -334,12 +292,6 @@ module Google
334
292
  include Google::Apis::Core::JsonObjectSupport
335
293
  end
336
294
 
337
- class Rule
338
- class Representation < Google::Apis::Core::JsonRepresentation; end
339
-
340
- include Google::Apis::Core::JsonObjectSupport
341
- end
342
-
343
295
  class ServiceAccount
344
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
297
 
@@ -444,7 +396,6 @@ module Google
444
396
  class Representation < Google::Apis::Core::JsonRepresentation
445
397
  collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::DeploymentmanagerV2beta::AuditLogConfig, decorator: Google::Apis::DeploymentmanagerV2beta::AuditLogConfig::Representation
446
398
 
447
- collection :exempted_members, as: 'exemptedMembers'
448
399
  property :service, as: 'service'
449
400
  end
450
401
  end
@@ -453,18 +404,10 @@ module Google
453
404
  # @private
454
405
  class Representation < Google::Apis::Core::JsonRepresentation
455
406
  collection :exempted_members, as: 'exemptedMembers'
456
- property :ignore_child_exemptions, as: 'ignoreChildExemptions'
457
407
  property :log_type, as: 'logType'
458
408
  end
459
409
  end
460
410
 
461
- class AuthorizationLoggingOptions
462
- # @private
463
- class Representation < Google::Apis::Core::JsonRepresentation
464
- property :permission_type, as: 'permissionType'
465
- end
466
- end
467
-
468
411
  class BaseType
469
412
  # @private
470
413
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -540,17 +483,6 @@ module Google
540
483
  end
541
484
  end
542
485
 
543
- class Condition
544
- # @private
545
- class Representation < Google::Apis::Core::JsonRepresentation
546
- property :iam, as: 'iam'
547
- property :op, as: 'op'
548
- property :svc, as: 'svc'
549
- property :sys, as: 'sys'
550
- collection :values, as: 'values'
551
- end
552
- end
553
-
554
486
  class ConfigFile
555
487
  # @private
556
488
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -687,52 +619,6 @@ module Google
687
619
  end
688
620
  end
689
621
 
690
- class LogConfig
691
- # @private
692
- class Representation < Google::Apis::Core::JsonRepresentation
693
- property :cloud_audit, as: 'cloudAudit', class: Google::Apis::DeploymentmanagerV2beta::LogConfigCloudAuditOptions, decorator: Google::Apis::DeploymentmanagerV2beta::LogConfigCloudAuditOptions::Representation
694
-
695
- property :counter, as: 'counter', class: Google::Apis::DeploymentmanagerV2beta::LogConfigCounterOptions, decorator: Google::Apis::DeploymentmanagerV2beta::LogConfigCounterOptions::Representation
696
-
697
- property :data_access, as: 'dataAccess', class: Google::Apis::DeploymentmanagerV2beta::LogConfigDataAccessOptions, decorator: Google::Apis::DeploymentmanagerV2beta::LogConfigDataAccessOptions::Representation
698
-
699
- end
700
- end
701
-
702
- class LogConfigCloudAuditOptions
703
- # @private
704
- class Representation < Google::Apis::Core::JsonRepresentation
705
- property :authorization_logging_options, as: 'authorizationLoggingOptions', class: Google::Apis::DeploymentmanagerV2beta::AuthorizationLoggingOptions, decorator: Google::Apis::DeploymentmanagerV2beta::AuthorizationLoggingOptions::Representation
706
-
707
- property :log_name, as: 'logName'
708
- end
709
- end
710
-
711
- class LogConfigCounterOptions
712
- # @private
713
- class Representation < Google::Apis::Core::JsonRepresentation
714
- collection :custom_fields, as: 'customFields', class: Google::Apis::DeploymentmanagerV2beta::LogConfigCounterOptionsCustomField, decorator: Google::Apis::DeploymentmanagerV2beta::LogConfigCounterOptionsCustomField::Representation
715
-
716
- property :field, as: 'field'
717
- property :metric, as: 'metric'
718
- end
719
- end
720
-
721
- class LogConfigCounterOptionsCustomField
722
- # @private
723
- class Representation < Google::Apis::Core::JsonRepresentation
724
- property :name, as: 'name'
725
- property :value, as: 'value'
726
- end
727
- end
728
-
729
- class LogConfigDataAccessOptions
730
- # @private
731
- class Representation < Google::Apis::Core::JsonRepresentation
732
- property :log_mode, as: 'logMode'
733
- end
734
- end
735
-
736
622
  class Manifest
737
623
  # @private
738
624
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -854,9 +740,6 @@ module Google
854
740
  collection :bindings, as: 'bindings', class: Google::Apis::DeploymentmanagerV2beta::Binding, decorator: Google::Apis::DeploymentmanagerV2beta::Binding::Representation
855
741
 
856
742
  property :etag, :base64 => true, as: 'etag'
857
- property :iam_owned, as: 'iamOwned'
858
- collection :rules, as: 'rules', class: Google::Apis::DeploymentmanagerV2beta::Rule, decorator: Google::Apis::DeploymentmanagerV2beta::Rule::Representation
859
-
860
743
  property :version, as: 'version'
861
744
  end
862
745
  end
@@ -980,21 +863,6 @@ module Google
980
863
  end
981
864
  end
982
865
 
983
- class Rule
984
- # @private
985
- class Representation < Google::Apis::Core::JsonRepresentation
986
- property :action, as: 'action'
987
- collection :conditions, as: 'conditions', class: Google::Apis::DeploymentmanagerV2beta::Condition, decorator: Google::Apis::DeploymentmanagerV2beta::Condition::Representation
988
-
989
- property :description, as: 'description'
990
- collection :ins, as: 'ins'
991
- collection :log_configs, as: 'logConfigs', class: Google::Apis::DeploymentmanagerV2beta::LogConfig, decorator: Google::Apis::DeploymentmanagerV2beta::LogConfig::Representation
992
-
993
- collection :not_ins, as: 'notIns'
994
- collection :permissions, as: 'permissions'
995
- end
996
- end
997
-
998
866
  class ServiceAccount
999
867
  # @private
1000
868
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -20,36 +20,33 @@ require 'google/apis/errors'
20
20
  module Google
21
21
  module Apis
22
22
  module DeploymentmanagerV2beta
23
- # Google Cloud Deployment Manager API V2Beta Methods
23
+ # Cloud Deployment Manager V2 API
24
24
  #
25
- # The Deployment Manager API allows users to declaratively configure, deploy and
26
- # run complex solutions on the 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.
27
28
  #
28
29
  # @example
29
30
  # require 'google/apis/deploymentmanager_v2beta'
30
31
  #
31
32
  # Deploymentmanager = Google::Apis::DeploymentmanagerV2beta # Alias the module
32
- # service = Deploymentmanager::DeploymentManagerV2BetaService.new
33
+ # service = Deploymentmanager::DeploymentManagerService.new
33
34
  #
34
- # @see https://developers.google.com/deployment-manager/
35
- class DeploymentManagerV2BetaService < Google::Apis::Core::BaseService
35
+ # @see http://cloud.google.com/deployment-manager
36
+ class DeploymentManagerService < Google::Apis::Core::BaseService
36
37
  # @return [String]
37
38
  # API key. Your API key identifies your project and provides you with API access,
38
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
39
40
  attr_accessor :key
40
41
 
41
42
  # @return [String]
42
- # An opaque string that represents a user for quota purposes. Must not exceed 40
43
- # 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.
44
45
  attr_accessor :quota_user
45
46
 
46
- # @return [String]
47
- # Deprecated. Please use quotaUser instead.
48
- attr_accessor :user_ip
49
-
50
47
  def initialize
51
- super('https://www.googleapis.com/', 'deploymentmanager/v2beta/projects/')
52
- @batch_path = 'batch/deploymentmanager/v2beta'
48
+ super('https://deploymentmanager.googleapis.com/', '')
49
+ @batch_path = 'batch'
53
50
  end
54
51
 
55
52
  # Deletes a composite type.
@@ -60,10 +57,8 @@ module Google
60
57
  # @param [String] fields
61
58
  # Selector specifying which fields to include in a partial response.
62
59
  # @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.
60
+ # Available to use for quota purposes for server-side applications. Can be any
61
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
67
62
  # @param [Google::Apis::RequestOptions] options
68
63
  # Request-specific options
69
64
  #
@@ -76,15 +71,14 @@ module Google
76
71
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
77
72
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
78
73
  # @raise [Google::Apis::AuthorizationError] Authorization is required
79
- def delete_composite_type(project, composite_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
80
- command = make_simple_command(:delete, '{project}/global/compositeTypes/{compositeType}', options)
74
+ def delete_composite_type(project, composite_type, fields: nil, quota_user: nil, options: nil, &block)
75
+ command = make_simple_command(:delete, 'deploymentmanager/v2beta/projects/{project}/global/compositeTypes/{compositeType}', options)
81
76
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
82
77
  command.response_class = Google::Apis::DeploymentmanagerV2beta::Operation
83
78
  command.params['project'] = project unless project.nil?
84
79
  command.params['compositeType'] = composite_type unless composite_type.nil?
85
80
  command.query['fields'] = fields unless fields.nil?
86
81
  command.query['quotaUser'] = quota_user unless quota_user.nil?
87
- command.query['userIp'] = user_ip unless user_ip.nil?
88
82
  execute_or_queue_command(command, &block)
89
83
  end
90
84
 
@@ -96,10 +90,8 @@ module Google
96
90
  # @param [String] fields
97
91
  # Selector specifying which fields to include in a partial response.
98
92
  # @param [String] quota_user
99
- # An opaque string that represents a user for quota purposes. Must not exceed 40
100
- # characters.
101
- # @param [String] user_ip
102
- # Deprecated. Please use quotaUser instead.
93
+ # Available to use for quota purposes for server-side applications. Can be any
94
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
103
95
  # @param [Google::Apis::RequestOptions] options
104
96
  # Request-specific options
105
97
  #
@@ -112,15 +104,14 @@ module Google
112
104
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
113
105
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
114
106
  # @raise [Google::Apis::AuthorizationError] Authorization is required
115
- def get_composite_type(project, composite_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
116
- command = make_simple_command(:get, '{project}/global/compositeTypes/{compositeType}', options)
107
+ def get_composite_type(project, composite_type, fields: nil, quota_user: nil, options: nil, &block)
108
+ command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/compositeTypes/{compositeType}', options)
117
109
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::CompositeType::Representation
118
110
  command.response_class = Google::Apis::DeploymentmanagerV2beta::CompositeType
119
111
  command.params['project'] = project unless project.nil?
120
112
  command.params['compositeType'] = composite_type unless composite_type.nil?
121
113
  command.query['fields'] = fields unless fields.nil?
122
114
  command.query['quotaUser'] = quota_user unless quota_user.nil?
123
- command.query['userIp'] = user_ip unless user_ip.nil?
124
115
  execute_or_queue_command(command, &block)
125
116
  end
126
117
 
@@ -131,10 +122,8 @@ module Google
131
122
  # @param [String] fields
132
123
  # Selector specifying which fields to include in a partial response.
133
124
  # @param [String] quota_user
134
- # An opaque string that represents a user for quota purposes. Must not exceed 40
135
- # characters.
136
- # @param [String] user_ip
137
- # Deprecated. Please use quotaUser instead.
125
+ # Available to use for quota purposes for server-side applications. Can be any
126
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
138
127
  # @param [Google::Apis::RequestOptions] options
139
128
  # Request-specific options
140
129
  #
@@ -147,8 +136,8 @@ module Google
147
136
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
148
137
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
149
138
  # @raise [Google::Apis::AuthorizationError] Authorization is required
150
- def insert_composite_type(project, composite_type_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
151
- command = make_simple_command(:post, '{project}/global/compositeTypes', options)
139
+ def insert_composite_type(project, composite_type_object = nil, fields: nil, quota_user: nil, options: nil, &block)
140
+ command = make_simple_command(:post, 'deploymentmanager/v2beta/projects/{project}/global/compositeTypes', options)
152
141
  command.request_representation = Google::Apis::DeploymentmanagerV2beta::CompositeType::Representation
153
142
  command.request_object = composite_type_object
154
143
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
@@ -156,7 +145,6 @@ module Google
156
145
  command.params['project'] = project unless project.nil?
157
146
  command.query['fields'] = fields unless fields.nil?
158
147
  command.query['quotaUser'] = quota_user unless quota_user.nil?
159
- command.query['userIp'] = user_ip unless user_ip.nil?
160
148
  execute_or_queue_command(command, &block)
161
149
  end
162
150
 
@@ -167,19 +155,18 @@ module Google
167
155
  # A filter expression that filters resources listed in the response. The
168
156
  # expression must specify the field name, a comparison operator, and the value
169
157
  # 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 `<`.
171
- # For example, if you are filtering Compute Engine instances, you can exclude
158
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
159
+ # example, if you are filtering Compute Engine instances, you can exclude
172
160
  # instances named `example-instance` by specifying `name != example-instance`.
173
161
  # You can also filter nested fields. For example, you could specify `scheduling.
174
162
  # automaticRestart = false` to include instances only if they are not scheduled
175
163
  # for automatic restarts. You can use filtering on nested fields to filter based
176
- # on resource labels.
177
- # To filter on multiple expressions, provide each separate expression within
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) ```
164
+ # on resource labels. To filter on multiple expressions, provide each separate
165
+ # expression within parentheses. For example: ``` (scheduling.automaticRestart =
166
+ # true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
167
+ # AND` expression. However, you can include `AND` and `OR` expressions
168
+ # explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
169
+ # "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
183
170
  # @param [Fixnum] max_results
184
171
  # The maximum number of results per page that should be returned. If the number
185
172
  # of available results is larger than `maxResults`, Compute Engine returns a `
@@ -187,23 +174,23 @@ module Google
187
174
  # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
188
175
  # @param [String] order_by
189
176
  # Sorts list results by a certain order. By default, results are returned in
190
- # alphanumerical order based on the resource name.
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).
194
- # Use this to sort resources like operations so that the newest operation is
195
- # returned first.
177
+ # alphanumerical order based on the resource name. You can also sort results in
178
+ # descending order based on the creation timestamp using `orderBy="
179
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
180
+ # field in reverse chronological order (newest result first). Use this to sort
181
+ # resources like operations so that the newest operation is returned first.
196
182
  # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
197
183
  # @param [String] page_token
198
184
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
199
185
  # by a previous list request to get the next page of results.
186
+ # @param [Boolean] return_partial_success
187
+ # Opt-in for partial success behavior which provides partial results in case of
188
+ # failure. The default value is false and the logic is the same as today.
200
189
  # @param [String] fields
201
190
  # Selector specifying which fields to include in a partial response.
202
191
  # @param [String] quota_user
203
- # An opaque string that represents a user for quota purposes. Must not exceed 40
204
- # characters.
205
- # @param [String] user_ip
206
- # Deprecated. Please use quotaUser instead.
192
+ # Available to use for quota purposes for server-side applications. Can be any
193
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
207
194
  # @param [Google::Apis::RequestOptions] options
208
195
  # Request-specific options
209
196
  #
@@ -216,8 +203,8 @@ module Google
216
203
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
217
204
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
218
205
  # @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)
220
- command = make_simple_command(:get, '{project}/global/compositeTypes', options)
206
+ 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, options: nil, &block)
207
+ command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/compositeTypes', options)
221
208
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::CompositeTypesListResponse::Representation
222
209
  command.response_class = Google::Apis::DeploymentmanagerV2beta::CompositeTypesListResponse
223
210
  command.params['project'] = project unless project.nil?
@@ -225,9 +212,9 @@ module Google
225
212
  command.query['maxResults'] = max_results unless max_results.nil?
226
213
  command.query['orderBy'] = order_by unless order_by.nil?
227
214
  command.query['pageToken'] = page_token unless page_token.nil?
215
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
228
216
  command.query['fields'] = fields unless fields.nil?
229
217
  command.query['quotaUser'] = quota_user unless quota_user.nil?
230
- command.query['userIp'] = user_ip unless user_ip.nil?
231
218
  execute_or_queue_command(command, &block)
232
219
  end
233
220
 
@@ -240,10 +227,8 @@ module Google
240
227
  # @param [String] fields
241
228
  # Selector specifying which fields to include in a partial response.
242
229
  # @param [String] quota_user
243
- # An opaque string that represents a user for quota purposes. Must not exceed 40
244
- # characters.
245
- # @param [String] user_ip
246
- # Deprecated. Please use quotaUser instead.
230
+ # Available to use for quota purposes for server-side applications. Can be any
231
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
247
232
  # @param [Google::Apis::RequestOptions] options
248
233
  # Request-specific options
249
234
  #
@@ -256,8 +241,8 @@ module Google
256
241
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
257
242
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
258
243
  # @raise [Google::Apis::AuthorizationError] Authorization is required
259
- def patch_composite_type(project, composite_type, composite_type_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
260
- command = make_simple_command(:patch, '{project}/global/compositeTypes/{compositeType}', options)
244
+ def patch_composite_type(project, composite_type, composite_type_object = nil, fields: nil, quota_user: nil, options: nil, &block)
245
+ command = make_simple_command(:patch, 'deploymentmanager/v2beta/projects/{project}/global/compositeTypes/{compositeType}', options)
261
246
  command.request_representation = Google::Apis::DeploymentmanagerV2beta::CompositeType::Representation
262
247
  command.request_object = composite_type_object
263
248
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
@@ -266,7 +251,6 @@ module Google
266
251
  command.params['compositeType'] = composite_type unless composite_type.nil?
267
252
  command.query['fields'] = fields unless fields.nil?
268
253
  command.query['quotaUser'] = quota_user unless quota_user.nil?
269
- command.query['userIp'] = user_ip unless user_ip.nil?
270
254
  execute_or_queue_command(command, &block)
271
255
  end
272
256
 
@@ -279,10 +263,8 @@ module Google
279
263
  # @param [String] fields
280
264
  # Selector specifying which fields to include in a partial response.
281
265
  # @param [String] quota_user
282
- # An opaque string that represents a user for quota purposes. Must not exceed 40
283
- # characters.
284
- # @param [String] user_ip
285
- # Deprecated. Please use quotaUser instead.
266
+ # Available to use for quota purposes for server-side applications. Can be any
267
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
286
268
  # @param [Google::Apis::RequestOptions] options
287
269
  # Request-specific options
288
270
  #
@@ -295,8 +277,8 @@ module Google
295
277
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
296
278
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
297
279
  # @raise [Google::Apis::AuthorizationError] Authorization is required
298
- def update_composite_type(project, composite_type, composite_type_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
299
- command = make_simple_command(:put, '{project}/global/compositeTypes/{compositeType}', options)
280
+ def update_composite_type(project, composite_type, composite_type_object = nil, fields: nil, quota_user: nil, options: nil, &block)
281
+ command = make_simple_command(:put, 'deploymentmanager/v2beta/projects/{project}/global/compositeTypes/{compositeType}', options)
300
282
  command.request_representation = Google::Apis::DeploymentmanagerV2beta::CompositeType::Representation
301
283
  command.request_object = composite_type_object
302
284
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
@@ -305,7 +287,6 @@ module Google
305
287
  command.params['compositeType'] = composite_type unless composite_type.nil?
306
288
  command.query['fields'] = fields unless fields.nil?
307
289
  command.query['quotaUser'] = quota_user unless quota_user.nil?
308
- command.query['userIp'] = user_ip unless user_ip.nil?
309
290
  execute_or_queue_command(command, &block)
310
291
  end
311
292
 
@@ -318,10 +299,8 @@ module Google
318
299
  # @param [String] fields
319
300
  # Selector specifying which fields to include in a partial response.
320
301
  # @param [String] quota_user
321
- # An opaque string that represents a user for quota purposes. Must not exceed 40
322
- # characters.
323
- # @param [String] user_ip
324
- # Deprecated. Please use quotaUser instead.
302
+ # Available to use for quota purposes for server-side applications. Can be any
303
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
325
304
  # @param [Google::Apis::RequestOptions] options
326
305
  # Request-specific options
327
306
  #
@@ -334,8 +313,8 @@ module Google
334
313
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
335
314
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
336
315
  # @raise [Google::Apis::AuthorizationError] Authorization is required
337
- def cancel_deployment_preview(project, deployment, deployments_cancel_preview_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
338
- command = make_simple_command(:post, '{project}/global/deployments/{deployment}/cancelPreview', options)
316
+ def cancel_deployment_preview(project, deployment, deployments_cancel_preview_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
317
+ command = make_simple_command(:post, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/cancelPreview', options)
339
318
  command.request_representation = Google::Apis::DeploymentmanagerV2beta::DeploymentsCancelPreviewRequest::Representation
340
319
  command.request_object = deployments_cancel_preview_request_object
341
320
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
@@ -344,7 +323,6 @@ module Google
344
323
  command.params['deployment'] = deployment unless deployment.nil?
345
324
  command.query['fields'] = fields unless fields.nil?
346
325
  command.query['quotaUser'] = quota_user unless quota_user.nil?
347
- command.query['userIp'] = user_ip unless user_ip.nil?
348
326
  execute_or_queue_command(command, &block)
349
327
  end
350
328
 
@@ -358,10 +336,8 @@ module Google
358
336
  # @param [String] fields
359
337
  # Selector specifying which fields to include in a partial response.
360
338
  # @param [String] quota_user
361
- # An opaque string that represents a user for quota purposes. Must not exceed 40
362
- # characters.
363
- # @param [String] user_ip
364
- # Deprecated. Please use quotaUser instead.
339
+ # Available to use for quota purposes for server-side applications. Can be any
340
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
365
341
  # @param [Google::Apis::RequestOptions] options
366
342
  # Request-specific options
367
343
  #
@@ -374,8 +350,8 @@ module Google
374
350
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
375
351
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
376
352
  # @raise [Google::Apis::AuthorizationError] Authorization is required
377
- def delete_deployment(project, deployment, delete_policy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
378
- command = make_simple_command(:delete, '{project}/global/deployments/{deployment}', options)
353
+ def delete_deployment(project, deployment, delete_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
354
+ command = make_simple_command(:delete, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}', options)
379
355
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
380
356
  command.response_class = Google::Apis::DeploymentmanagerV2beta::Operation
381
357
  command.params['project'] = project unless project.nil?
@@ -383,7 +359,6 @@ module Google
383
359
  command.query['deletePolicy'] = delete_policy unless delete_policy.nil?
384
360
  command.query['fields'] = fields unless fields.nil?
385
361
  command.query['quotaUser'] = quota_user unless quota_user.nil?
386
- command.query['userIp'] = user_ip unless user_ip.nil?
387
362
  execute_or_queue_command(command, &block)
388
363
  end
389
364
 
@@ -395,10 +370,8 @@ module Google
395
370
  # @param [String] fields
396
371
  # Selector specifying which fields to include in a partial response.
397
372
  # @param [String] quota_user
398
- # An opaque string that represents a user for quota purposes. Must not exceed 40
399
- # characters.
400
- # @param [String] user_ip
401
- # Deprecated. Please use quotaUser instead.
373
+ # Available to use for quota purposes for server-side applications. Can be any
374
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
402
375
  # @param [Google::Apis::RequestOptions] options
403
376
  # Request-specific options
404
377
  #
@@ -411,15 +384,14 @@ module Google
411
384
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
412
385
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
413
386
  # @raise [Google::Apis::AuthorizationError] Authorization is required
414
- def get_deployment(project, deployment, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
415
- command = make_simple_command(:get, '{project}/global/deployments/{deployment}', options)
387
+ def get_deployment(project, deployment, fields: nil, quota_user: nil, options: nil, &block)
388
+ command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}', options)
416
389
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::Deployment::Representation
417
390
  command.response_class = Google::Apis::DeploymentmanagerV2beta::Deployment
418
391
  command.params['project'] = project unless project.nil?
419
392
  command.params['deployment'] = deployment unless deployment.nil?
420
393
  command.query['fields'] = fields unless fields.nil?
421
394
  command.query['quotaUser'] = quota_user unless quota_user.nil?
422
- command.query['userIp'] = user_ip unless user_ip.nil?
423
395
  execute_or_queue_command(command, &block)
424
396
  end
425
397
 
@@ -429,13 +401,13 @@ module Google
429
401
  # Project ID for this request.
430
402
  # @param [String] resource
431
403
  # Name or id of the resource for this request.
404
+ # @param [Fixnum] options_requested_policy_version
405
+ # Requested IAM Policy version.
432
406
  # @param [String] fields
433
407
  # Selector specifying which fields to include in a partial response.
434
408
  # @param [String] quota_user
435
- # An opaque string that represents a user for quota purposes. Must not exceed 40
436
- # characters.
437
- # @param [String] user_ip
438
- # Deprecated. Please use quotaUser instead.
409
+ # Available to use for quota purposes for server-side applications. Can be any
410
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
439
411
  # @param [Google::Apis::RequestOptions] options
440
412
  # Request-specific options
441
413
  #
@@ -448,15 +420,15 @@ module Google
448
420
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
449
421
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
450
422
  # @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)
452
- command = make_simple_command(:get, '{project}/global/deployments/{resource}/getIamPolicy', options)
423
+ def get_deployment_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
424
+ command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{resource}/getIamPolicy', options)
453
425
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::Policy::Representation
454
426
  command.response_class = Google::Apis::DeploymentmanagerV2beta::Policy
455
427
  command.params['project'] = project unless project.nil?
456
428
  command.params['resource'] = resource unless resource.nil?
429
+ command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
457
430
  command.query['fields'] = fields unless fields.nil?
458
431
  command.query['quotaUser'] = quota_user unless quota_user.nil?
459
- command.query['userIp'] = user_ip unless user_ip.nil?
460
432
  execute_or_queue_command(command, &block)
461
433
  end
462
434
 
@@ -478,10 +450,8 @@ module Google
478
450
  # @param [String] fields
479
451
  # Selector specifying which fields to include in a partial response.
480
452
  # @param [String] quota_user
481
- # An opaque string that represents a user for quota purposes. Must not exceed 40
482
- # characters.
483
- # @param [String] user_ip
484
- # Deprecated. Please use quotaUser instead.
453
+ # Available to use for quota purposes for server-side applications. Can be any
454
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
485
455
  # @param [Google::Apis::RequestOptions] options
486
456
  # Request-specific options
487
457
  #
@@ -494,8 +464,8 @@ module Google
494
464
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
495
465
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
496
466
  # @raise [Google::Apis::AuthorizationError] Authorization is required
497
- def insert_deployment(project, deployment_object = nil, create_policy: nil, preview: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
498
- command = make_simple_command(:post, '{project}/global/deployments', options)
467
+ def insert_deployment(project, deployment_object = nil, create_policy: nil, preview: nil, fields: nil, quota_user: nil, options: nil, &block)
468
+ command = make_simple_command(:post, 'deploymentmanager/v2beta/projects/{project}/global/deployments', options)
499
469
  command.request_representation = Google::Apis::DeploymentmanagerV2beta::Deployment::Representation
500
470
  command.request_object = deployment_object
501
471
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
@@ -505,7 +475,6 @@ module Google
505
475
  command.query['preview'] = preview unless preview.nil?
506
476
  command.query['fields'] = fields unless fields.nil?
507
477
  command.query['quotaUser'] = quota_user unless quota_user.nil?
508
- command.query['userIp'] = user_ip unless user_ip.nil?
509
478
  execute_or_queue_command(command, &block)
510
479
  end
511
480
 
@@ -516,19 +485,18 @@ module Google
516
485
  # A filter expression that filters resources listed in the response. The
517
486
  # expression must specify the field name, a comparison operator, and the value
518
487
  # 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 `<`.
520
- # For example, if you are filtering Compute Engine instances, you can exclude
488
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
489
+ # example, if you are filtering Compute Engine instances, you can exclude
521
490
  # instances named `example-instance` by specifying `name != example-instance`.
522
491
  # You can also filter nested fields. For example, you could specify `scheduling.
523
492
  # automaticRestart = false` to include instances only if they are not scheduled
524
493
  # for automatic restarts. You can use filtering on nested fields to filter based
525
- # on resource labels.
526
- # To filter on multiple expressions, provide each separate expression within
527
- # parentheses. For example: ``` (scheduling.automaticRestart = true) (
528
- # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
529
- # expression. However, you can include `AND` and `OR` expressions explicitly.
530
- # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
531
- # Broadwell") AND (scheduling.automaticRestart = true) ```
494
+ # on resource labels. To filter on multiple expressions, provide each separate
495
+ # expression within parentheses. For example: ``` (scheduling.automaticRestart =
496
+ # true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
497
+ # AND` expression. However, you can include `AND` and `OR` expressions
498
+ # explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
499
+ # "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
532
500
  # @param [Fixnum] max_results
533
501
  # The maximum number of results per page that should be returned. If the number
534
502
  # of available results is larger than `maxResults`, Compute Engine returns a `
@@ -536,23 +504,23 @@ module Google
536
504
  # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
537
505
  # @param [String] order_by
538
506
  # Sorts list results by a certain order. By default, results are returned in
539
- # alphanumerical order based on the resource name.
540
- # 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).
543
- # Use this to sort resources like operations so that the newest operation is
544
- # returned first.
507
+ # alphanumerical order based on the resource name. You can also sort results in
508
+ # descending order based on the creation timestamp using `orderBy="
509
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
510
+ # field in reverse chronological order (newest result first). Use this to sort
511
+ # resources like operations so that the newest operation is returned first.
545
512
  # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
546
513
  # @param [String] page_token
547
514
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
548
515
  # by a previous list request to get the next page of results.
516
+ # @param [Boolean] return_partial_success
517
+ # Opt-in for partial success behavior which provides partial results in case of
518
+ # failure. The default value is false and the logic is the same as today.
549
519
  # @param [String] fields
550
520
  # Selector specifying which fields to include in a partial response.
551
521
  # @param [String] quota_user
552
- # An opaque string that represents a user for quota purposes. Must not exceed 40
553
- # characters.
554
- # @param [String] user_ip
555
- # Deprecated. Please use quotaUser instead.
522
+ # Available to use for quota purposes for server-side applications. Can be any
523
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
556
524
  # @param [Google::Apis::RequestOptions] options
557
525
  # Request-specific options
558
526
  #
@@ -565,8 +533,8 @@ module Google
565
533
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
566
534
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
567
535
  # @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)
569
- command = make_simple_command(:get, '{project}/global/deployments', options)
536
+ 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)
537
+ command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/deployments', options)
570
538
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::DeploymentsListResponse::Representation
571
539
  command.response_class = Google::Apis::DeploymentmanagerV2beta::DeploymentsListResponse
572
540
  command.params['project'] = project unless project.nil?
@@ -574,9 +542,9 @@ module Google
574
542
  command.query['maxResults'] = max_results unless max_results.nil?
575
543
  command.query['orderBy'] = order_by unless order_by.nil?
576
544
  command.query['pageToken'] = page_token unless page_token.nil?
545
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
577
546
  command.query['fields'] = fields unless fields.nil?
578
547
  command.query['quotaUser'] = quota_user unless quota_user.nil?
579
- command.query['userIp'] = user_ip unless user_ip.nil?
580
548
  execute_or_queue_command(command, &block)
581
549
  end
582
550
 
@@ -605,10 +573,8 @@ module Google
605
573
  # @param [String] fields
606
574
  # Selector specifying which fields to include in a partial response.
607
575
  # @param [String] quota_user
608
- # An opaque string that represents a user for quota purposes. Must not exceed 40
609
- # characters.
610
- # @param [String] user_ip
611
- # Deprecated. Please use quotaUser instead.
576
+ # Available to use for quota purposes for server-side applications. Can be any
577
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
612
578
  # @param [Google::Apis::RequestOptions] options
613
579
  # Request-specific options
614
580
  #
@@ -621,8 +587,8 @@ module Google
621
587
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
622
588
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
623
589
  # @raise [Google::Apis::AuthorizationError] Authorization is required
624
- 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)
625
- command = make_simple_command(:patch, '{project}/global/deployments/{deployment}', options)
590
+ def patch_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, preview: nil, fields: nil, quota_user: nil, options: nil, &block)
591
+ command = make_simple_command(:patch, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}', options)
626
592
  command.request_representation = Google::Apis::DeploymentmanagerV2beta::Deployment::Representation
627
593
  command.request_object = deployment_object
628
594
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
@@ -634,7 +600,6 @@ module Google
634
600
  command.query['preview'] = preview unless preview.nil?
635
601
  command.query['fields'] = fields unless fields.nil?
636
602
  command.query['quotaUser'] = quota_user unless quota_user.nil?
637
- command.query['userIp'] = user_ip unless user_ip.nil?
638
603
  execute_or_queue_command(command, &block)
639
604
  end
640
605
 
@@ -648,10 +613,8 @@ module Google
648
613
  # @param [String] fields
649
614
  # Selector specifying which fields to include in a partial response.
650
615
  # @param [String] quota_user
651
- # An opaque string that represents a user for quota purposes. Must not exceed 40
652
- # characters.
653
- # @param [String] user_ip
654
- # Deprecated. Please use quotaUser instead.
616
+ # Available to use for quota purposes for server-side applications. Can be any
617
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
655
618
  # @param [Google::Apis::RequestOptions] options
656
619
  # Request-specific options
657
620
  #
@@ -664,8 +627,8 @@ module Google
664
627
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
665
628
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
666
629
  # @raise [Google::Apis::AuthorizationError] Authorization is required
667
- def set_deployment_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
668
- command = make_simple_command(:post, '{project}/global/deployments/{resource}/setIamPolicy', options)
630
+ def set_deployment_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
631
+ command = make_simple_command(:post, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{resource}/setIamPolicy', options)
669
632
  command.request_representation = Google::Apis::DeploymentmanagerV2beta::GlobalSetPolicyRequest::Representation
670
633
  command.request_object = global_set_policy_request_object
671
634
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::Policy::Representation
@@ -674,7 +637,6 @@ module Google
674
637
  command.params['resource'] = resource unless resource.nil?
675
638
  command.query['fields'] = fields unless fields.nil?
676
639
  command.query['quotaUser'] = quota_user unless quota_user.nil?
677
- command.query['userIp'] = user_ip unless user_ip.nil?
678
640
  execute_or_queue_command(command, &block)
679
641
  end
680
642
 
@@ -688,10 +650,8 @@ module Google
688
650
  # @param [String] fields
689
651
  # Selector specifying which fields to include in a partial response.
690
652
  # @param [String] quota_user
691
- # An opaque string that represents a user for quota purposes. Must not exceed 40
692
- # characters.
693
- # @param [String] user_ip
694
- # Deprecated. Please use quotaUser instead.
653
+ # Available to use for quota purposes for server-side applications. Can be any
654
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
695
655
  # @param [Google::Apis::RequestOptions] options
696
656
  # Request-specific options
697
657
  #
@@ -704,8 +664,8 @@ module Google
704
664
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
705
665
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
706
666
  # @raise [Google::Apis::AuthorizationError] Authorization is required
707
- def stop_deployment(project, deployment, deployments_stop_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
708
- command = make_simple_command(:post, '{project}/global/deployments/{deployment}/stop', options)
667
+ def stop_deployment(project, deployment, deployments_stop_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
668
+ command = make_simple_command(:post, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/stop', options)
709
669
  command.request_representation = Google::Apis::DeploymentmanagerV2beta::DeploymentsStopRequest::Representation
710
670
  command.request_object = deployments_stop_request_object
711
671
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
@@ -714,7 +674,6 @@ module Google
714
674
  command.params['deployment'] = deployment unless deployment.nil?
715
675
  command.query['fields'] = fields unless fields.nil?
716
676
  command.query['quotaUser'] = quota_user unless quota_user.nil?
717
- command.query['userIp'] = user_ip unless user_ip.nil?
718
677
  execute_or_queue_command(command, &block)
719
678
  end
720
679
 
@@ -727,10 +686,8 @@ module Google
727
686
  # @param [String] fields
728
687
  # Selector specifying which fields to include in a partial response.
729
688
  # @param [String] quota_user
730
- # An opaque string that represents a user for quota purposes. Must not exceed 40
731
- # characters.
732
- # @param [String] user_ip
733
- # Deprecated. Please use quotaUser instead.
689
+ # Available to use for quota purposes for server-side applications. Can be any
690
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
734
691
  # @param [Google::Apis::RequestOptions] options
735
692
  # Request-specific options
736
693
  #
@@ -743,8 +700,8 @@ module Google
743
700
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
744
701
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
745
702
  # @raise [Google::Apis::AuthorizationError] Authorization is required
746
- def test_deployment_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
747
- command = make_simple_command(:post, '{project}/global/deployments/{resource}/testIamPermissions', options)
703
+ def test_deployment_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
704
+ command = make_simple_command(:post, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{resource}/testIamPermissions', options)
748
705
  command.request_representation = Google::Apis::DeploymentmanagerV2beta::TestPermissionsRequest::Representation
749
706
  command.request_object = test_permissions_request_object
750
707
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::TestPermissionsResponse::Representation
@@ -753,7 +710,6 @@ module Google
753
710
  command.params['resource'] = resource unless resource.nil?
754
711
  command.query['fields'] = fields unless fields.nil?
755
712
  command.query['quotaUser'] = quota_user unless quota_user.nil?
756
- command.query['userIp'] = user_ip unless user_ip.nil?
757
713
  execute_or_queue_command(command, &block)
758
714
  end
759
715
 
@@ -782,10 +738,8 @@ module Google
782
738
  # @param [String] fields
783
739
  # Selector specifying which fields to include in a partial response.
784
740
  # @param [String] quota_user
785
- # An opaque string that represents a user for quota purposes. Must not exceed 40
786
- # characters.
787
- # @param [String] user_ip
788
- # Deprecated. Please use quotaUser instead.
741
+ # Available to use for quota purposes for server-side applications. Can be any
742
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
789
743
  # @param [Google::Apis::RequestOptions] options
790
744
  # Request-specific options
791
745
  #
@@ -798,8 +752,8 @@ module Google
798
752
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
799
753
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
800
754
  # @raise [Google::Apis::AuthorizationError] Authorization is required
801
- 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)
802
- command = make_simple_command(:put, '{project}/global/deployments/{deployment}', options)
755
+ def update_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, preview: nil, fields: nil, quota_user: nil, options: nil, &block)
756
+ command = make_simple_command(:put, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}', options)
803
757
  command.request_representation = Google::Apis::DeploymentmanagerV2beta::Deployment::Representation
804
758
  command.request_object = deployment_object
805
759
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
@@ -811,7 +765,6 @@ module Google
811
765
  command.query['preview'] = preview unless preview.nil?
812
766
  command.query['fields'] = fields unless fields.nil?
813
767
  command.query['quotaUser'] = quota_user unless quota_user.nil?
814
- command.query['userIp'] = user_ip unless user_ip.nil?
815
768
  execute_or_queue_command(command, &block)
816
769
  end
817
770
 
@@ -825,10 +778,8 @@ module Google
825
778
  # @param [String] fields
826
779
  # Selector specifying which fields to include in a partial response.
827
780
  # @param [String] quota_user
828
- # An opaque string that represents a user for quota purposes. Must not exceed 40
829
- # characters.
830
- # @param [String] user_ip
831
- # Deprecated. Please use quotaUser instead.
781
+ # Available to use for quota purposes for server-side applications. Can be any
782
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
832
783
  # @param [Google::Apis::RequestOptions] options
833
784
  # Request-specific options
834
785
  #
@@ -841,8 +792,8 @@ module Google
841
792
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
842
793
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
843
794
  # @raise [Google::Apis::AuthorizationError] Authorization is required
844
- def get_manifest(project, deployment, manifest, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
845
- command = make_simple_command(:get, '{project}/global/deployments/{deployment}/manifests/{manifest}', options)
795
+ def get_manifest(project, deployment, manifest, fields: nil, quota_user: nil, options: nil, &block)
796
+ command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/manifests/{manifest}', options)
846
797
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::Manifest::Representation
847
798
  command.response_class = Google::Apis::DeploymentmanagerV2beta::Manifest
848
799
  command.params['project'] = project unless project.nil?
@@ -850,7 +801,6 @@ module Google
850
801
  command.params['manifest'] = manifest unless manifest.nil?
851
802
  command.query['fields'] = fields unless fields.nil?
852
803
  command.query['quotaUser'] = quota_user unless quota_user.nil?
853
- command.query['userIp'] = user_ip unless user_ip.nil?
854
804
  execute_or_queue_command(command, &block)
855
805
  end
856
806
 
@@ -863,19 +813,18 @@ module Google
863
813
  # A filter expression that filters resources listed in the response. The
864
814
  # expression must specify the field name, a comparison operator, and the value
865
815
  # that you want to use for filtering. The value must be a string, a number, or a
866
- # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
867
- # For example, if you are filtering Compute Engine instances, you can exclude
816
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
817
+ # example, if you are filtering Compute Engine instances, you can exclude
868
818
  # instances named `example-instance` by specifying `name != example-instance`.
869
819
  # You can also filter nested fields. For example, you could specify `scheduling.
870
820
  # automaticRestart = false` to include instances only if they are not scheduled
871
821
  # for automatic restarts. You can use filtering on nested fields to filter based
872
- # on resource labels.
873
- # To filter on multiple expressions, provide each separate expression within
874
- # parentheses. For example: ``` (scheduling.automaticRestart = true) (
875
- # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
876
- # expression. However, you can include `AND` and `OR` expressions explicitly.
877
- # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
878
- # Broadwell") AND (scheduling.automaticRestart = true) ```
822
+ # on resource labels. To filter on multiple expressions, provide each separate
823
+ # expression within parentheses. For example: ``` (scheduling.automaticRestart =
824
+ # true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
825
+ # AND` expression. However, you can include `AND` and `OR` expressions
826
+ # explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
827
+ # "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
879
828
  # @param [Fixnum] max_results
880
829
  # The maximum number of results per page that should be returned. If the number
881
830
  # of available results is larger than `maxResults`, Compute Engine returns a `
@@ -883,23 +832,23 @@ module Google
883
832
  # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
884
833
  # @param [String] order_by
885
834
  # Sorts list results by a certain order. By default, results are returned in
886
- # alphanumerical order based on the resource name.
887
- # You can also sort results in descending order based on the creation timestamp
888
- # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
889
- # creationTimestamp` field in reverse chronological order (newest result first).
890
- # Use this to sort resources like operations so that the newest operation is
891
- # returned first.
835
+ # alphanumerical order based on the resource name. You can also sort results in
836
+ # descending order based on the creation timestamp using `orderBy="
837
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
838
+ # field in reverse chronological order (newest result first). Use this to sort
839
+ # resources like operations so that the newest operation is returned first.
892
840
  # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
893
841
  # @param [String] page_token
894
842
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
895
843
  # by a previous list request to get the next page of results.
844
+ # @param [Boolean] return_partial_success
845
+ # Opt-in for partial success behavior which provides partial results in case of
846
+ # failure. The default value is false and the logic is the same as today.
896
847
  # @param [String] fields
897
848
  # Selector specifying which fields to include in a partial response.
898
849
  # @param [String] quota_user
899
- # An opaque string that represents a user for quota purposes. Must not exceed 40
900
- # characters.
901
- # @param [String] user_ip
902
- # Deprecated. Please use quotaUser instead.
850
+ # Available to use for quota purposes for server-side applications. Can be any
851
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
903
852
  # @param [Google::Apis::RequestOptions] options
904
853
  # Request-specific options
905
854
  #
@@ -912,8 +861,8 @@ module Google
912
861
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
913
862
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
914
863
  # @raise [Google::Apis::AuthorizationError] Authorization is required
915
- 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)
916
- command = make_simple_command(:get, '{project}/global/deployments/{deployment}/manifests', options)
864
+ 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)
865
+ command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/manifests', options)
917
866
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::ManifestsListResponse::Representation
918
867
  command.response_class = Google::Apis::DeploymentmanagerV2beta::ManifestsListResponse
919
868
  command.params['project'] = project unless project.nil?
@@ -922,9 +871,9 @@ module Google
922
871
  command.query['maxResults'] = max_results unless max_results.nil?
923
872
  command.query['orderBy'] = order_by unless order_by.nil?
924
873
  command.query['pageToken'] = page_token unless page_token.nil?
874
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
925
875
  command.query['fields'] = fields unless fields.nil?
926
876
  command.query['quotaUser'] = quota_user unless quota_user.nil?
927
- command.query['userIp'] = user_ip unless user_ip.nil?
928
877
  execute_or_queue_command(command, &block)
929
878
  end
930
879
 
@@ -936,10 +885,8 @@ module Google
936
885
  # @param [String] fields
937
886
  # Selector specifying which fields to include in a partial response.
938
887
  # @param [String] quota_user
939
- # An opaque string that represents a user for quota purposes. Must not exceed 40
940
- # characters.
941
- # @param [String] user_ip
942
- # Deprecated. Please use quotaUser instead.
888
+ # Available to use for quota purposes for server-side applications. Can be any
889
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
943
890
  # @param [Google::Apis::RequestOptions] options
944
891
  # Request-specific options
945
892
  #
@@ -952,15 +899,14 @@ module Google
952
899
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
953
900
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
954
901
  # @raise [Google::Apis::AuthorizationError] Authorization is required
955
- def get_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
956
- command = make_simple_command(:get, '{project}/global/operations/{operation}', options)
902
+ def get_operation(project, operation, fields: nil, quota_user: nil, options: nil, &block)
903
+ command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/operations/{operation}', options)
957
904
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
958
905
  command.response_class = Google::Apis::DeploymentmanagerV2beta::Operation
959
906
  command.params['project'] = project unless project.nil?
960
907
  command.params['operation'] = operation unless operation.nil?
961
908
  command.query['fields'] = fields unless fields.nil?
962
909
  command.query['quotaUser'] = quota_user unless quota_user.nil?
963
- command.query['userIp'] = user_ip unless user_ip.nil?
964
910
  execute_or_queue_command(command, &block)
965
911
  end
966
912
 
@@ -971,19 +917,18 @@ module Google
971
917
  # A filter expression that filters resources listed in the response. The
972
918
  # expression must specify the field name, a comparison operator, and the value
973
919
  # that you want to use for filtering. The value must be a string, a number, or a
974
- # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
975
- # For example, if you are filtering Compute Engine instances, you can exclude
920
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
921
+ # example, if you are filtering Compute Engine instances, you can exclude
976
922
  # instances named `example-instance` by specifying `name != example-instance`.
977
923
  # You can also filter nested fields. For example, you could specify `scheduling.
978
924
  # automaticRestart = false` to include instances only if they are not scheduled
979
925
  # for automatic restarts. You can use filtering on nested fields to filter based
980
- # on resource labels.
981
- # To filter on multiple expressions, provide each separate expression within
982
- # parentheses. For example: ``` (scheduling.automaticRestart = true) (
983
- # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
984
- # expression. However, you can include `AND` and `OR` expressions explicitly.
985
- # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
986
- # Broadwell") AND (scheduling.automaticRestart = true) ```
926
+ # on resource labels. To filter on multiple expressions, provide each separate
927
+ # expression within parentheses. For example: ``` (scheduling.automaticRestart =
928
+ # true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
929
+ # AND` expression. However, you can include `AND` and `OR` expressions
930
+ # explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
931
+ # "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
987
932
  # @param [Fixnum] max_results
988
933
  # The maximum number of results per page that should be returned. If the number
989
934
  # of available results is larger than `maxResults`, Compute Engine returns a `
@@ -991,23 +936,23 @@ module Google
991
936
  # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
992
937
  # @param [String] order_by
993
938
  # Sorts list results by a certain order. By default, results are returned in
994
- # alphanumerical order based on the resource name.
995
- # You can also sort results in descending order based on the creation timestamp
996
- # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
997
- # creationTimestamp` field in reverse chronological order (newest result first).
998
- # Use this to sort resources like operations so that the newest operation is
999
- # returned first.
939
+ # alphanumerical order based on the resource name. You can also sort results in
940
+ # descending order based on the creation timestamp using `orderBy="
941
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
942
+ # field in reverse chronological order (newest result first). Use this to sort
943
+ # resources like operations so that the newest operation is returned first.
1000
944
  # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
1001
945
  # @param [String] page_token
1002
946
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
1003
947
  # by a previous list request to get the next page of results.
948
+ # @param [Boolean] return_partial_success
949
+ # Opt-in for partial success behavior which provides partial results in case of
950
+ # failure. The default value is false and the logic is the same as today.
1004
951
  # @param [String] fields
1005
952
  # Selector specifying which fields to include in a partial response.
1006
953
  # @param [String] quota_user
1007
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1008
- # characters.
1009
- # @param [String] user_ip
1010
- # Deprecated. Please use quotaUser instead.
954
+ # Available to use for quota purposes for server-side applications. Can be any
955
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1011
956
  # @param [Google::Apis::RequestOptions] options
1012
957
  # Request-specific options
1013
958
  #
@@ -1020,8 +965,8 @@ module Google
1020
965
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1021
966
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1022
967
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1023
- 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)
1024
- command = make_simple_command(:get, '{project}/global/operations', options)
968
+ 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)
969
+ command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/operations', options)
1025
970
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::OperationsListResponse::Representation
1026
971
  command.response_class = Google::Apis::DeploymentmanagerV2beta::OperationsListResponse
1027
972
  command.params['project'] = project unless project.nil?
@@ -1029,9 +974,9 @@ module Google
1029
974
  command.query['maxResults'] = max_results unless max_results.nil?
1030
975
  command.query['orderBy'] = order_by unless order_by.nil?
1031
976
  command.query['pageToken'] = page_token unless page_token.nil?
977
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
1032
978
  command.query['fields'] = fields unless fields.nil?
1033
979
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1034
- command.query['userIp'] = user_ip unless user_ip.nil?
1035
980
  execute_or_queue_command(command, &block)
1036
981
  end
1037
982
 
@@ -1045,10 +990,8 @@ module Google
1045
990
  # @param [String] fields
1046
991
  # Selector specifying which fields to include in a partial response.
1047
992
  # @param [String] quota_user
1048
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1049
- # characters.
1050
- # @param [String] user_ip
1051
- # Deprecated. Please use quotaUser instead.
993
+ # Available to use for quota purposes for server-side applications. Can be any
994
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1052
995
  # @param [Google::Apis::RequestOptions] options
1053
996
  # Request-specific options
1054
997
  #
@@ -1061,8 +1004,8 @@ module Google
1061
1004
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1062
1005
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1063
1006
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1064
- def get_resource(project, deployment, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1065
- command = make_simple_command(:get, '{project}/global/deployments/{deployment}/resources/{resource}', options)
1007
+ def get_resource(project, deployment, resource, fields: nil, quota_user: nil, options: nil, &block)
1008
+ command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/resources/{resource}', options)
1066
1009
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::Resource::Representation
1067
1010
  command.response_class = Google::Apis::DeploymentmanagerV2beta::Resource
1068
1011
  command.params['project'] = project unless project.nil?
@@ -1070,7 +1013,6 @@ module Google
1070
1013
  command.params['resource'] = resource unless resource.nil?
1071
1014
  command.query['fields'] = fields unless fields.nil?
1072
1015
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1073
- command.query['userIp'] = user_ip unless user_ip.nil?
1074
1016
  execute_or_queue_command(command, &block)
1075
1017
  end
1076
1018
 
@@ -1083,19 +1025,18 @@ module Google
1083
1025
  # A filter expression that filters resources listed in the response. The
1084
1026
  # expression must specify the field name, a comparison operator, and the value
1085
1027
  # that you want to use for filtering. The value must be a string, a number, or a
1086
- # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
1087
- # For example, if you are filtering Compute Engine instances, you can exclude
1028
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
1029
+ # example, if you are filtering Compute Engine instances, you can exclude
1088
1030
  # instances named `example-instance` by specifying `name != example-instance`.
1089
1031
  # You can also filter nested fields. For example, you could specify `scheduling.
1090
1032
  # automaticRestart = false` to include instances only if they are not scheduled
1091
1033
  # for automatic restarts. You can use filtering on nested fields to filter based
1092
- # on resource labels.
1093
- # To filter on multiple expressions, provide each separate expression within
1094
- # parentheses. For example: ``` (scheduling.automaticRestart = true) (
1095
- # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
1096
- # expression. However, you can include `AND` and `OR` expressions explicitly.
1097
- # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
1098
- # Broadwell") AND (scheduling.automaticRestart = true) ```
1034
+ # on resource labels. To filter on multiple expressions, provide each separate
1035
+ # expression within parentheses. For example: ``` (scheduling.automaticRestart =
1036
+ # true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
1037
+ # AND` expression. However, you can include `AND` and `OR` expressions
1038
+ # explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
1039
+ # "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
1099
1040
  # @param [Fixnum] max_results
1100
1041
  # The maximum number of results per page that should be returned. If the number
1101
1042
  # of available results is larger than `maxResults`, Compute Engine returns a `
@@ -1103,23 +1044,23 @@ module Google
1103
1044
  # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
1104
1045
  # @param [String] order_by
1105
1046
  # Sorts list results by a certain order. By default, results are returned in
1106
- # alphanumerical order based on the resource name.
1107
- # You can also sort results in descending order based on the creation timestamp
1108
- # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
1109
- # creationTimestamp` field in reverse chronological order (newest result first).
1110
- # Use this to sort resources like operations so that the newest operation is
1111
- # returned first.
1047
+ # alphanumerical order based on the resource name. You can also sort results in
1048
+ # descending order based on the creation timestamp using `orderBy="
1049
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
1050
+ # field in reverse chronological order (newest result first). Use this to sort
1051
+ # resources like operations so that the newest operation is returned first.
1112
1052
  # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
1113
1053
  # @param [String] page_token
1114
1054
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
1115
1055
  # by a previous list request to get the next page of results.
1056
+ # @param [Boolean] return_partial_success
1057
+ # Opt-in for partial success behavior which provides partial results in case of
1058
+ # failure. The default value is false and the logic is the same as today.
1116
1059
  # @param [String] fields
1117
1060
  # Selector specifying which fields to include in a partial response.
1118
1061
  # @param [String] quota_user
1119
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1120
- # characters.
1121
- # @param [String] user_ip
1122
- # Deprecated. Please use quotaUser instead.
1062
+ # Available to use for quota purposes for server-side applications. Can be any
1063
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1123
1064
  # @param [Google::Apis::RequestOptions] options
1124
1065
  # Request-specific options
1125
1066
  #
@@ -1132,8 +1073,8 @@ module Google
1132
1073
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1133
1074
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1134
1075
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1135
- 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)
1136
- command = make_simple_command(:get, '{project}/global/deployments/{deployment}/resources', options)
1076
+ 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)
1077
+ command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/resources', options)
1137
1078
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::ResourcesListResponse::Representation
1138
1079
  command.response_class = Google::Apis::DeploymentmanagerV2beta::ResourcesListResponse
1139
1080
  command.params['project'] = project unless project.nil?
@@ -1142,9 +1083,9 @@ module Google
1142
1083
  command.query['maxResults'] = max_results unless max_results.nil?
1143
1084
  command.query['orderBy'] = order_by unless order_by.nil?
1144
1085
  command.query['pageToken'] = page_token unless page_token.nil?
1086
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
1145
1087
  command.query['fields'] = fields unless fields.nil?
1146
1088
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1147
- command.query['userIp'] = user_ip unless user_ip.nil?
1148
1089
  execute_or_queue_command(command, &block)
1149
1090
  end
1150
1091
 
@@ -1156,10 +1097,8 @@ module Google
1156
1097
  # @param [String] fields
1157
1098
  # Selector specifying which fields to include in a partial response.
1158
1099
  # @param [String] quota_user
1159
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1160
- # characters.
1161
- # @param [String] user_ip
1162
- # Deprecated. Please use quotaUser instead.
1100
+ # Available to use for quota purposes for server-side applications. Can be any
1101
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1163
1102
  # @param [Google::Apis::RequestOptions] options
1164
1103
  # Request-specific options
1165
1104
  #
@@ -1172,15 +1111,14 @@ module Google
1172
1111
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1173
1112
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1174
1113
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1175
- def delete_type_provider(project, type_provider, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1176
- command = make_simple_command(:delete, '{project}/global/typeProviders/{typeProvider}', options)
1114
+ def delete_type_provider(project, type_provider, fields: nil, quota_user: nil, options: nil, &block)
1115
+ command = make_simple_command(:delete, 'deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}', options)
1177
1116
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
1178
1117
  command.response_class = Google::Apis::DeploymentmanagerV2beta::Operation
1179
1118
  command.params['project'] = project unless project.nil?
1180
1119
  command.params['typeProvider'] = type_provider unless type_provider.nil?
1181
1120
  command.query['fields'] = fields unless fields.nil?
1182
1121
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1183
- command.query['userIp'] = user_ip unless user_ip.nil?
1184
1122
  execute_or_queue_command(command, &block)
1185
1123
  end
1186
1124
 
@@ -1192,10 +1130,8 @@ module Google
1192
1130
  # @param [String] fields
1193
1131
  # Selector specifying which fields to include in a partial response.
1194
1132
  # @param [String] quota_user
1195
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1196
- # characters.
1197
- # @param [String] user_ip
1198
- # Deprecated. Please use quotaUser instead.
1133
+ # Available to use for quota purposes for server-side applications. Can be any
1134
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1199
1135
  # @param [Google::Apis::RequestOptions] options
1200
1136
  # Request-specific options
1201
1137
  #
@@ -1208,15 +1144,14 @@ module Google
1208
1144
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1209
1145
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1210
1146
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1211
- def get_type_provider(project, type_provider, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1212
- command = make_simple_command(:get, '{project}/global/typeProviders/{typeProvider}', options)
1147
+ def get_type_provider(project, type_provider, fields: nil, quota_user: nil, options: nil, &block)
1148
+ command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}', options)
1213
1149
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::TypeProvider::Representation
1214
1150
  command.response_class = Google::Apis::DeploymentmanagerV2beta::TypeProvider
1215
1151
  command.params['project'] = project unless project.nil?
1216
1152
  command.params['typeProvider'] = type_provider unless type_provider.nil?
1217
1153
  command.query['fields'] = fields unless fields.nil?
1218
1154
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1219
- command.query['userIp'] = user_ip unless user_ip.nil?
1220
1155
  execute_or_queue_command(command, &block)
1221
1156
  end
1222
1157
 
@@ -1230,10 +1165,8 @@ module Google
1230
1165
  # @param [String] fields
1231
1166
  # Selector specifying which fields to include in a partial response.
1232
1167
  # @param [String] quota_user
1233
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1234
- # characters.
1235
- # @param [String] user_ip
1236
- # Deprecated. Please use quotaUser instead.
1168
+ # Available to use for quota purposes for server-side applications. Can be any
1169
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1237
1170
  # @param [Google::Apis::RequestOptions] options
1238
1171
  # Request-specific options
1239
1172
  #
@@ -1246,8 +1179,8 @@ module Google
1246
1179
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1247
1180
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1248
1181
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1249
- def get_type_provider_type(project, type_provider, type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1250
- command = make_simple_command(:get, '{project}/global/typeProviders/{typeProvider}/types/{type}', options)
1182
+ def get_type_provider_type(project, type_provider, type, fields: nil, quota_user: nil, options: nil, &block)
1183
+ command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}/types/{type}', options)
1251
1184
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::TypeInfo::Representation
1252
1185
  command.response_class = Google::Apis::DeploymentmanagerV2beta::TypeInfo
1253
1186
  command.params['project'] = project unless project.nil?
@@ -1255,7 +1188,6 @@ module Google
1255
1188
  command.params['type'] = type unless type.nil?
1256
1189
  command.query['fields'] = fields unless fields.nil?
1257
1190
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1258
- command.query['userIp'] = user_ip unless user_ip.nil?
1259
1191
  execute_or_queue_command(command, &block)
1260
1192
  end
1261
1193
 
@@ -1266,10 +1198,8 @@ module Google
1266
1198
  # @param [String] fields
1267
1199
  # Selector specifying which fields to include in a partial response.
1268
1200
  # @param [String] quota_user
1269
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1270
- # characters.
1271
- # @param [String] user_ip
1272
- # Deprecated. Please use quotaUser instead.
1201
+ # Available to use for quota purposes for server-side applications. Can be any
1202
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1273
1203
  # @param [Google::Apis::RequestOptions] options
1274
1204
  # Request-specific options
1275
1205
  #
@@ -1282,8 +1212,8 @@ module Google
1282
1212
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1283
1213
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1284
1214
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1285
- def insert_type_provider(project, type_provider_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1286
- command = make_simple_command(:post, '{project}/global/typeProviders', options)
1215
+ def insert_type_provider(project, type_provider_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1216
+ command = make_simple_command(:post, 'deploymentmanager/v2beta/projects/{project}/global/typeProviders', options)
1287
1217
  command.request_representation = Google::Apis::DeploymentmanagerV2beta::TypeProvider::Representation
1288
1218
  command.request_object = type_provider_object
1289
1219
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
@@ -1291,7 +1221,6 @@ module Google
1291
1221
  command.params['project'] = project unless project.nil?
1292
1222
  command.query['fields'] = fields unless fields.nil?
1293
1223
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1294
- command.query['userIp'] = user_ip unless user_ip.nil?
1295
1224
  execute_or_queue_command(command, &block)
1296
1225
  end
1297
1226
 
@@ -1302,19 +1231,18 @@ module Google
1302
1231
  # A filter expression that filters resources listed in the response. The
1303
1232
  # expression must specify the field name, a comparison operator, and the value
1304
1233
  # that you want to use for filtering. The value must be a string, a number, or a
1305
- # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
1306
- # For example, if you are filtering Compute Engine instances, you can exclude
1234
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
1235
+ # example, if you are filtering Compute Engine instances, you can exclude
1307
1236
  # instances named `example-instance` by specifying `name != example-instance`.
1308
1237
  # You can also filter nested fields. For example, you could specify `scheduling.
1309
1238
  # automaticRestart = false` to include instances only if they are not scheduled
1310
1239
  # for automatic restarts. You can use filtering on nested fields to filter based
1311
- # on resource labels.
1312
- # To filter on multiple expressions, provide each separate expression within
1313
- # parentheses. For example: ``` (scheduling.automaticRestart = true) (
1314
- # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
1315
- # expression. However, you can include `AND` and `OR` expressions explicitly.
1316
- # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
1317
- # Broadwell") AND (scheduling.automaticRestart = true) ```
1240
+ # on resource labels. To filter on multiple expressions, provide each separate
1241
+ # expression within parentheses. For example: ``` (scheduling.automaticRestart =
1242
+ # true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
1243
+ # AND` expression. However, you can include `AND` and `OR` expressions
1244
+ # explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
1245
+ # "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
1318
1246
  # @param [Fixnum] max_results
1319
1247
  # The maximum number of results per page that should be returned. If the number
1320
1248
  # of available results is larger than `maxResults`, Compute Engine returns a `
@@ -1322,23 +1250,23 @@ module Google
1322
1250
  # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
1323
1251
  # @param [String] order_by
1324
1252
  # Sorts list results by a certain order. By default, results are returned in
1325
- # alphanumerical order based on the resource name.
1326
- # You can also sort results in descending order based on the creation timestamp
1327
- # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
1328
- # creationTimestamp` field in reverse chronological order (newest result first).
1329
- # Use this to sort resources like operations so that the newest operation is
1330
- # returned first.
1253
+ # alphanumerical order based on the resource name. You can also sort results in
1254
+ # descending order based on the creation timestamp using `orderBy="
1255
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
1256
+ # field in reverse chronological order (newest result first). Use this to sort
1257
+ # resources like operations so that the newest operation is returned first.
1331
1258
  # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
1332
1259
  # @param [String] page_token
1333
1260
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
1334
1261
  # by a previous list request to get the next page of results.
1262
+ # @param [Boolean] return_partial_success
1263
+ # Opt-in for partial success behavior which provides partial results in case of
1264
+ # failure. The default value is false and the logic is the same as today.
1335
1265
  # @param [String] fields
1336
1266
  # Selector specifying which fields to include in a partial response.
1337
1267
  # @param [String] quota_user
1338
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1339
- # characters.
1340
- # @param [String] user_ip
1341
- # Deprecated. Please use quotaUser instead.
1268
+ # Available to use for quota purposes for server-side applications. Can be any
1269
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1342
1270
  # @param [Google::Apis::RequestOptions] options
1343
1271
  # Request-specific options
1344
1272
  #
@@ -1351,8 +1279,8 @@ module Google
1351
1279
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1352
1280
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1353
1281
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1354
- 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)
1355
- command = make_simple_command(:get, '{project}/global/typeProviders', options)
1282
+ 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, options: nil, &block)
1283
+ command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/typeProviders', options)
1356
1284
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::TypeProvidersListResponse::Representation
1357
1285
  command.response_class = Google::Apis::DeploymentmanagerV2beta::TypeProvidersListResponse
1358
1286
  command.params['project'] = project unless project.nil?
@@ -1360,9 +1288,9 @@ module Google
1360
1288
  command.query['maxResults'] = max_results unless max_results.nil?
1361
1289
  command.query['orderBy'] = order_by unless order_by.nil?
1362
1290
  command.query['pageToken'] = page_token unless page_token.nil?
1291
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
1363
1292
  command.query['fields'] = fields unless fields.nil?
1364
1293
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1365
- command.query['userIp'] = user_ip unless user_ip.nil?
1366
1294
  execute_or_queue_command(command, &block)
1367
1295
  end
1368
1296
 
@@ -1375,19 +1303,18 @@ module Google
1375
1303
  # A filter expression that filters resources listed in the response. The
1376
1304
  # expression must specify the field name, a comparison operator, and the value
1377
1305
  # that you want to use for filtering. The value must be a string, a number, or a
1378
- # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
1379
- # For example, if you are filtering Compute Engine instances, you can exclude
1306
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
1307
+ # example, if you are filtering Compute Engine instances, you can exclude
1380
1308
  # instances named `example-instance` by specifying `name != example-instance`.
1381
1309
  # You can also filter nested fields. For example, you could specify `scheduling.
1382
1310
  # automaticRestart = false` to include instances only if they are not scheduled
1383
1311
  # for automatic restarts. You can use filtering on nested fields to filter based
1384
- # on resource labels.
1385
- # To filter on multiple expressions, provide each separate expression within
1386
- # parentheses. For example: ``` (scheduling.automaticRestart = true) (
1387
- # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
1388
- # expression. However, you can include `AND` and `OR` expressions explicitly.
1389
- # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
1390
- # Broadwell") AND (scheduling.automaticRestart = true) ```
1312
+ # on resource labels. To filter on multiple expressions, provide each separate
1313
+ # expression within parentheses. For example: ``` (scheduling.automaticRestart =
1314
+ # true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
1315
+ # AND` expression. However, you can include `AND` and `OR` expressions
1316
+ # explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
1317
+ # "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
1391
1318
  # @param [Fixnum] max_results
1392
1319
  # The maximum number of results per page that should be returned. If the number
1393
1320
  # of available results is larger than `maxResults`, Compute Engine returns a `
@@ -1395,23 +1322,23 @@ module Google
1395
1322
  # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
1396
1323
  # @param [String] order_by
1397
1324
  # Sorts list results by a certain order. By default, results are returned in
1398
- # alphanumerical order based on the resource name.
1399
- # You can also sort results in descending order based on the creation timestamp
1400
- # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
1401
- # creationTimestamp` field in reverse chronological order (newest result first).
1402
- # Use this to sort resources like operations so that the newest operation is
1403
- # returned first.
1325
+ # alphanumerical order based on the resource name. You can also sort results in
1326
+ # descending order based on the creation timestamp using `orderBy="
1327
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
1328
+ # field in reverse chronological order (newest result first). Use this to sort
1329
+ # resources like operations so that the newest operation is returned first.
1404
1330
  # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
1405
1331
  # @param [String] page_token
1406
1332
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
1407
1333
  # by a previous list request to get the next page of results.
1334
+ # @param [Boolean] return_partial_success
1335
+ # Opt-in for partial success behavior which provides partial results in case of
1336
+ # failure. The default value is false and the logic is the same as today.
1408
1337
  # @param [String] fields
1409
1338
  # Selector specifying which fields to include in a partial response.
1410
1339
  # @param [String] quota_user
1411
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1412
- # characters.
1413
- # @param [String] user_ip
1414
- # Deprecated. Please use quotaUser instead.
1340
+ # Available to use for quota purposes for server-side applications. Can be any
1341
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1415
1342
  # @param [Google::Apis::RequestOptions] options
1416
1343
  # Request-specific options
1417
1344
  #
@@ -1424,8 +1351,8 @@ module Google
1424
1351
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1425
1352
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1426
1353
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1427
- 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)
1428
- command = make_simple_command(:get, '{project}/global/typeProviders/{typeProvider}/types', options)
1354
+ 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, options: nil, &block)
1355
+ command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}/types', options)
1429
1356
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::TypeProvidersListTypesResponse::Representation
1430
1357
  command.response_class = Google::Apis::DeploymentmanagerV2beta::TypeProvidersListTypesResponse
1431
1358
  command.params['project'] = project unless project.nil?
@@ -1434,9 +1361,9 @@ module Google
1434
1361
  command.query['maxResults'] = max_results unless max_results.nil?
1435
1362
  command.query['orderBy'] = order_by unless order_by.nil?
1436
1363
  command.query['pageToken'] = page_token unless page_token.nil?
1364
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
1437
1365
  command.query['fields'] = fields unless fields.nil?
1438
1366
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1439
- command.query['userIp'] = user_ip unless user_ip.nil?
1440
1367
  execute_or_queue_command(command, &block)
1441
1368
  end
1442
1369
 
@@ -1449,10 +1376,8 @@ module Google
1449
1376
  # @param [String] fields
1450
1377
  # Selector specifying which fields to include in a partial response.
1451
1378
  # @param [String] quota_user
1452
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1453
- # characters.
1454
- # @param [String] user_ip
1455
- # Deprecated. Please use quotaUser instead.
1379
+ # Available to use for quota purposes for server-side applications. Can be any
1380
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1456
1381
  # @param [Google::Apis::RequestOptions] options
1457
1382
  # Request-specific options
1458
1383
  #
@@ -1465,8 +1390,8 @@ module Google
1465
1390
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1466
1391
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1467
1392
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1468
- def patch_type_provider(project, type_provider, type_provider_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1469
- command = make_simple_command(:patch, '{project}/global/typeProviders/{typeProvider}', options)
1393
+ def patch_type_provider(project, type_provider, type_provider_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1394
+ command = make_simple_command(:patch, 'deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}', options)
1470
1395
  command.request_representation = Google::Apis::DeploymentmanagerV2beta::TypeProvider::Representation
1471
1396
  command.request_object = type_provider_object
1472
1397
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
@@ -1475,7 +1400,6 @@ module Google
1475
1400
  command.params['typeProvider'] = type_provider unless type_provider.nil?
1476
1401
  command.query['fields'] = fields unless fields.nil?
1477
1402
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1478
- command.query['userIp'] = user_ip unless user_ip.nil?
1479
1403
  execute_or_queue_command(command, &block)
1480
1404
  end
1481
1405
 
@@ -1488,10 +1412,8 @@ module Google
1488
1412
  # @param [String] fields
1489
1413
  # Selector specifying which fields to include in a partial response.
1490
1414
  # @param [String] quota_user
1491
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1492
- # characters.
1493
- # @param [String] user_ip
1494
- # Deprecated. Please use quotaUser instead.
1415
+ # Available to use for quota purposes for server-side applications. Can be any
1416
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1495
1417
  # @param [Google::Apis::RequestOptions] options
1496
1418
  # Request-specific options
1497
1419
  #
@@ -1504,8 +1426,8 @@ module Google
1504
1426
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1505
1427
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1506
1428
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1507
- def update_type_provider(project, type_provider, type_provider_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1508
- command = make_simple_command(:put, '{project}/global/typeProviders/{typeProvider}', options)
1429
+ def update_type_provider(project, type_provider, type_provider_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1430
+ command = make_simple_command(:put, 'deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}', options)
1509
1431
  command.request_representation = Google::Apis::DeploymentmanagerV2beta::TypeProvider::Representation
1510
1432
  command.request_object = type_provider_object
1511
1433
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
@@ -1514,7 +1436,6 @@ module Google
1514
1436
  command.params['typeProvider'] = type_provider unless type_provider.nil?
1515
1437
  command.query['fields'] = fields unless fields.nil?
1516
1438
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1517
- command.query['userIp'] = user_ip unless user_ip.nil?
1518
1439
  execute_or_queue_command(command, &block)
1519
1440
  end
1520
1441
 
@@ -1525,19 +1446,18 @@ module Google
1525
1446
  # A filter expression that filters resources listed in the response. The
1526
1447
  # expression must specify the field name, a comparison operator, and the value
1527
1448
  # that you want to use for filtering. The value must be a string, a number, or a
1528
- # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
1529
- # For example, if you are filtering Compute Engine instances, you can exclude
1449
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
1450
+ # example, if you are filtering Compute Engine instances, you can exclude
1530
1451
  # instances named `example-instance` by specifying `name != example-instance`.
1531
1452
  # You can also filter nested fields. For example, you could specify `scheduling.
1532
1453
  # automaticRestart = false` to include instances only if they are not scheduled
1533
1454
  # for automatic restarts. You can use filtering on nested fields to filter based
1534
- # on resource labels.
1535
- # To filter on multiple expressions, provide each separate expression within
1536
- # parentheses. For example: ``` (scheduling.automaticRestart = true) (
1537
- # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
1538
- # expression. However, you can include `AND` and `OR` expressions explicitly.
1539
- # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
1540
- # Broadwell") AND (scheduling.automaticRestart = true) ```
1455
+ # on resource labels. To filter on multiple expressions, provide each separate
1456
+ # expression within parentheses. For example: ``` (scheduling.automaticRestart =
1457
+ # true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
1458
+ # AND` expression. However, you can include `AND` and `OR` expressions
1459
+ # explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
1460
+ # "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
1541
1461
  # @param [Fixnum] max_results
1542
1462
  # The maximum number of results per page that should be returned. If the number
1543
1463
  # of available results is larger than `maxResults`, Compute Engine returns a `
@@ -1545,23 +1465,23 @@ module Google
1545
1465
  # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
1546
1466
  # @param [String] order_by
1547
1467
  # Sorts list results by a certain order. By default, results are returned in
1548
- # alphanumerical order based on the resource name.
1549
- # You can also sort results in descending order based on the creation timestamp
1550
- # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
1551
- # creationTimestamp` field in reverse chronological order (newest result first).
1552
- # Use this to sort resources like operations so that the newest operation is
1553
- # returned first.
1468
+ # alphanumerical order based on the resource name. You can also sort results in
1469
+ # descending order based on the creation timestamp using `orderBy="
1470
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
1471
+ # field in reverse chronological order (newest result first). Use this to sort
1472
+ # resources like operations so that the newest operation is returned first.
1554
1473
  # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
1555
1474
  # @param [String] page_token
1556
1475
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
1557
1476
  # by a previous list request to get the next page of results.
1477
+ # @param [Boolean] return_partial_success
1478
+ # Opt-in for partial success behavior which provides partial results in case of
1479
+ # failure. The default value is false and the logic is the same as today.
1558
1480
  # @param [String] fields
1559
1481
  # Selector specifying which fields to include in a partial response.
1560
1482
  # @param [String] quota_user
1561
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1562
- # characters.
1563
- # @param [String] user_ip
1564
- # Deprecated. Please use quotaUser instead.
1483
+ # Available to use for quota purposes for server-side applications. Can be any
1484
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1565
1485
  # @param [Google::Apis::RequestOptions] options
1566
1486
  # Request-specific options
1567
1487
  #
@@ -1574,8 +1494,8 @@ module Google
1574
1494
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1575
1495
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1576
1496
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1577
- 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)
1578
- command = make_simple_command(:get, '{project}/global/types', options)
1497
+ 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)
1498
+ command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/types', options)
1579
1499
  command.response_representation = Google::Apis::DeploymentmanagerV2beta::TypesListResponse::Representation
1580
1500
  command.response_class = Google::Apis::DeploymentmanagerV2beta::TypesListResponse
1581
1501
  command.params['project'] = project unless project.nil?
@@ -1583,9 +1503,9 @@ module Google
1583
1503
  command.query['maxResults'] = max_results unless max_results.nil?
1584
1504
  command.query['orderBy'] = order_by unless order_by.nil?
1585
1505
  command.query['pageToken'] = page_token unless page_token.nil?
1506
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
1586
1507
  command.query['fields'] = fields unless fields.nil?
1587
1508
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1588
- command.query['userIp'] = user_ip unless user_ip.nil?
1589
1509
  execute_or_queue_command(command, &block)
1590
1510
  end
1591
1511
 
@@ -1594,7 +1514,6 @@ module Google
1594
1514
  def apply_command_defaults(command)
1595
1515
  command.query['key'] = key unless key.nil?
1596
1516
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1597
- command.query['userIp'] = user_ip unless user_ip.nil?
1598
1517
  end
1599
1518
  end
1600
1519
  end