Reference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::AssetService::Rest::ServiceStub.
REST service stub for the AssetService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#analyze_iam_policy
def analyze_iam_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Asset::V1::AnalyzeIamPolicyResponse
Baseline implementation for the analyze_iam_policy REST call
- request_pb (::Google::Cloud::Asset::V1::AnalyzeIamPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Asset::V1::AnalyzeIamPolicyResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Asset::V1::AnalyzeIamPolicyResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#analyze_iam_policy_longrunning
def analyze_iam_policy_longrunning(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the analyze_iam_policy_longrunning REST call
- request_pb (::Google::Cloud::Asset::V1::AnalyzeIamPolicyLongrunningRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#analyze_move
def analyze_move(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Asset::V1::AnalyzeMoveResponse
Baseline implementation for the analyze_move REST call
- request_pb (::Google::Cloud::Asset::V1::AnalyzeMoveRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Asset::V1::AnalyzeMoveResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Asset::V1::AnalyzeMoveResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#analyze_org_policies
def analyze_org_policies(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Asset::V1::AnalyzeOrgPoliciesResponse
Baseline implementation for the analyze_org_policies REST call
- request_pb (::Google::Cloud::Asset::V1::AnalyzeOrgPoliciesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Asset::V1::AnalyzeOrgPoliciesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Asset::V1::AnalyzeOrgPoliciesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#analyze_org_policy_governed_assets
def analyze_org_policy_governed_assets(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse
Baseline implementation for the analyze_org_policy_governed_assets REST call
- request_pb (::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#analyze_org_policy_governed_containers
def analyze_org_policy_governed_containers(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersResponse
Baseline implementation for the analyze_org_policy_governed_containers REST call
- request_pb (::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedContainersResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#batch_get_assets_history
def batch_get_assets_history(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Asset::V1::BatchGetAssetsHistoryResponse
Baseline implementation for the batch_get_assets_history REST call
- request_pb (::Google::Cloud::Asset::V1::BatchGetAssetsHistoryRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Asset::V1::BatchGetAssetsHistoryResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Asset::V1::BatchGetAssetsHistoryResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#batch_get_effective_iam_policies
def batch_get_effective_iam_policies(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Asset::V1::BatchGetEffectiveIamPoliciesResponse
Baseline implementation for the batch_get_effective_iam_policies REST call
- request_pb (::Google::Cloud::Asset::V1::BatchGetEffectiveIamPoliciesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Asset::V1::BatchGetEffectiveIamPoliciesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Asset::V1::BatchGetEffectiveIamPoliciesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_feed
def create_feed(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Asset::V1::Feed
Baseline implementation for the create_feed REST call
- request_pb (::Google::Cloud::Asset::V1::CreateFeedRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Asset::V1::Feed)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Asset::V1::Feed) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_saved_query
def create_saved_query(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Asset::V1::SavedQuery
Baseline implementation for the create_saved_query REST call
- request_pb (::Google::Cloud::Asset::V1::CreateSavedQueryRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Asset::V1::SavedQuery)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Asset::V1::SavedQuery) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_feed
def delete_feed(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_feed REST call
- request_pb (::Google::Cloud::Asset::V1::DeleteFeedRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_saved_query
def delete_saved_query(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_saved_query REST call
- request_pb (::Google::Cloud::Asset::V1::DeleteSavedQueryRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#export_assets
def export_assets(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the export_assets REST call
- request_pb (::Google::Cloud::Asset::V1::ExportAssetsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_feed
def get_feed(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Asset::V1::Feed
Baseline implementation for the get_feed REST call
- request_pb (::Google::Cloud::Asset::V1::GetFeedRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Asset::V1::Feed)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Asset::V1::Feed) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_saved_query
def get_saved_query(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Asset::V1::SavedQuery
Baseline implementation for the get_saved_query REST call
- request_pb (::Google::Cloud::Asset::V1::GetSavedQueryRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Asset::V1::SavedQuery)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Asset::V1::SavedQuery) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_assets
def list_assets(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Asset::V1::ListAssetsResponse
Baseline implementation for the list_assets REST call
- request_pb (::Google::Cloud::Asset::V1::ListAssetsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Asset::V1::ListAssetsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Asset::V1::ListAssetsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_feeds
def list_feeds(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Asset::V1::ListFeedsResponse
Baseline implementation for the list_feeds REST call
- request_pb (::Google::Cloud::Asset::V1::ListFeedsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Asset::V1::ListFeedsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Asset::V1::ListFeedsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_saved_queries
def list_saved_queries(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Asset::V1::ListSavedQueriesResponse
Baseline implementation for the list_saved_queries REST call
- request_pb (::Google::Cloud::Asset::V1::ListSavedQueriesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Asset::V1::ListSavedQueriesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Asset::V1::ListSavedQueriesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#query_assets
def query_assets(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Asset::V1::QueryAssetsResponse
Baseline implementation for the query_assets REST call
- request_pb (::Google::Cloud::Asset::V1::QueryAssetsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Asset::V1::QueryAssetsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Asset::V1::QueryAssetsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#search_all_iam_policies
def search_all_iam_policies(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Asset::V1::SearchAllIamPoliciesResponse
Baseline implementation for the search_all_iam_policies REST call
- request_pb (::Google::Cloud::Asset::V1::SearchAllIamPoliciesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Asset::V1::SearchAllIamPoliciesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Asset::V1::SearchAllIamPoliciesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#search_all_resources
def search_all_resources(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Asset::V1::SearchAllResourcesResponse
Baseline implementation for the search_all_resources REST call
- request_pb (::Google::Cloud::Asset::V1::SearchAllResourcesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Asset::V1::SearchAllResourcesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Asset::V1::SearchAllResourcesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_feed
def update_feed(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Asset::V1::Feed
Baseline implementation for the update_feed REST call
- request_pb (::Google::Cloud::Asset::V1::UpdateFeedRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Asset::V1::Feed)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Asset::V1::Feed) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_saved_query
def update_saved_query(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Asset::V1::SavedQuery
Baseline implementation for the update_saved_query REST call
- request_pb (::Google::Cloud::Asset::V1::UpdateSavedQueryRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Asset::V1::SavedQuery)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Asset::V1::SavedQuery) — A result object deserialized from the server's reply
- (::ArgumentError)