Identity-Aware Proxy V1 API - Class Google::Cloud::Iap::V1::IdentityAwareProxyAdminService::Rest::ServiceStub (v0.9.0)

Reference documentation and code samples for the Identity-Aware Proxy V1 API class Google::Cloud::Iap::V1::IdentityAwareProxyAdminService::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#create_tunnel_dest_group

def create_tunnel_dest_group(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Iap::V1::TunnelDestGroup

Baseline implementation for the create_tunnel_dest_group REST call

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

#delete_tunnel_dest_group

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

Baseline implementation for the delete_tunnel_dest_group REST call

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

#get_iam_policy

def get_iam_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Iam::V1::Policy

Baseline implementation for the get_iam_policy REST call

Parameters
  • request_pb (::Google::Iam::V1::GetIamPolicyRequest) — 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_iap_settings

def get_iap_settings(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Iap::V1::IapSettings

Baseline implementation for the get_iap_settings REST call

Parameters
  • request_pb (::Google::Cloud::Iap::V1::GetIapSettingsRequest) — 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_tunnel_dest_group

def get_tunnel_dest_group(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Iap::V1::TunnelDestGroup

Baseline implementation for the get_tunnel_dest_group 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_tunnel_dest_groups

def list_tunnel_dest_groups(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Iap::V1::ListTunnelDestGroupsResponse

Baseline implementation for the list_tunnel_dest_groups REST call

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

#set_iam_policy

def set_iam_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Iam::V1::Policy

Baseline implementation for the set_iam_policy REST call

Parameters
  • request_pb (::Google::Iam::V1::SetIamPolicyRequest) — 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)

#test_iam_permissions

def test_iam_permissions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Iam::V1::TestIamPermissionsResponse

Baseline implementation for the test_iam_permissions REST call

Parameters
  • request_pb (::Google::Iam::V1::TestIamPermissionsRequest) — 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)

#update_iap_settings

def update_iap_settings(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Iap::V1::IapSettings

Baseline implementation for the update_iap_settings REST call

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

#update_tunnel_dest_group

def update_tunnel_dest_group(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Iap::V1::TunnelDestGroup

Baseline implementation for the update_tunnel_dest_group REST call

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