App Engine Admin V1 API - Class Google::Cloud::AppEngine::V1::Firewall::Rest::ServiceStub (v0.7.0)

Reference documentation and code samples for the App Engine Admin V1 API class Google::Cloud::AppEngine::V1::Firewall::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#batch_update_ingress_rules

def batch_update_ingress_rules(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AppEngine::V1::BatchUpdateIngressRulesResponse

Baseline implementation for the batch_update_ingress_rules REST call

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

#create_ingress_rule

def create_ingress_rule(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AppEngine::V1::FirewallRule

Baseline implementation for the create_ingress_rule REST call

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

#delete_ingress_rule

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

Baseline implementation for the delete_ingress_rule REST call

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

#get_ingress_rule

def get_ingress_rule(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AppEngine::V1::FirewallRule

Baseline implementation for the get_ingress_rule REST call

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

#initialize

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

#list_ingress_rules

def list_ingress_rules(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AppEngine::V1::ListIngressRulesResponse

Baseline implementation for the list_ingress_rules REST call

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

#update_ingress_rule

def update_ingress_rule(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AppEngine::V1::FirewallRule

Baseline implementation for the update_ingress_rule REST call

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