google-api-client 0.39.4 → 0.39.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (192) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +65 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
  5. data/generated/google/apis/apigee_v1.rb +1 -1
  6. data/generated/google/apis/apigee_v1/classes.rb +7 -0
  7. data/generated/google/apis/apigee_v1/representations.rb +1 -0
  8. data/generated/google/apis/apigee_v1/service.rb +9 -1
  9. data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
  10. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1010 -0
  11. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +380 -0
  12. data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
  13. data/generated/google/apis/bigquery_v2.rb +1 -1
  14. data/generated/google/apis/bigquery_v2/classes.rb +12 -1
  15. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  16. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  17. data/generated/google/apis/bigqueryreservation_v1/service.rb +8 -8
  18. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  19. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +18 -14
  20. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
  21. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  22. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
  23. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
  24. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  25. data/generated/google/apis/binaryauthorization_v1/classes.rb +4 -1
  26. data/generated/google/apis/calendar_v3.rb +1 -1
  27. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  28. data/generated/google/apis/cloudasset_v1.rb +1 -1
  29. data/generated/google/apis/cloudasset_v1/classes.rb +371 -27
  30. data/generated/google/apis/cloudasset_v1/representations.rb +97 -0
  31. data/generated/google/apis/cloudasset_v1/service.rb +186 -8
  32. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  33. data/generated/google/apis/cloudasset_v1beta1/classes.rb +23 -10
  34. data/generated/google/apis/cloudasset_v1beta1/service.rb +12 -3
  35. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  36. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +42 -10
  37. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
  38. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  39. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  40. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -0
  41. data/generated/google/apis/cloudbuild_v1/service.rb +121 -0
  42. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  43. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +142 -0
  44. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +60 -0
  45. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
  46. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  47. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +142 -0
  48. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +60 -0
  49. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
  50. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  51. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
  52. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  53. data/generated/google/apis/container_v1beta1.rb +1 -1
  54. data/generated/google/apis/container_v1beta1/classes.rb +35 -0
  55. data/generated/google/apis/container_v1beta1/representations.rb +17 -0
  56. data/generated/google/apis/content_v2_1.rb +1 -1
  57. data/generated/google/apis/content_v2_1/classes.rb +6 -0
  58. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  59. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  60. data/generated/google/apis/dataproc_v1beta2/classes.rb +26 -12
  61. data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
  62. data/generated/google/apis/datastore_v1.rb +1 -1
  63. data/generated/google/apis/datastore_v1/classes.rb +1 -1
  64. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  65. data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
  66. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  67. data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
  68. data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
  69. data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
  70. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  71. data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
  72. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
  73. data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
  74. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  75. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
  76. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
  77. data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
  78. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  79. data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
  80. data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
  81. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  82. data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
  83. data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
  84. data/generated/google/apis/dialogflow_v2.rb +1 -1
  85. data/generated/google/apis/dialogflow_v2/classes.rb +3 -0
  86. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  87. data/generated/google/apis/dialogflow_v2beta1/classes.rb +3 -0
  88. data/generated/google/apis/dialogflow_v2beta1/service.rb +2 -2
  89. data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
  90. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5022 -0
  91. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2057 -0
  92. data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
  93. data/generated/google/apis/displayvideo_v1.rb +1 -1
  94. data/generated/google/apis/displayvideo_v1/service.rb +7 -2
  95. data/generated/google/apis/dlp_v2.rb +1 -1
  96. data/generated/google/apis/dlp_v2/classes.rb +9 -21
  97. data/generated/google/apis/dlp_v2/service.rb +79 -142
  98. data/generated/google/apis/dns_v1.rb +1 -1
  99. data/generated/google/apis/dns_v1/classes.rb +160 -261
  100. data/generated/google/apis/dns_v1/representations.rb +17 -0
  101. data/generated/google/apis/dns_v1/service.rb +21 -141
  102. data/generated/google/apis/dns_v1beta2.rb +1 -1
  103. data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
  104. data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
  105. data/generated/google/apis/dns_v1beta2/service.rb +21 -141
  106. data/generated/google/apis/dns_v2beta1.rb +1 -1
  107. data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
  108. data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
  109. data/generated/google/apis/dns_v2beta1/service.rb +21 -141
  110. data/generated/google/apis/file_v1.rb +1 -1
  111. data/generated/google/apis/file_v1/classes.rb +31 -0
  112. data/generated/google/apis/file_v1/representations.rb +15 -0
  113. data/generated/google/apis/file_v1beta1.rb +1 -1
  114. data/generated/google/apis/file_v1beta1/classes.rb +31 -0
  115. data/generated/google/apis/file_v1beta1/representations.rb +15 -0
  116. data/generated/google/apis/{pagespeedonline_v1.rb → firebaseml_v1.rb} +11 -9
  117. data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
  118. data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
  119. data/generated/google/apis/firebaseml_v1/service.rb +181 -0
  120. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  121. data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
  122. data/generated/google/apis/games_management_v1management.rb +1 -1
  123. data/generated/google/apis/games_management_v1management/service.rb +1 -1
  124. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  125. data/generated/google/apis/iamcredentials_v1/classes.rb +26 -2
  126. data/generated/google/apis/networkmanagement_v1.rb +35 -0
  127. data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
  128. data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
  129. data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
  130. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  131. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  132. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  133. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  134. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  135. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  136. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  137. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  138. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  139. data/generated/google/apis/securitycenter_v1.rb +1 -1
  140. data/generated/google/apis/securitycenter_v1/classes.rb +27 -12
  141. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  142. data/generated/google/apis/securitycenter_v1beta1/classes.rb +27 -12
  143. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  144. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +27 -12
  145. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  146. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -31
  147. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -1
  148. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  149. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +0 -31
  150. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -1
  151. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  152. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -31
  153. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  154. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  155. data/generated/google/apis/servicenetworking_v1/classes.rb +379 -31
  156. data/generated/google/apis/servicenetworking_v1/representations.rb +209 -1
  157. data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
  158. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  159. data/generated/google/apis/servicenetworking_v1beta/classes.rb +188 -31
  160. data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -1
  161. data/generated/google/apis/serviceusage_v1.rb +1 -1
  162. data/generated/google/apis/serviceusage_v1/classes.rb +0 -31
  163. data/generated/google/apis/serviceusage_v1/representations.rb +0 -1
  164. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  165. data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -31
  166. data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -1
  167. data/generated/google/apis/tasks_v1.rb +3 -3
  168. data/generated/google/apis/tasks_v1/classes.rb +26 -25
  169. data/generated/google/apis/tasks_v1/representations.rb +4 -8
  170. data/generated/google/apis/tasks_v1/service.rb +79 -128
  171. data/generated/google/apis/translate_v3.rb +1 -1
  172. data/generated/google/apis/verifiedaccess_v1.rb +3 -3
  173. data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
  174. data/generated/google/apis/websecurityscanner_v1.rb +2 -2
  175. data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
  176. data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
  177. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  178. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
  179. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  180. data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
  181. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
  182. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  183. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  184. data/generated/google/apis/youtube_v3.rb +5 -5
  185. data/generated/google/apis/youtube_v3/classes.rb +1260 -1244
  186. data/generated/google/apis/youtube_v3/representations.rb +64 -192
  187. data/generated/google/apis/youtube_v3/service.rb +1833 -2125
  188. data/lib/google/apis/version.rb +1 -1
  189. metadata +19 -7
  190. data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
  191. data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
  192. data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
@@ -47,6 +47,127 @@ module Google
47
47
  @batch_path = 'batch'
48
48
  end
49
49
 
50
+ # Starts asynchronous cancellation on a long-running operation. The server
51
+ # makes a best effort to cancel the operation, but success is not
52
+ # guaranteed. If the server doesn't support this method, it returns
53
+ # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
54
+ # Operations.GetOperation or
55
+ # other methods to check whether the cancellation succeeded or whether the
56
+ # operation completed despite cancellation. On successful cancellation,
57
+ # the operation is not deleted; instead, it becomes an operation with
58
+ # an Operation.error value with a google.rpc.Status.code of 1,
59
+ # corresponding to `Code.CANCELLED`.
60
+ # @param [String] name
61
+ # The name of the operation resource to be cancelled.
62
+ # @param [Google::Apis::CloudbuildV1alpha2::CancelOperationRequest] cancel_operation_request_object
63
+ # @param [String] fields
64
+ # Selector specifying which fields to include in a partial response.
65
+ # @param [String] quota_user
66
+ # Available to use for quota purposes for server-side applications. Can be any
67
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
68
+ # @param [Google::Apis::RequestOptions] options
69
+ # Request-specific options
70
+ #
71
+ # @yield [result, err] Result & error if block supplied
72
+ # @yieldparam result [Google::Apis::CloudbuildV1alpha2::Empty] parsed result object
73
+ # @yieldparam err [StandardError] error object if request failed
74
+ #
75
+ # @return [Google::Apis::CloudbuildV1alpha2::Empty]
76
+ #
77
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
78
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
79
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
80
+ def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
81
+ command = make_simple_command(:post, 'v1alpha2/{+name}:cancel', options)
82
+ command.request_representation = Google::Apis::CloudbuildV1alpha2::CancelOperationRequest::Representation
83
+ command.request_object = cancel_operation_request_object
84
+ command.response_representation = Google::Apis::CloudbuildV1alpha2::Empty::Representation
85
+ command.response_class = Google::Apis::CloudbuildV1alpha2::Empty
86
+ command.params['name'] = name unless name.nil?
87
+ command.query['fields'] = fields unless fields.nil?
88
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
89
+ execute_or_queue_command(command, &block)
90
+ end
91
+
92
+ # Gets the latest state of a long-running operation. Clients can use this
93
+ # method to poll the operation result at intervals as recommended by the API
94
+ # service.
95
+ # @param [String] name
96
+ # The name of the operation resource.
97
+ # @param [String] fields
98
+ # Selector specifying which fields to include in a partial response.
99
+ # @param [String] quota_user
100
+ # Available to use for quota purposes for server-side applications. Can be any
101
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
102
+ # @param [Google::Apis::RequestOptions] options
103
+ # Request-specific options
104
+ #
105
+ # @yield [result, err] Result & error if block supplied
106
+ # @yieldparam result [Google::Apis::CloudbuildV1alpha2::Operation] parsed result object
107
+ # @yieldparam err [StandardError] error object if request failed
108
+ #
109
+ # @return [Google::Apis::CloudbuildV1alpha2::Operation]
110
+ #
111
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
112
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
113
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
114
+ def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
115
+ command = make_simple_command(:get, 'v1alpha2/{+name}', options)
116
+ command.response_representation = Google::Apis::CloudbuildV1alpha2::Operation::Representation
117
+ command.response_class = Google::Apis::CloudbuildV1alpha2::Operation
118
+ command.params['name'] = name unless name.nil?
119
+ command.query['fields'] = fields unless fields.nil?
120
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
121
+ execute_or_queue_command(command, &block)
122
+ end
123
+
124
+ # Lists operations that match the specified filter in the request. If the
125
+ # server doesn't support this method, it returns `UNIMPLEMENTED`.
126
+ # NOTE: the `name` binding allows API services to override the binding
127
+ # to use different resource name schemes, such as `users/*/operations`. To
128
+ # override the binding, API services can add a binding such as
129
+ # `"/v1/`name=users/*`/operations"` to their service configuration.
130
+ # For backwards compatibility, the default name includes the operations
131
+ # collection id, however overriding users must ensure the name binding
132
+ # is the parent resource, without the operations collection id.
133
+ # @param [String] name
134
+ # The name of the operation's parent resource.
135
+ # @param [String] filter
136
+ # The standard list filter.
137
+ # @param [Fixnum] page_size
138
+ # The standard list page size.
139
+ # @param [String] page_token
140
+ # The standard list page token.
141
+ # @param [String] fields
142
+ # Selector specifying which fields to include in a partial response.
143
+ # @param [String] quota_user
144
+ # Available to use for quota purposes for server-side applications. Can be any
145
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
146
+ # @param [Google::Apis::RequestOptions] options
147
+ # Request-specific options
148
+ #
149
+ # @yield [result, err] Result & error if block supplied
150
+ # @yieldparam result [Google::Apis::CloudbuildV1alpha2::ListOperationsResponse] parsed result object
151
+ # @yieldparam err [StandardError] error object if request failed
152
+ #
153
+ # @return [Google::Apis::CloudbuildV1alpha2::ListOperationsResponse]
154
+ #
155
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
156
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
157
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
158
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
159
+ command = make_simple_command(:get, 'v1alpha2/{+name}/operations', options)
160
+ command.response_representation = Google::Apis::CloudbuildV1alpha2::ListOperationsResponse::Representation
161
+ command.response_class = Google::Apis::CloudbuildV1alpha2::ListOperationsResponse
162
+ command.params['name'] = name unless name.nil?
163
+ command.query['filter'] = filter unless filter.nil?
164
+ command.query['pageSize'] = page_size unless page_size.nil?
165
+ command.query['pageToken'] = page_token unless page_token.nil?
166
+ command.query['fields'] = fields unless fields.nil?
167
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
168
+ execute_or_queue_command(command, &block)
169
+ end
170
+
50
171
  # Creates a `WorkerPool` to run the builds, and returns the new worker pool.
51
172
  # @param [String] parent
52
173
  # Required. The parent resource where this book will be created.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/identity/
26
26
  module CloudidentityV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20200502'
28
+ REVISION = '20200516'
29
29
 
30
30
  # See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group
31
31
  AUTH_CLOUD_IDENTITY_GROUPS = 'https://www.googleapis.com/auth/cloud-identity.groups'
@@ -472,6 +472,11 @@ module Google
472
472
  # @return [String]
473
473
  attr_accessor :compromised_state
474
474
 
475
+ # When the user first signed in to the device
476
+ # Corresponds to the JSON property `createTime`
477
+ # @return [String]
478
+ attr_accessor :create_time
479
+
475
480
  # Output only. Most recent time when user registered with this service.
476
481
  # Corresponds to the JSON property `firstSyncTime`
477
482
  # @return [String]
@@ -522,6 +527,7 @@ module Google
522
527
  # Update properties of this object
523
528
  def update!(**args)
524
529
  @compromised_state = args[:compromised_state] if args.key?(:compromised_state)
530
+ @create_time = args[:create_time] if args.key?(:create_time)
525
531
  @first_sync_time = args[:first_sync_time] if args.key?(:first_sync_time)
526
532
  @language_code = args[:language_code] if args.key?(:language_code)
527
533
  @last_sync_time = args[:last_sync_time] if args.key?(:last_sync_time)
@@ -329,6 +329,7 @@ module Google
329
329
  # @private
330
330
  class Representation < Google::Apis::Core::JsonRepresentation
331
331
  property :compromised_state, as: 'compromisedState'
332
+ property :create_time, as: 'createTime'
332
333
  property :first_sync_time, as: 'firstSyncTime'
333
334
  property :language_code, as: 'languageCode'
334
335
  property :last_sync_time, as: 'lastSyncTime'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-engine/
27
27
  module ContainerV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20200501'
29
+ REVISION = '20200505'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1008,6 +1008,12 @@ module Google
1008
1008
  # @return [Google::Apis::ContainerV1beta1::DatabaseEncryption]
1009
1009
  attr_accessor :desired_database_encryption
1010
1010
 
1011
+ # DefaultSnatStatus contains the desired state of whether default sNAT should
1012
+ # be disabled on the cluster.
1013
+ # Corresponds to the JSON property `desiredDefaultSnatStatus`
1014
+ # @return [Google::Apis::ContainerV1beta1::DefaultSnatStatus]
1015
+ attr_accessor :desired_default_snat_status
1016
+
1011
1017
  # The desired image type for the node pool.
1012
1018
  # NOTE: Set the "desired_node_pool" field as well.
1013
1019
  # Corresponds to the JSON property `desiredImageType`
@@ -1164,6 +1170,7 @@ module Google
1164
1170
  @desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
1165
1171
  @desired_cluster_telemetry = args[:desired_cluster_telemetry] if args.key?(:desired_cluster_telemetry)
1166
1172
  @desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
1173
+ @desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
1167
1174
  @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
1168
1175
  @desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
1169
1176
  @desired_locations = args[:desired_locations] if args.key?(:desired_locations)
@@ -1423,6 +1430,27 @@ module Google
1423
1430
  end
1424
1431
  end
1425
1432
 
1433
+ # DefaultSnatStatus contains the desired state of whether default sNAT should
1434
+ # be disabled on the cluster.
1435
+ class DefaultSnatStatus
1436
+ include Google::Apis::Core::Hashable
1437
+
1438
+ # Disables cluster default sNAT rules.
1439
+ # Corresponds to the JSON property `disabled`
1440
+ # @return [Boolean]
1441
+ attr_accessor :disabled
1442
+ alias_method :disabled?, :disabled
1443
+
1444
+ def initialize(**args)
1445
+ update!(**args)
1446
+ end
1447
+
1448
+ # Update properties of this object
1449
+ def update!(**args)
1450
+ @disabled = args[:disabled] if args.key?(:disabled)
1451
+ end
1452
+ end
1453
+
1426
1454
  # Configuration for NodeLocal DNSCache
1427
1455
  class DnsCacheConfig
1428
1456
  include Google::Apis::Core::Hashable
@@ -2371,6 +2399,12 @@ module Google
2371
2399
  class NetworkConfig
2372
2400
  include Google::Apis::Core::Hashable
2373
2401
 
2402
+ # DefaultSnatStatus contains the desired state of whether default sNAT should
2403
+ # be disabled on the cluster.
2404
+ # Corresponds to the JSON property `defaultSnatStatus`
2405
+ # @return [Google::Apis::ContainerV1beta1::DefaultSnatStatus]
2406
+ attr_accessor :default_snat_status
2407
+
2374
2408
  # Whether Intra-node visibility is enabled for this cluster.
2375
2409
  # This makes same node pod to pod traffic visible for VPC network.
2376
2410
  # Corresponds to the JSON property `enableIntraNodeVisibility`
@@ -2400,6 +2434,7 @@ module Google
2400
2434
 
2401
2435
  # Update properties of this object
2402
2436
  def update!(**args)
2437
+ @default_snat_status = args[:default_snat_status] if args.key?(:default_snat_status)
2403
2438
  @enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
2404
2439
  @network = args[:network] if args.key?(:network)
2405
2440
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
@@ -160,6 +160,12 @@ module Google
160
160
  include Google::Apis::Core::JsonObjectSupport
161
161
  end
162
162
 
163
+ class DefaultSnatStatus
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
163
169
  class DnsCacheConfig
164
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
171
 
@@ -853,6 +859,8 @@ module Google
853
859
 
854
860
  property :desired_database_encryption, as: 'desiredDatabaseEncryption', class: Google::Apis::ContainerV1beta1::DatabaseEncryption, decorator: Google::Apis::ContainerV1beta1::DatabaseEncryption::Representation
855
861
 
862
+ property :desired_default_snat_status, as: 'desiredDefaultSnatStatus', class: Google::Apis::ContainerV1beta1::DefaultSnatStatus, decorator: Google::Apis::ContainerV1beta1::DefaultSnatStatus::Representation
863
+
856
864
  property :desired_image_type, as: 'desiredImageType'
857
865
  property :desired_intra_node_visibility_config, as: 'desiredIntraNodeVisibilityConfig', class: Google::Apis::ContainerV1beta1::IntraNodeVisibilityConfig, decorator: Google::Apis::ContainerV1beta1::IntraNodeVisibilityConfig::Representation
858
866
 
@@ -948,6 +956,13 @@ module Google
948
956
  end
949
957
  end
950
958
 
959
+ class DefaultSnatStatus
960
+ # @private
961
+ class Representation < Google::Apis::Core::JsonRepresentation
962
+ property :disabled, as: 'disabled'
963
+ end
964
+ end
965
+
951
966
  class DnsCacheConfig
952
967
  # @private
953
968
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1203,6 +1218,8 @@ module Google
1203
1218
  class NetworkConfig
1204
1219
  # @private
1205
1220
  class Representation < Google::Apis::Core::JsonRepresentation
1221
+ property :default_snat_status, as: 'defaultSnatStatus', class: Google::Apis::ContainerV1beta1::DefaultSnatStatus, decorator: Google::Apis::ContainerV1beta1::DefaultSnatStatus::Representation
1222
+
1206
1223
  property :enable_intra_node_visibility, as: 'enableIntraNodeVisibility'
1207
1224
  property :network, as: 'network'
1208
1225
  property :subnetwork, as: 'subnetwork'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/shopping-content
27
27
  module ContentV2_1
28
28
  VERSION = 'V2_1'
29
- REVISION = '20200421'
29
+ REVISION = '20200512'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -10861,6 +10861,11 @@ module Google
10861
10861
  # @return [String]
10862
10862
  attr_accessor :merchant_order_id
10863
10863
 
10864
+ # The identifier of the item.
10865
+ # Corresponds to the JSON property `orderItemId`
10866
+ # @return [String]
10867
+ attr_accessor :order_item_id
10868
+
10864
10869
  # The unique ID of the settlement transaction entry.
10865
10870
  # Corresponds to the JSON property `settlementEntryId`
10866
10871
  # @return [String]
@@ -10884,6 +10889,7 @@ module Google
10884
10889
  def update!(**args)
10885
10890
  @adjustment_id = args[:adjustment_id] if args.key?(:adjustment_id)
10886
10891
  @merchant_order_id = args[:merchant_order_id] if args.key?(:merchant_order_id)
10892
+ @order_item_id = args[:order_item_id] if args.key?(:order_item_id)
10887
10893
  @settlement_entry_id = args[:settlement_entry_id] if args.key?(:settlement_entry_id)
10888
10894
  @shipment_ids = args[:shipment_ids] if args.key?(:shipment_ids)
10889
10895
  @transaction_id = args[:transaction_id] if args.key?(:transaction_id)
@@ -4543,6 +4543,7 @@ module Google
4543
4543
  class Representation < Google::Apis::Core::JsonRepresentation
4544
4544
  property :adjustment_id, as: 'adjustmentId'
4545
4545
  property :merchant_order_id, as: 'merchantOrderId'
4546
+ property :order_item_id, as: 'orderItemId'
4546
4547
  property :settlement_entry_id, as: 'settlementEntryId'
4547
4548
  collection :shipment_ids, as: 'shipmentIds'
4548
4549
  property :transaction_id, as: 'transactionId'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataproc/
26
26
  module DataprocV1beta2
27
27
  VERSION = 'V1beta2'
28
- REVISION = '20200409'
28
+ REVISION = '20200511'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1061,7 +1061,9 @@ module Google
1061
1061
  # Optional. The policy format version to be returned.Valid values are 0, 1, and
1062
1062
  # 3. Requests specifying an invalid value will be rejected.Requests for policies
1063
1063
  # with any conditional bindings must specify version 3. Policies without any
1064
- # conditional bindings may specify any valid value or leave the field unset.
1064
+ # conditional bindings may specify any valid value or leave the field unset.To
1065
+ # learn which resources support conditions in their IAM policies, see the IAM
1066
+ # documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
1065
1067
  # Corresponds to the JSON property `requestedPolicyVersion`
1066
1068
  # @return [Fixnum]
1067
1069
  attr_accessor :requested_policy_version
@@ -2452,10 +2454,13 @@ module Google
2452
2454
  # binding binds one or more members to a single role. Members can be user
2453
2455
  # accounts, service accounts, Google groups, and domains (such as G Suite). A
2454
2456
  # role is a named list of permissions; each role can be an IAM predefined role
2455
- # or a user-created custom role.Optionally, a binding can specify a condition,
2456
- # which is a logical expression that allows access to a resource only if the
2457
- # expression evaluates to true. A condition can add constraints based on
2458
- # attributes of the request, the resource, or both.JSON example:
2457
+ # or a user-created custom role.For some types of Google Cloud resources, a
2458
+ # binding can also specify a condition, which is a logical expression that
2459
+ # allows access to a resource only if the expression evaluates to true. A
2460
+ # condition can add constraints based on attributes of the request, the resource,
2461
+ # or both. To learn which resources support conditions in their IAM policies,
2462
+ # see the IAM documentation (https://cloud.google.com/iam/help/conditions/
2463
+ # resource-policies).JSON example:
2459
2464
  # `
2460
2465
  # "bindings": [
2461
2466
  # `
@@ -2469,7 +2474,9 @@ module Google
2469
2474
  # `,
2470
2475
  # `
2471
2476
  # "role": "roles/resourcemanager.organizationViewer",
2472
- # "members": ["user:eve@example.com"],
2477
+ # "members": [
2478
+ # "user:eve@example.com"
2479
+ # ],
2473
2480
  # "condition": `
2474
2481
  # "title": "expirable access",
2475
2482
  # "description": "Does not grant access after Sep 2020",
@@ -2537,7 +2544,9 @@ module Google
2537
2544
  # allows you to overwrite a version 3 policy with a version 1 policy, and all of
2538
2545
  # the conditions in the version 3 policy are lost.If a policy does not include
2539
2546
  # any conditions, operations on that policy may specify any valid version or
2540
- # leave the field unset.
2547
+ # leave the field unset.To learn which resources support conditions in their IAM
2548
+ # policies, see the IAM documentation (https://cloud.google.com/iam/help/
2549
+ # conditions/resource-policies).
2541
2550
  # Corresponds to the JSON property `version`
2542
2551
  # @return [Fixnum]
2543
2552
  attr_accessor :version
@@ -2801,10 +2810,13 @@ module Google
2801
2810
  # binding binds one or more members to a single role. Members can be user
2802
2811
  # accounts, service accounts, Google groups, and domains (such as G Suite). A
2803
2812
  # role is a named list of permissions; each role can be an IAM predefined role
2804
- # or a user-created custom role.Optionally, a binding can specify a condition,
2805
- # which is a logical expression that allows access to a resource only if the
2806
- # expression evaluates to true. A condition can add constraints based on
2807
- # attributes of the request, the resource, or both.JSON example:
2813
+ # or a user-created custom role.For some types of Google Cloud resources, a
2814
+ # binding can also specify a condition, which is a logical expression that
2815
+ # allows access to a resource only if the expression evaluates to true. A
2816
+ # condition can add constraints based on attributes of the request, the resource,
2817
+ # or both. To learn which resources support conditions in their IAM policies,
2818
+ # see the IAM documentation (https://cloud.google.com/iam/help/conditions/
2819
+ # resource-policies).JSON example:
2808
2820
  # `
2809
2821
  # "bindings": [
2810
2822
  # `
@@ -2818,7 +2830,9 @@ module Google
2818
2830
  # `,
2819
2831
  # `
2820
2832
  # "role": "roles/resourcemanager.organizationViewer",
2821
- # "members": ["user:eve@example.com"],
2833
+ # "members": [
2834
+ # "user:eve@example.com"
2835
+ # ],
2822
2836
  # "condition": `
2823
2837
  # "title": "expirable access",
2824
2838
  # "description": "Does not grant access after Sep 2020",
@@ -169,7 +169,9 @@ module Google
169
169
  # Optional. The policy format version to be returned.Valid values are 0, 1, and
170
170
  # 3. Requests specifying an invalid value will be rejected.Requests for policies
171
171
  # with any conditional bindings must specify version 3. Policies without any
172
- # conditional bindings may specify any valid value or leave the field unset.
172
+ # conditional bindings may specify any valid value or leave the field unset.To
173
+ # learn which resources support conditions in their IAM policies, see the IAM
174
+ # documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
173
175
  # @param [String] fields
174
176
  # Selector specifying which fields to include in a partial response.
175
177
  # @param [String] quota_user
@@ -242,8 +244,8 @@ module Google
242
244
  end
243
245
 
244
246
  # Sets the access control policy on the specified resource. Replaces any
245
- # existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
246
- # PERMISSION_DENIED
247
+ # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
248
+ # errors.
247
249
  # @param [String] resource
248
250
  # REQUIRED: The resource for which the policy is being specified. See the
249
251
  # operation documentation for the appropriate value for this field.
@@ -487,7 +489,9 @@ module Google
487
489
  # Optional. The policy format version to be returned.Valid values are 0, 1, and
488
490
  # 3. Requests specifying an invalid value will be rejected.Requests for policies
489
491
  # with any conditional bindings must specify version 3. Policies without any
490
- # conditional bindings may specify any valid value or leave the field unset.
492
+ # conditional bindings may specify any valid value or leave the field unset.To
493
+ # learn which resources support conditions in their IAM policies, see the IAM
494
+ # documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
491
495
  # @param [String] fields
492
496
  # Selector specifying which fields to include in a partial response.
493
497
  # @param [String] quota_user
@@ -668,8 +672,8 @@ module Google
668
672
  end
669
673
 
670
674
  # Sets the access control policy on the specified resource. Replaces any
671
- # existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
672
- # PERMISSION_DENIED
675
+ # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
676
+ # errors.
673
677
  # @param [String] resource
674
678
  # REQUIRED: The resource for which the policy is being specified. See the
675
679
  # operation documentation for the appropriate value for this field.
@@ -904,7 +908,9 @@ module Google
904
908
  # Optional. The policy format version to be returned.Valid values are 0, 1, and
905
909
  # 3. Requests specifying an invalid value will be rejected.Requests for policies
906
910
  # with any conditional bindings must specify version 3. Policies without any
907
- # conditional bindings may specify any valid value or leave the field unset.
911
+ # conditional bindings may specify any valid value or leave the field unset.To
912
+ # learn which resources support conditions in their IAM policies, see the IAM
913
+ # documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
908
914
  # @param [String] fields
909
915
  # Selector specifying which fields to include in a partial response.
910
916
  # @param [String] quota_user
@@ -977,8 +983,8 @@ module Google
977
983
  end
978
984
 
979
985
  # Sets the access control policy on the specified resource. Replaces any
980
- # existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
981
- # PERMISSION_DENIED
986
+ # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
987
+ # errors.
982
988
  # @param [String] resource
983
989
  # REQUIRED: The resource for which the policy is being specified. See the
984
990
  # operation documentation for the appropriate value for this field.
@@ -1280,7 +1286,9 @@ module Google
1280
1286
  # Optional. The policy format version to be returned.Valid values are 0, 1, and
1281
1287
  # 3. Requests specifying an invalid value will be rejected.Requests for policies
1282
1288
  # with any conditional bindings must specify version 3. Policies without any
1283
- # conditional bindings may specify any valid value or leave the field unset.
1289
+ # conditional bindings may specify any valid value or leave the field unset.To
1290
+ # learn which resources support conditions in their IAM policies, see the IAM
1291
+ # documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
1284
1292
  # @param [String] fields
1285
1293
  # Selector specifying which fields to include in a partial response.
1286
1294
  # @param [String] quota_user
@@ -1479,8 +1487,8 @@ module Google
1479
1487
  end
1480
1488
 
1481
1489
  # Sets the access control policy on the specified resource. Replaces any
1482
- # existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
1483
- # PERMISSION_DENIED
1490
+ # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
1491
+ # errors.
1484
1492
  # @param [String] resource
1485
1493
  # REQUIRED: The resource for which the policy is being specified. See the
1486
1494
  # operation documentation for the appropriate value for this field.
@@ -1755,7 +1763,9 @@ module Google
1755
1763
  # Optional. The policy format version to be returned.Valid values are 0, 1, and
1756
1764
  # 3. Requests specifying an invalid value will be rejected.Requests for policies
1757
1765
  # with any conditional bindings must specify version 3. Policies without any
1758
- # conditional bindings may specify any valid value or leave the field unset.
1766
+ # conditional bindings may specify any valid value or leave the field unset.To
1767
+ # learn which resources support conditions in their IAM policies, see the IAM
1768
+ # documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
1759
1769
  # @param [String] fields
1760
1770
  # Selector specifying which fields to include in a partial response.
1761
1771
  # @param [String] quota_user
@@ -1888,8 +1898,8 @@ module Google
1888
1898
  end
1889
1899
 
1890
1900
  # Sets the access control policy on the specified resource. Replaces any
1891
- # existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
1892
- # PERMISSION_DENIED
1901
+ # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
1902
+ # errors.
1893
1903
  # @param [String] resource
1894
1904
  # REQUIRED: The resource for which the policy is being specified. See the
1895
1905
  # operation documentation for the appropriate value for this field.
@@ -2143,7 +2153,9 @@ module Google
2143
2153
  # Optional. The policy format version to be returned.Valid values are 0, 1, and
2144
2154
  # 3. Requests specifying an invalid value will be rejected.Requests for policies
2145
2155
  # with any conditional bindings must specify version 3. Policies without any
2146
- # conditional bindings may specify any valid value or leave the field unset.
2156
+ # conditional bindings may specify any valid value or leave the field unset.To
2157
+ # learn which resources support conditions in their IAM policies, see the IAM
2158
+ # documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
2147
2159
  # @param [String] fields
2148
2160
  # Selector specifying which fields to include in a partial response.
2149
2161
  # @param [String] quota_user
@@ -2219,8 +2231,8 @@ module Google
2219
2231
  end
2220
2232
 
2221
2233
  # Sets the access control policy on the specified resource. Replaces any
2222
- # existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
2223
- # PERMISSION_DENIED
2234
+ # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
2235
+ # errors.
2224
2236
  # @param [String] resource
2225
2237
  # REQUIRED: The resource for which the policy is being specified. See the
2226
2238
  # operation documentation for the appropriate value for this field.
@@ -2423,7 +2435,9 @@ module Google
2423
2435
  # Optional. The policy format version to be returned.Valid values are 0, 1, and
2424
2436
  # 3. Requests specifying an invalid value will be rejected.Requests for policies
2425
2437
  # with any conditional bindings must specify version 3. Policies without any
2426
- # conditional bindings may specify any valid value or leave the field unset.
2438
+ # conditional bindings may specify any valid value or leave the field unset.To
2439
+ # learn which resources support conditions in their IAM policies, see the IAM
2440
+ # documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
2427
2441
  # @param [String] fields
2428
2442
  # Selector specifying which fields to include in a partial response.
2429
2443
  # @param [String] quota_user
@@ -2604,8 +2618,8 @@ module Google
2604
2618
  end
2605
2619
 
2606
2620
  # Sets the access control policy on the specified resource. Replaces any
2607
- # existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
2608
- # PERMISSION_DENIED
2621
+ # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
2622
+ # errors.
2609
2623
  # @param [String] resource
2610
2624
  # REQUIRED: The resource for which the policy is being specified. See the
2611
2625
  # operation documentation for the appropriate value for this field.