google-api-client 0.32.0 → 0.32.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +34 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +6 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +6 -1
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +2 -2
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -2
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +2 -2
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +21 -21
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +62 -29
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +63 -30
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +62 -29
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +62 -29
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +62 -29
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +62 -29
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +62 -29
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +0 -28
- data/generated/google/apis/dlp_v2/representations.rb +0 -14
- data/generated/google/apis/dlp_v2/service.rb +11 -5
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +8 -0
- data/generated/google/apis/dns_v1/representations.rb +1 -0
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +8 -0
- data/generated/google/apis/dns_v2beta1/representations.rb +1 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +9 -3
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +11 -3
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +6 -4
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +62 -29
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +62 -29
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +7 -5
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +6 -6
- data/generated/google/apis/run_v1beta1.rb +1 -4
- data/generated/google/apis/run_v1beta1/classes.rb +32 -70
- data/generated/google/apis/run_v1beta1/representations.rb +0 -29
- data/generated/google/apis/run_v1beta1/service.rb +62 -0
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +1 -0
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/service.rb +1 -0
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +1 -0
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/service.rb +1 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +5 -4
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +13 -4
- data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/service.rb +33 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
|
@@ -82,18 +82,6 @@ module Google
|
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
|
83
83
|
end
|
|
84
84
|
|
|
85
|
-
class Initializer
|
|
86
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
|
-
|
|
88
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
89
|
-
end
|
|
90
|
-
|
|
91
|
-
class Initializers
|
|
92
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
-
|
|
94
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
-
end
|
|
96
|
-
|
|
97
85
|
class Json
|
|
98
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
87
|
|
|
@@ -253,21 +241,6 @@ module Google
|
|
|
253
241
|
end
|
|
254
242
|
end
|
|
255
243
|
|
|
256
|
-
class Initializer
|
|
257
|
-
# @private
|
|
258
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
259
|
-
property :name, as: 'name'
|
|
260
|
-
end
|
|
261
|
-
end
|
|
262
|
-
|
|
263
|
-
class Initializers
|
|
264
|
-
# @private
|
|
265
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
266
|
-
collection :pending, as: 'pending', class: Google::Apis::RunV1beta1::Initializer, decorator: Google::Apis::RunV1beta1::Initializer::Representation
|
|
267
|
-
|
|
268
|
-
end
|
|
269
|
-
end
|
|
270
|
-
|
|
271
244
|
class Json
|
|
272
245
|
# @private
|
|
273
246
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -392,8 +365,6 @@ module Google
|
|
|
392
365
|
collection :finalizers, as: 'finalizers'
|
|
393
366
|
property :generate_name, as: 'generateName'
|
|
394
367
|
property :generation, as: 'generation'
|
|
395
|
-
property :initializers, as: 'initializers', class: Google::Apis::RunV1beta1::Initializers, decorator: Google::Apis::RunV1beta1::Initializers::Representation
|
|
396
|
-
|
|
397
368
|
hash :labels, as: 'labels'
|
|
398
369
|
property :name, as: 'name'
|
|
399
370
|
property :namespace, as: 'namespace'
|
|
@@ -104,6 +104,68 @@ module Google
|
|
|
104
104
|
execute_or_queue_command(command, &block)
|
|
105
105
|
end
|
|
106
106
|
|
|
107
|
+
# Rpc to get information about a CustomResourceDefinition.
|
|
108
|
+
# @param [String] name
|
|
109
|
+
# The name of the CustomResourceDefinition being retrieved. If needed,
|
|
110
|
+
# replace `namespace_id` with the project ID.
|
|
111
|
+
# @param [String] fields
|
|
112
|
+
# Selector specifying which fields to include in a partial response.
|
|
113
|
+
# @param [String] quota_user
|
|
114
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
115
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
116
|
+
# @param [Google::Apis::RequestOptions] options
|
|
117
|
+
# Request-specific options
|
|
118
|
+
#
|
|
119
|
+
# @yield [result, err] Result & error if block supplied
|
|
120
|
+
# @yieldparam result [Google::Apis::RunV1beta1::CustomResourceDefinition] parsed result object
|
|
121
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
122
|
+
#
|
|
123
|
+
# @return [Google::Apis::RunV1beta1::CustomResourceDefinition]
|
|
124
|
+
#
|
|
125
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
126
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
127
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
128
|
+
def get_namespace_customresourcedefinition(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
129
|
+
command = make_simple_command(:get, 'apis/apiextensions.k8s.io/v1beta1/{+name}', options)
|
|
130
|
+
command.response_representation = Google::Apis::RunV1beta1::CustomResourceDefinition::Representation
|
|
131
|
+
command.response_class = Google::Apis::RunV1beta1::CustomResourceDefinition
|
|
132
|
+
command.params['name'] = name unless name.nil?
|
|
133
|
+
command.query['fields'] = fields unless fields.nil?
|
|
134
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
135
|
+
execute_or_queue_command(command, &block)
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
# Rpc to get information about a CustomResourceDefinition.
|
|
139
|
+
# @param [String] name
|
|
140
|
+
# The name of the CustomResourceDefinition being retrieved. If needed,
|
|
141
|
+
# replace `namespace_id` with the project ID.
|
|
142
|
+
# @param [String] fields
|
|
143
|
+
# Selector specifying which fields to include in a partial response.
|
|
144
|
+
# @param [String] quota_user
|
|
145
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
146
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
147
|
+
# @param [Google::Apis::RequestOptions] options
|
|
148
|
+
# Request-specific options
|
|
149
|
+
#
|
|
150
|
+
# @yield [result, err] Result & error if block supplied
|
|
151
|
+
# @yieldparam result [Google::Apis::RunV1beta1::CustomResourceDefinition] parsed result object
|
|
152
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
153
|
+
#
|
|
154
|
+
# @return [Google::Apis::RunV1beta1::CustomResourceDefinition]
|
|
155
|
+
#
|
|
156
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
157
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
158
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
159
|
+
def get_project_location_customresourcedefinition(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
160
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
161
|
+
command.response_representation = Google::Apis::RunV1beta1::CustomResourceDefinition::Representation
|
|
162
|
+
command.response_class = Google::Apis::RunV1beta1::CustomResourceDefinition
|
|
163
|
+
command.params['name'] = name unless name.nil?
|
|
164
|
+
command.query['fields'] = fields unless fields.nil?
|
|
165
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
166
|
+
execute_or_queue_command(command, &block)
|
|
167
|
+
end
|
|
168
|
+
|
|
107
169
|
# Rpc to list custom resource definitions.
|
|
108
170
|
# @param [String] parent
|
|
109
171
|
# The project ID or project number from which the storages should
|
|
@@ -28,7 +28,7 @@ module Google
|
|
|
28
28
|
# @see https://cloud.google.com/deployment-manager/runtime-configurator/
|
|
29
29
|
module RuntimeconfigV1beta1
|
|
30
30
|
VERSION = 'V1beta1'
|
|
31
|
-
REVISION = '
|
|
31
|
+
REVISION = '20190930'
|
|
32
32
|
|
|
33
33
|
# View and manage your data across Google Cloud Platform services
|
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -241,6 +241,7 @@ module Google
|
|
|
241
241
|
|
|
242
242
|
# Sets the access control policy on the specified resource. Replaces any
|
|
243
243
|
# existing policy.
|
|
244
|
+
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
|
244
245
|
# @param [String] resource
|
|
245
246
|
# REQUIRED: The resource for which the policy is being specified.
|
|
246
247
|
# See the operation documentation for the appropriate value for this field.
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker
|
|
28
28
|
module ServicebrokerV1
|
|
29
29
|
VERSION = 'V1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20190930'
|
|
31
31
|
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -92,6 +92,7 @@ module Google
|
|
|
92
92
|
|
|
93
93
|
# Sets the access control policy on the specified resource. Replaces any
|
|
94
94
|
# existing policy.
|
|
95
|
+
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
|
95
96
|
# @param [String] resource
|
|
96
97
|
# REQUIRED: The resource for which the policy is being specified.
|
|
97
98
|
# See the operation documentation for the appropriate value for this field.
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker
|
|
28
28
|
module ServicebrokerV1alpha1
|
|
29
29
|
VERSION = 'V1alpha1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20190930'
|
|
31
31
|
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -652,6 +652,7 @@ module Google
|
|
|
652
652
|
|
|
653
653
|
# Sets the access control policy on the specified resource. Replaces any
|
|
654
654
|
# existing policy.
|
|
655
|
+
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
|
655
656
|
# @param [String] resource
|
|
656
657
|
# REQUIRED: The resource for which the policy is being specified.
|
|
657
658
|
# See the operation documentation for the appropriate value for this field.
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker
|
|
28
28
|
module ServicebrokerV1beta1
|
|
29
29
|
VERSION = 'V1beta1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20190930'
|
|
31
31
|
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -841,6 +841,7 @@ module Google
|
|
|
841
841
|
|
|
842
842
|
# Sets the access control policy on the specified resource. Replaces any
|
|
843
843
|
# existing policy.
|
|
844
|
+
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
|
844
845
|
# @param [String] resource
|
|
845
846
|
# REQUIRED: The resource for which the policy is being specified.
|
|
846
847
|
# See the operation documentation for the appropriate value for this field.
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/service-control/
|
|
27
27
|
module ServicecontrolV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20191003'
|
|
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'
|
|
@@ -1670,10 +1670,11 @@ module Google
|
|
|
1670
1670
|
# Identity of the operation. This is expected to be unique within the scope
|
|
1671
1671
|
# of the service that generated the operation, and guarantees idempotency in
|
|
1672
1672
|
# case of retries.
|
|
1673
|
-
#
|
|
1674
|
-
#
|
|
1675
|
-
#
|
|
1676
|
-
#
|
|
1673
|
+
# In order to ensure best performance and latency in the Quota backends,
|
|
1674
|
+
# operation_ids are optimally associated with time, so that related
|
|
1675
|
+
# operations can be accessed fast in storage. For this reason, the
|
|
1676
|
+
# recommended token for services that intend to operate at a high QPS is
|
|
1677
|
+
# Unix time in nanos + UUID
|
|
1677
1678
|
# Corresponds to the JSON property `operationId`
|
|
1678
1679
|
# @return [String]
|
|
1679
1680
|
attr_accessor :operation_id
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/service-management/
|
|
28
28
|
module ServicemanagementV1
|
|
29
29
|
VERSION = 'V1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20190927'
|
|
31
31
|
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -2406,6 +2406,15 @@ module Google
|
|
|
2406
2406
|
# @return [String]
|
|
2407
2407
|
attr_accessor :metric_kind
|
|
2408
2408
|
|
|
2409
|
+
# Read-only. If present, then a time
|
|
2410
|
+
# series, which is identified partially by
|
|
2411
|
+
# a metric type and a MonitoredResourceDescriptor, that is associated
|
|
2412
|
+
# with this metric type can only be associated with one of the monitored
|
|
2413
|
+
# resource types listed here.
|
|
2414
|
+
# Corresponds to the JSON property `monitoredResourceTypes`
|
|
2415
|
+
# @return [Array<String>]
|
|
2416
|
+
attr_accessor :monitored_resource_types
|
|
2417
|
+
|
|
2409
2418
|
# The resource name of the metric descriptor.
|
|
2410
2419
|
# Corresponds to the JSON property `name`
|
|
2411
2420
|
# @return [String]
|
|
@@ -2496,6 +2505,7 @@ module Google
|
|
|
2496
2505
|
@launch_stage = args[:launch_stage] if args.key?(:launch_stage)
|
|
2497
2506
|
@metadata = args[:metadata] if args.key?(:metadata)
|
|
2498
2507
|
@metric_kind = args[:metric_kind] if args.key?(:metric_kind)
|
|
2508
|
+
@monitored_resource_types = args[:monitored_resource_types] if args.key?(:monitored_resource_types)
|
|
2499
2509
|
@name = args[:name] if args.key?(:name)
|
|
2500
2510
|
@type = args[:type] if args.key?(:type)
|
|
2501
2511
|
@unit = args[:unit] if args.key?(:unit)
|
|
@@ -2514,8 +2524,7 @@ module Google
|
|
|
2514
2524
|
# @return [String]
|
|
2515
2525
|
attr_accessor :ingest_delay
|
|
2516
2526
|
|
|
2517
|
-
# Deprecated.
|
|
2518
|
-
# The launch stage of the metric definition.
|
|
2527
|
+
# Deprecated. Must use the MetricDescriptor.launch_stage instead.
|
|
2519
2528
|
# Corresponds to the JSON property `launchStage`
|
|
2520
2529
|
# @return [String]
|
|
2521
2530
|
attr_accessor :launch_stage
|
|
@@ -3054,7 +3063,7 @@ module Google
|
|
|
3054
3063
|
# `
|
|
3055
3064
|
# "bindings": [
|
|
3056
3065
|
# `
|
|
3057
|
-
# "role": "
|
|
3066
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
|
3058
3067
|
# "members": [
|
|
3059
3068
|
# "user:mike@example.com",
|
|
3060
3069
|
# "group:admins@example.com",
|
|
@@ -3879,7 +3888,7 @@ module Google
|
|
|
3879
3888
|
# `
|
|
3880
3889
|
# "bindings": [
|
|
3881
3890
|
# `
|
|
3882
|
-
# "role": "
|
|
3891
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
|
3883
3892
|
# "members": [
|
|
3884
3893
|
# "user:mike@example.com",
|
|
3885
3894
|
# "group:admins@example.com",
|
|
@@ -1054,6 +1054,7 @@ module Google
|
|
|
1054
1054
|
property :metadata, as: 'metadata', class: Google::Apis::ServicemanagementV1::MetricDescriptorMetadata, decorator: Google::Apis::ServicemanagementV1::MetricDescriptorMetadata::Representation
|
|
1055
1055
|
|
|
1056
1056
|
property :metric_kind, as: 'metricKind'
|
|
1057
|
+
collection :monitored_resource_types, as: 'monitoredResourceTypes'
|
|
1057
1058
|
property :name, as: 'name'
|
|
1058
1059
|
property :type, as: 'type'
|
|
1059
1060
|
property :unit, as: 'unit'
|
|
@@ -1028,6 +1028,39 @@ module Google
|
|
|
1028
1028
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1029
1029
|
execute_or_queue_command(command, &block)
|
|
1030
1030
|
end
|
|
1031
|
+
|
|
1032
|
+
# Deletes a long-running operation. This method indicates that the client is
|
|
1033
|
+
# no longer interested in the operation result. It does not cancel the
|
|
1034
|
+
# operation. If the server doesn't support this method, it returns
|
|
1035
|
+
# `google.rpc.Code.UNIMPLEMENTED`.
|
|
1036
|
+
# @param [String] name
|
|
1037
|
+
# The name of the operation resource to be deleted.
|
|
1038
|
+
# @param [String] fields
|
|
1039
|
+
# Selector specifying which fields to include in a partial response.
|
|
1040
|
+
# @param [String] quota_user
|
|
1041
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1042
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1043
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1044
|
+
# Request-specific options
|
|
1045
|
+
#
|
|
1046
|
+
# @yield [result, err] Result & error if block supplied
|
|
1047
|
+
# @yieldparam result [Google::Apis::VaultV1::Empty] parsed result object
|
|
1048
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1049
|
+
#
|
|
1050
|
+
# @return [Google::Apis::VaultV1::Empty]
|
|
1051
|
+
#
|
|
1052
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1053
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1054
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1055
|
+
def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1056
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
1057
|
+
command.response_representation = Google::Apis::VaultV1::Empty::Representation
|
|
1058
|
+
command.response_class = Google::Apis::VaultV1::Empty
|
|
1059
|
+
command.params['name'] = name unless name.nil?
|
|
1060
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1061
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1062
|
+
execute_or_queue_command(command, &block)
|
|
1063
|
+
end
|
|
1031
1064
|
|
|
1032
1065
|
protected
|
|
1033
1066
|
|
data/lib/google/apis/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-api-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.32.
|
|
4
|
+
version: 0.32.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Steven Bazyl
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2019-10-
|
|
14
|
+
date: 2019-10-07 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: representable
|