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
- request_pb (::Google::Cloud::AppEngine::V1::BatchUpdateIngressRulesRequest) — 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::AppEngine::V1::BatchUpdateIngressRulesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AppEngine::V1::BatchUpdateIngressRulesResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::AppEngine::V1::CreateIngressRuleRequest) — 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::AppEngine::V1::FirewallRule)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AppEngine::V1::FirewallRule) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::AppEngine::V1::DeleteIngressRuleRequest) — 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)
#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
- request_pb (::Google::Cloud::AppEngine::V1::GetIngressRuleRequest) — 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::AppEngine::V1::FirewallRule)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AppEngine::V1::FirewallRule) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#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
- request_pb (::Google::Cloud::AppEngine::V1::ListIngressRulesRequest) — 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::AppEngine::V1::ListIngressRulesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AppEngine::V1::ListIngressRulesResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::AppEngine::V1::UpdateIngressRuleRequest) — 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::AppEngine::V1::FirewallRule)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AppEngine::V1::FirewallRule) — A result object deserialized from the server's reply
- (::ArgumentError)