Public Member Functions | Static Public Attributes | Private Member Functions | List of all members
framework.infrastructure.gcp.api.GcpStandardCloudApiResource Class Reference
Inheritance diagram for framework.infrastructure.gcp.api.GcpStandardCloudApiResource:
Inheritance graph
[legend]

Public Member Functions

str api_name (self)
 
str api_version (self)
 
def parent (self, Optional[str] location=GLOBAL_LOCATION)
 
def resource_full_name (self, name, collection_name)
 
- Public Member Functions inherited from framework.infrastructure.gcp.api.GcpProjectApiResource
def __init__ (self, discovery.Resource api, str project)
 
str resource_pretty_format (self, dict body)
 

Static Public Attributes

string GLOBAL_LOCATION = 'global'
 

Private Member Functions

def _create_resource (self, discovery.Resource collection, dict body, **kwargs)
 
bool _delete_resource (self, discovery.Resource collection, str full_name)
 
def _execute (self, HttpRequest request, timeout_sec=GcpProjectApiResource._WAIT_FOR_OPERATION_SEC)
 
def _get_resource (self, discovery.Resource collection, full_name)
 
def _wait (self, operation, timeout_sec=GcpProjectApiResource._WAIT_FOR_OPERATION_SEC)
 

Additional Inherited Members

- Static Public Member Functions inherited from framework.infrastructure.gcp.api.GcpProjectApiResource
def wait_for_operation (operation_request, test_success_fn, timeout_sec=_WAIT_FOR_OPERATION_SEC, wait_sec=_WAIT_FIXED_SEC)
 

Detailed Description

Definition at line 385 of file api.py.

Member Function Documentation

◆ _create_resource()

def framework.infrastructure.gcp.api.GcpStandardCloudApiResource._create_resource (   self,
discovery.Resource  collection,
dict  body,
**  kwargs 
)
private

Definition at line 396 of file api.py.

◆ _delete_resource()

bool framework.infrastructure.gcp.api.GcpStandardCloudApiResource._delete_resource (   self,
discovery.Resource  collection,
str  full_name 
)
private

Definition at line 421 of file api.py.

◆ _execute()

def framework.infrastructure.gcp.api.GcpStandardCloudApiResource._execute (   self,
HttpRequest  request,
  timeout_sec = GcpProjectApiResource._WAIT_FOR_OPERATION_SEC 
)
private

Definition at line 435 of file api.py.

◆ _get_resource()

def framework.infrastructure.gcp.api.GcpStandardCloudApiResource._get_resource (   self,
discovery.Resource  collection,
  full_name 
)
private

Definition at line 415 of file api.py.

◆ _wait()

def framework.infrastructure.gcp.api.GcpStandardCloudApiResource._wait (   self,
  operation,
  timeout_sec = GcpProjectApiResource._WAIT_FOR_OPERATION_SEC 
)
private

Definition at line 442 of file api.py.

◆ api_name()

str framework.infrastructure.gcp.api.GcpStandardCloudApiResource.api_name (   self)

◆ api_version()

str framework.infrastructure.gcp.api.GcpStandardCloudApiResource.api_version (   self)

◆ parent()

def framework.infrastructure.gcp.api.GcpStandardCloudApiResource.parent (   self,
Optional[str]   location = GLOBAL_LOCATION 
)

Definition at line 388 of file api.py.

◆ resource_full_name()

def framework.infrastructure.gcp.api.GcpStandardCloudApiResource.resource_full_name (   self,
  name,
  collection_name 
)

Definition at line 393 of file api.py.

Member Data Documentation

◆ GLOBAL_LOCATION

string framework.infrastructure.gcp.api.GcpStandardCloudApiResource.GLOBAL_LOCATION = 'global'
static

Definition at line 386 of file api.py.


The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:10