Security Center Management V1 API - Class Google::Cloud::SecurityCenterManagement::V1::SecurityCenterManagement::Rest::ServiceStub (v1.0.0)

Reference documentation and code samples for the Security Center Management V1 API class Google::Cloud::SecurityCenterManagement::V1::SecurityCenterManagement::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#create_event_threat_detection_custom_module

def create_event_threat_detection_custom_module(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SecurityCenterManagement::V1::EventThreatDetectionCustomModule

Baseline implementation for the create_event_threat_detection_custom_module REST call

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

#create_security_health_analytics_custom_module

def create_security_health_analytics_custom_module(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SecurityCenterManagement::V1::SecurityHealthAnalyticsCustomModule

Baseline implementation for the create_security_health_analytics_custom_module REST call

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

#delete_event_threat_detection_custom_module

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

Baseline implementation for the delete_event_threat_detection_custom_module REST call

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

#delete_security_health_analytics_custom_module

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

Baseline implementation for the delete_security_health_analytics_custom_module REST call

Parameters
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)

#get_effective_event_threat_detection_custom_module

def get_effective_event_threat_detection_custom_module(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SecurityCenterManagement::V1::EffectiveEventThreatDetectionCustomModule

Baseline implementation for the get_effective_event_threat_detection_custom_module REST call

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

#get_effective_security_health_analytics_custom_module

def get_effective_security_health_analytics_custom_module(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SecurityCenterManagement::V1::EffectiveSecurityHealthAnalyticsCustomModule

Baseline implementation for the get_effective_security_health_analytics_custom_module REST call

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

#get_event_threat_detection_custom_module

def get_event_threat_detection_custom_module(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SecurityCenterManagement::V1::EventThreatDetectionCustomModule

Baseline implementation for the get_event_threat_detection_custom_module REST call

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

#get_security_center_service

def get_security_center_service(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SecurityCenterManagement::V1::SecurityCenterService

Baseline implementation for the get_security_center_service REST call

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

#get_security_health_analytics_custom_module

def get_security_health_analytics_custom_module(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SecurityCenterManagement::V1::SecurityHealthAnalyticsCustomModule

Baseline implementation for the get_security_health_analytics_custom_module REST call

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

#initialize

def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
Returns

#list_descendant_event_threat_detection_custom_modules

def list_descendant_event_threat_detection_custom_modules(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SecurityCenterManagement::V1::ListDescendantEventThreatDetectionCustomModulesResponse

Baseline implementation for the list_descendant_event_threat_detection_custom_modules REST call

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

#list_descendant_security_health_analytics_custom_modules

def list_descendant_security_health_analytics_custom_modules(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SecurityCenterManagement::V1::ListDescendantSecurityHealthAnalyticsCustomModulesResponse

Baseline implementation for the list_descendant_security_health_analytics_custom_modules REST call

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

#list_effective_event_threat_detection_custom_modules

def list_effective_event_threat_detection_custom_modules(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SecurityCenterManagement::V1::ListEffectiveEventThreatDetectionCustomModulesResponse

Baseline implementation for the list_effective_event_threat_detection_custom_modules REST call

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

#list_effective_security_health_analytics_custom_modules

def list_effective_security_health_analytics_custom_modules(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SecurityCenterManagement::V1::ListEffectiveSecurityHealthAnalyticsCustomModulesResponse

Baseline implementation for the list_effective_security_health_analytics_custom_modules REST call

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

#list_event_threat_detection_custom_modules

def list_event_threat_detection_custom_modules(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SecurityCenterManagement::V1::ListEventThreatDetectionCustomModulesResponse

Baseline implementation for the list_event_threat_detection_custom_modules REST call

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

#list_security_center_services

def list_security_center_services(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SecurityCenterManagement::V1::ListSecurityCenterServicesResponse

Baseline implementation for the list_security_center_services REST call

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

#list_security_health_analytics_custom_modules

def list_security_health_analytics_custom_modules(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SecurityCenterManagement::V1::ListSecurityHealthAnalyticsCustomModulesResponse

Baseline implementation for the list_security_health_analytics_custom_modules REST call

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

#simulate_security_health_analytics_custom_module

def simulate_security_health_analytics_custom_module(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SecurityCenterManagement::V1::SimulateSecurityHealthAnalyticsCustomModuleResponse

Baseline implementation for the simulate_security_health_analytics_custom_module REST call

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

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#update_event_threat_detection_custom_module

def update_event_threat_detection_custom_module(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SecurityCenterManagement::V1::EventThreatDetectionCustomModule

Baseline implementation for the update_event_threat_detection_custom_module REST call

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

#update_security_center_service

def update_security_center_service(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SecurityCenterManagement::V1::SecurityCenterService

Baseline implementation for the update_security_center_service REST call

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

#update_security_health_analytics_custom_module

def update_security_health_analytics_custom_module(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SecurityCenterManagement::V1::SecurityHealthAnalyticsCustomModule

Baseline implementation for the update_security_health_analytics_custom_module REST call

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

#validate_event_threat_detection_custom_module

def validate_event_threat_detection_custom_module(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SecurityCenterManagement::V1::ValidateEventThreatDetectionCustomModuleResponse

Baseline implementation for the validate_event_threat_detection_custom_module REST call

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