google-apis-containeranalysis_v1 0.1.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -50,156 +50,6 @@ module Google
50
50
  @batch_path = 'batch'
51
51
  end
52
52
 
53
- # Starts asynchronous cancellation on a long-running operation. The server makes
54
- # a best effort to cancel the operation, but success is not guaranteed. If the
55
- # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
56
- # Clients can use Operations.GetOperation or other methods to check whether the
57
- # cancellation succeeded or whether the operation completed despite cancellation.
58
- # On successful cancellation, the operation is not deleted; instead, it becomes
59
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
60
- # corresponding to `Code.CANCELLED`.
61
- # @param [String] name
62
- # The name of the operation resource to be cancelled.
63
- # @param [Google::Apis::ContaineranalysisV1::CancelOperationRequest] cancel_operation_request_object
64
- # @param [String] fields
65
- # Selector specifying which fields to include in a partial response.
66
- # @param [String] quota_user
67
- # Available to use for quota purposes for server-side applications. Can be any
68
- # arbitrary string assigned to a user, but should not exceed 40 characters.
69
- # @param [Google::Apis::RequestOptions] options
70
- # Request-specific options
71
- #
72
- # @yield [result, err] Result & error if block supplied
73
- # @yieldparam result [Google::Apis::ContaineranalysisV1::Empty] parsed result object
74
- # @yieldparam err [StandardError] error object if request failed
75
- #
76
- # @return [Google::Apis::ContaineranalysisV1::Empty]
77
- #
78
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
79
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
80
- # @raise [Google::Apis::AuthorizationError] Authorization is required
81
- def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
82
- command = make_simple_command(:post, 'v1/{+name}:cancel', options)
83
- command.request_representation = Google::Apis::ContaineranalysisV1::CancelOperationRequest::Representation
84
- command.request_object = cancel_operation_request_object
85
- command.response_representation = Google::Apis::ContaineranalysisV1::Empty::Representation
86
- command.response_class = Google::Apis::ContaineranalysisV1::Empty
87
- command.params['name'] = name unless name.nil?
88
- command.query['fields'] = fields unless fields.nil?
89
- command.query['quotaUser'] = quota_user unless quota_user.nil?
90
- execute_or_queue_command(command, &block)
91
- end
92
-
93
- # Deletes a long-running operation. This method indicates that the client is no
94
- # longer interested in the operation result. It does not cancel the operation.
95
- # If the server doesn't support this method, it returns `google.rpc.Code.
96
- # UNIMPLEMENTED`.
97
- # @param [String] name
98
- # The name of the operation resource to be deleted.
99
- # @param [String] fields
100
- # Selector specifying which fields to include in a partial response.
101
- # @param [String] quota_user
102
- # Available to use for quota purposes for server-side applications. Can be any
103
- # arbitrary string assigned to a user, but should not exceed 40 characters.
104
- # @param [Google::Apis::RequestOptions] options
105
- # Request-specific options
106
- #
107
- # @yield [result, err] Result & error if block supplied
108
- # @yieldparam result [Google::Apis::ContaineranalysisV1::Empty] parsed result object
109
- # @yieldparam err [StandardError] error object if request failed
110
- #
111
- # @return [Google::Apis::ContaineranalysisV1::Empty]
112
- #
113
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
114
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
115
- # @raise [Google::Apis::AuthorizationError] Authorization is required
116
- def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
117
- command = make_simple_command(:delete, 'v1/{+name}', options)
118
- command.response_representation = Google::Apis::ContaineranalysisV1::Empty::Representation
119
- command.response_class = Google::Apis::ContaineranalysisV1::Empty
120
- command.params['name'] = name unless name.nil?
121
- command.query['fields'] = fields unless fields.nil?
122
- command.query['quotaUser'] = quota_user unless quota_user.nil?
123
- execute_or_queue_command(command, &block)
124
- end
125
-
126
- # Gets the latest state of a long-running operation. Clients can use this method
127
- # to poll the operation result at intervals as recommended by the API service.
128
- # @param [String] name
129
- # The name of the operation resource.
130
- # @param [String] fields
131
- # Selector specifying which fields to include in a partial response.
132
- # @param [String] quota_user
133
- # Available to use for quota purposes for server-side applications. Can be any
134
- # arbitrary string assigned to a user, but should not exceed 40 characters.
135
- # @param [Google::Apis::RequestOptions] options
136
- # Request-specific options
137
- #
138
- # @yield [result, err] Result & error if block supplied
139
- # @yieldparam result [Google::Apis::ContaineranalysisV1::Operation] parsed result object
140
- # @yieldparam err [StandardError] error object if request failed
141
- #
142
- # @return [Google::Apis::ContaineranalysisV1::Operation]
143
- #
144
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
145
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
146
- # @raise [Google::Apis::AuthorizationError] Authorization is required
147
- def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
148
- command = make_simple_command(:get, 'v1/{+name}', options)
149
- command.response_representation = Google::Apis::ContaineranalysisV1::Operation::Representation
150
- command.response_class = Google::Apis::ContaineranalysisV1::Operation
151
- command.params['name'] = name unless name.nil?
152
- command.query['fields'] = fields unless fields.nil?
153
- command.query['quotaUser'] = quota_user unless quota_user.nil?
154
- execute_or_queue_command(command, &block)
155
- end
156
-
157
- # Lists operations that match the specified filter in the request. If the server
158
- # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
159
- # binding allows API services to override the binding to use different resource
160
- # name schemes, such as `users/*/operations`. To override the binding, API
161
- # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
162
- # service configuration. For backwards compatibility, the default name includes
163
- # the operations collection id, however overriding users must ensure the name
164
- # binding is the parent resource, without the operations collection id.
165
- # @param [String] name
166
- # The name of the operation's parent resource.
167
- # @param [String] filter
168
- # The standard list filter.
169
- # @param [Fixnum] page_size
170
- # The standard list page size.
171
- # @param [String] page_token
172
- # The standard list page token.
173
- # @param [String] fields
174
- # Selector specifying which fields to include in a partial response.
175
- # @param [String] quota_user
176
- # Available to use for quota purposes for server-side applications. Can be any
177
- # arbitrary string assigned to a user, but should not exceed 40 characters.
178
- # @param [Google::Apis::RequestOptions] options
179
- # Request-specific options
180
- #
181
- # @yield [result, err] Result & error if block supplied
182
- # @yieldparam result [Google::Apis::ContaineranalysisV1::ListOperationsResponse] parsed result object
183
- # @yieldparam err [StandardError] error object if request failed
184
- #
185
- # @return [Google::Apis::ContaineranalysisV1::ListOperationsResponse]
186
- #
187
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
188
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
189
- # @raise [Google::Apis::AuthorizationError] Authorization is required
190
- def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
191
- command = make_simple_command(:get, 'v1/{+name}', options)
192
- command.response_representation = Google::Apis::ContaineranalysisV1::ListOperationsResponse::Representation
193
- command.response_class = Google::Apis::ContaineranalysisV1::ListOperationsResponse
194
- command.params['name'] = name unless name.nil?
195
- command.query['filter'] = filter unless filter.nil?
196
- command.query['pageSize'] = page_size unless page_size.nil?
197
- command.query['pageToken'] = page_token unless page_token.nil?
198
- command.query['fields'] = fields unless fields.nil?
199
- command.query['quotaUser'] = quota_user unless quota_user.nil?
200
- execute_or_queue_command(command, &block)
201
- end
202
-
203
53
  # Creates new notes in batch.
204
54
  # @param [String] parent
205
55
  # Required. The name of the project in the form of `projects/[PROJECT_ID]`,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-27 00:00:00.000000000 Z
11
+ date: 2022-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.1.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.5.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Container Analysis API V1