google-apis-cloudasset_v1p7beta1 0.2.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/cloudasset_v1p7beta1.rb +1 -1
- data/lib/google/apis/cloudasset_v1p7beta1/classes.rb +1791 -68
- data/lib/google/apis/cloudasset_v1p7beta1/gem_version.rb +3 -3
- data/lib/google/apis/cloudasset_v1p7beta1/representations.rb +580 -21
- data/lib/google/apis/cloudasset_v1p7beta1/service.rb +35 -4
- metadata +5 -5
@@ -49,6 +49,37 @@ module Google
|
|
49
49
|
@batch_path = 'batch'
|
50
50
|
end
|
51
51
|
|
52
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
53
|
+
# to poll the operation result at intervals as recommended by the API service.
|
54
|
+
# @param [String] name
|
55
|
+
# The name of the operation resource.
|
56
|
+
# @param [String] fields
|
57
|
+
# Selector specifying which fields to include in a partial response.
|
58
|
+
# @param [String] quota_user
|
59
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
60
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
61
|
+
# @param [Google::Apis::RequestOptions] options
|
62
|
+
# Request-specific options
|
63
|
+
#
|
64
|
+
# @yield [result, err] Result & error if block supplied
|
65
|
+
# @yieldparam result [Google::Apis::CloudassetV1p7beta1::Operation] parsed result object
|
66
|
+
# @yieldparam err [StandardError] error object if request failed
|
67
|
+
#
|
68
|
+
# @return [Google::Apis::CloudassetV1p7beta1::Operation]
|
69
|
+
#
|
70
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
71
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
72
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
73
|
+
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
74
|
+
command = make_simple_command(:get, 'v1p7beta1/{+name}', options)
|
75
|
+
command.response_representation = Google::Apis::CloudassetV1p7beta1::Operation::Representation
|
76
|
+
command.response_class = Google::Apis::CloudassetV1p7beta1::Operation
|
77
|
+
command.params['name'] = name unless name.nil?
|
78
|
+
command.query['fields'] = fields unless fields.nil?
|
79
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
80
|
+
execute_or_queue_command(command, &block)
|
81
|
+
end
|
82
|
+
|
52
83
|
# Exports assets with time and resource types to a given Cloud Storage location/
|
53
84
|
# BigQuery table. For Cloud Storage location destinations, the output format is
|
54
85
|
# newline-delimited JSON. Each line represents a google.cloud.asset.v1p7beta1.
|
@@ -63,7 +94,7 @@ module Google
|
|
63
94
|
# organization number (such as "organizations/123"), a project ID (such as "
|
64
95
|
# projects/my-project-id"), or a project number (such as "projects/12345"), or a
|
65
96
|
# folder number (such as "folders/123").
|
66
|
-
# @param [Google::Apis::CloudassetV1p7beta1::
|
97
|
+
# @param [Google::Apis::CloudassetV1p7beta1::GoogleCloudAssetV1p7beta1ExportAssetsRequest] google_cloud_asset_v1p7beta1_export_assets_request_object
|
67
98
|
# @param [String] fields
|
68
99
|
# Selector specifying which fields to include in a partial response.
|
69
100
|
# @param [String] quota_user
|
@@ -81,10 +112,10 @@ module Google
|
|
81
112
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
82
113
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
83
114
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
84
|
-
def export_assets(parent,
|
115
|
+
def export_assets(parent, google_cloud_asset_v1p7beta1_export_assets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
85
116
|
command = make_simple_command(:post, 'v1p7beta1/{+parent}:exportAssets', options)
|
86
|
-
command.request_representation = Google::Apis::CloudassetV1p7beta1::
|
87
|
-
command.request_object =
|
117
|
+
command.request_representation = Google::Apis::CloudassetV1p7beta1::GoogleCloudAssetV1p7beta1ExportAssetsRequest::Representation
|
118
|
+
command.request_object = google_cloud_asset_v1p7beta1_export_assets_request_object
|
88
119
|
command.response_representation = Google::Apis::CloudassetV1p7beta1::Operation::Representation
|
89
120
|
command.response_class = Google::Apis::CloudassetV1p7beta1::Operation
|
90
121
|
command.params['parent'] = parent unless parent.nil?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudasset_v1p7beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.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-
|
11
|
+
date: 2021-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudasset_v1p7beta1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1p7beta1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1p7beta1/v0.7.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudasset_v1p7beta1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
65
|
+
version: '2.5'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Cloud Asset API V1p7beta1
|