Chronicle V1 API - Class Google::Cloud::Chronicle::V1::FeedsService::Rest::ServiceStub (v1.1.0)

Reference documentation and code samples for the Chronicle V1 API class Google::Cloud::Chronicle::V1::FeedsService::Rest::ServiceStub.

REST service stub for the FeedsService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#create_feed

def create_feed(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Chronicle::V1::Feed

Baseline implementation for the create_feed REST call

Parameters
  • request_pb (::Google::Cloud::Chronicle::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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_feed

def delete_feed(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_feed REST call

Parameters
  • request_pb (::Google::Cloud::Chronicle::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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#disable_feed

def disable_feed(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Chronicle::V1::Feed

Baseline implementation for the disable_feed REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#enable_feed

def enable_feed(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Chronicle::V1::Feed

Baseline implementation for the enable_feed REST call

Parameters
  • request_pb (::Google::Cloud::Chronicle::V1::EnableFeedRequest) — A request object representing the call parameters. Required.
  • options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#fetch_service_account_for_customer

def fetch_service_account_for_customer(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Chronicle::V1::FeedServiceAccount

Baseline implementation for the fetch_service_account_for_customer REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#generate_secret

def generate_secret(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Chronicle::V1::GenerateSecretResponse

Baseline implementation for the generate_secret REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_feed

def get_feed(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Chronicle::V1::Feed

Baseline implementation for the get_feed REST call

Parameters
  • request_pb (::Google::Cloud::Chronicle::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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_feed_pack

def get_feed_pack(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Chronicle::V1::FeedPack

Baseline implementation for the get_feed_pack REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#import_push_logs

def import_push_logs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Api::HttpBody

Baseline implementation for the import_push_logs REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_feed_packs

def list_feed_packs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Chronicle::V1::ListFeedPacksResponse

Baseline implementation for the list_feed_packs REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_feed_source_type_schemas

def list_feed_source_type_schemas(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Chronicle::V1::ListFeedSourceTypeSchemasResponse

Baseline implementation for the list_feed_source_type_schemas REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_feeds

def list_feeds(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Chronicle::V1::ListFeedsResponse

Baseline implementation for the list_feeds REST call

Parameters
  • request_pb (::Google::Cloud::Chronicle::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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_log_type_schemas

def list_log_type_schemas(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Chronicle::V1::ListLogTypeSchemasResponse

Baseline implementation for the list_log_type_schemas REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#logger

def logger(stub: false) -> Logger

The logger used for request/response debug logging.

Returns
  • (Logger)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#update_feed

def update_feed(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Chronicle::V1::Feed

Baseline implementation for the update_feed REST call

Parameters
  • request_pb (::Google::Cloud::Chronicle::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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)