Summary of entries of Methods for compute.
google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient
AcceleratorTypesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.accelerator_types.transports.base.AcceleratorTypesTransport, typing.Callable[[...], google.cloud.compute_v1.services.accelerator_types.transports.base.AcceleratorTypesTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the accelerator types client.
See more: google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient
google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.exit
google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListAcceleratorTypesRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.accelerator_types.pagers.AggregatedListPager
Retrieves an aggregated list of accelerator types.
See more: google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.aggregated_list
google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.common_folder_path
google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.common_location_path
google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.common_organization_path
google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.common_project_path
google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.from_service_account_file
google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
See more: google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.from_service_account_info
google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.from_service_account_json
google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetAcceleratorTypeRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
accelerator_type: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.AcceleratorType
Returns the specified accelerator type.
See more: google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.get
google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListAcceleratorTypesRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.accelerator_types.pagers.ListPager
Retrieves a list of accelerator types that are available to the specified project.
See more: google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.list
google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.parse_common_folder_path
google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
See more: google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.parse_common_location_path
google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
See more: google.cloud.compute_v1.services.accelerator_types.AcceleratorTypesClient.parse_common_project_path
google.cloud.compute_v1.services.accelerator_types.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.AcceleratorTypeAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListAcceleratorTypesRequest,
response: google.cloud.compute_v1.types.compute.AcceleratorTypeAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.accelerator_types.pagers.AggregatedListPager
google.cloud.compute_v1.services.accelerator_types.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.AcceleratorTypeList
],
request: google.cloud.compute_v1.types.compute.ListAcceleratorTypesRequest,
response: google.cloud.compute_v1.types.compute.AcceleratorTypeList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.accelerator_types.pagers.ListPager
google.cloud.compute_v1.services.addresses.AddressesClient
AddressesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.addresses.transports.base.AddressesTransport, typing.Callable[[...], google.cloud.compute_v1.services.addresses.transports.base.AddressesTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the addresses client.
See more: google.cloud.compute_v1.services.addresses.AddressesClient
google.cloud.compute_v1.services.addresses.AddressesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.addresses.AddressesClient.exit
google.cloud.compute_v1.services.addresses.AddressesClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListAddressesRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.addresses.pagers.AggregatedListPager
Retrieves an aggregated list of addresses.
See more: google.cloud.compute_v1.services.addresses.AddressesClient.aggregated_list
google.cloud.compute_v1.services.addresses.AddressesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.compute_v1.services.addresses.AddressesClient.common_billing_account_path
google.cloud.compute_v1.services.addresses.AddressesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.addresses.AddressesClient.common_folder_path
google.cloud.compute_v1.services.addresses.AddressesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.addresses.AddressesClient.common_location_path
google.cloud.compute_v1.services.addresses.AddressesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.addresses.AddressesClient.common_organization_path
google.cloud.compute_v1.services.addresses.AddressesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.addresses.AddressesClient.common_project_path
google.cloud.compute_v1.services.addresses.AddressesClient.delete
delete(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeleteAddressRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
address: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified address resource.
See more: google.cloud.compute_v1.services.addresses.AddressesClient.delete
google.cloud.compute_v1.services.addresses.AddressesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeleteAddressRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
address: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified address resource.
See more: google.cloud.compute_v1.services.addresses.AddressesClient.delete_unary
google.cloud.compute_v1.services.addresses.AddressesClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.addresses.AddressesClient.from_service_account_file
google.cloud.compute_v1.services.addresses.AddressesClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
See more: google.cloud.compute_v1.services.addresses.AddressesClient.from_service_account_info
google.cloud.compute_v1.services.addresses.AddressesClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.addresses.AddressesClient.from_service_account_json
google.cloud.compute_v1.services.addresses.AddressesClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetAddressRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
address: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Address
Returns the specified address resource.
See more: google.cloud.compute_v1.services.addresses.AddressesClient.get
google.cloud.compute_v1.services.addresses.AddressesClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
See more: google.cloud.compute_v1.services.addresses.AddressesClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.addresses.AddressesClient.insert
insert(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.InsertAddressRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
address_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Address
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates an address resource in the specified project by using the data included in the request.
See more: google.cloud.compute_v1.services.addresses.AddressesClient.insert
google.cloud.compute_v1.services.addresses.AddressesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.InsertAddressRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
address_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Address
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates an address resource in the specified project by using the data included in the request.
See more: google.cloud.compute_v1.services.addresses.AddressesClient.insert_unary
google.cloud.compute_v1.services.addresses.AddressesClient.list
list(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ListAddressesRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.addresses.pagers.ListPager
Retrieves a list of addresses contained within the specified region.
See more: google.cloud.compute_v1.services.addresses.AddressesClient.list
google.cloud.compute_v1.services.addresses.AddressesClient.move
move(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.MoveAddressRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
address: typing.Optional[str] = None,
region_addresses_move_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionAddressesMoveRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Moves the specified address resource.
See more: google.cloud.compute_v1.services.addresses.AddressesClient.move
google.cloud.compute_v1.services.addresses.AddressesClient.move_unary
move_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.MoveAddressRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
address: typing.Optional[str] = None,
region_addresses_move_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionAddressesMoveRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Moves the specified address resource.
See more: google.cloud.compute_v1.services.addresses.AddressesClient.move_unary
google.cloud.compute_v1.services.addresses.AddressesClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
See more: google.cloud.compute_v1.services.addresses.AddressesClient.parse_common_billing_account_path
google.cloud.compute_v1.services.addresses.AddressesClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.compute_v1.services.addresses.AddressesClient.parse_common_folder_path
google.cloud.compute_v1.services.addresses.AddressesClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
See more: google.cloud.compute_v1.services.addresses.AddressesClient.parse_common_location_path
google.cloud.compute_v1.services.addresses.AddressesClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
See more: google.cloud.compute_v1.services.addresses.AddressesClient.parse_common_organization_path
google.cloud.compute_v1.services.addresses.AddressesClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
See more: google.cloud.compute_v1.services.addresses.AddressesClient.parse_common_project_path
google.cloud.compute_v1.services.addresses.AddressesClient.set_labels
set_labels(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsAddressRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
region_set_labels_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionSetLabelsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the labels on an Address.
See more: google.cloud.compute_v1.services.addresses.AddressesClient.set_labels
google.cloud.compute_v1.services.addresses.AddressesClient.set_labels_unary
set_labels_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsAddressRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
region_set_labels_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionSetLabelsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the labels on an Address.
See more: google.cloud.compute_v1.services.addresses.AddressesClient.set_labels_unary
google.cloud.compute_v1.services.addresses.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.AddressAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListAddressesRequest,
response: google.cloud.compute_v1.types.compute.AddressAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.addresses.pagers.AggregatedListPager
google.cloud.compute_v1.services.addresses.pagers.ListPager
ListPager(
method: typing.Callable[[...], google.cloud.compute_v1.types.compute.AddressList],
request: google.cloud.compute_v1.types.compute.ListAddressesRequest,
response: google.cloud.compute_v1.types.compute.AddressList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.addresses.pagers.ListPager
google.cloud.compute_v1.services.autoscalers.AutoscalersClient
AutoscalersClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.autoscalers.transports.base.AutoscalersTransport, typing.Callable[[...], google.cloud.compute_v1.services.autoscalers.transports.base.AutoscalersTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the autoscalers client.
See more: google.cloud.compute_v1.services.autoscalers.AutoscalersClient
google.cloud.compute_v1.services.autoscalers.AutoscalersClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.autoscalers.AutoscalersClient.exit
google.cloud.compute_v1.services.autoscalers.AutoscalersClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListAutoscalersRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.autoscalers.pagers.AggregatedListPager
Retrieves an aggregated list of autoscalers.
See more: google.cloud.compute_v1.services.autoscalers.AutoscalersClient.aggregated_list
google.cloud.compute_v1.services.autoscalers.AutoscalersClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.compute_v1.services.autoscalers.AutoscalersClient.common_billing_account_path
google.cloud.compute_v1.services.autoscalers.AutoscalersClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.autoscalers.AutoscalersClient.common_folder_path
google.cloud.compute_v1.services.autoscalers.AutoscalersClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.autoscalers.AutoscalersClient.common_location_path
google.cloud.compute_v1.services.autoscalers.AutoscalersClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.autoscalers.AutoscalersClient.common_organization_path
google.cloud.compute_v1.services.autoscalers.AutoscalersClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.autoscalers.AutoscalersClient.common_project_path
google.cloud.compute_v1.services.autoscalers.AutoscalersClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteAutoscalerRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
autoscaler: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified autoscaler.
See more: google.cloud.compute_v1.services.autoscalers.AutoscalersClient.delete
google.cloud.compute_v1.services.autoscalers.AutoscalersClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteAutoscalerRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
autoscaler: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified autoscaler.
See more: google.cloud.compute_v1.services.autoscalers.AutoscalersClient.delete_unary
google.cloud.compute_v1.services.autoscalers.AutoscalersClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.autoscalers.AutoscalersClient.from_service_account_file
google.cloud.compute_v1.services.autoscalers.AutoscalersClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
See more: google.cloud.compute_v1.services.autoscalers.AutoscalersClient.from_service_account_info
google.cloud.compute_v1.services.autoscalers.AutoscalersClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.autoscalers.AutoscalersClient.from_service_account_json
google.cloud.compute_v1.services.autoscalers.AutoscalersClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetAutoscalerRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
autoscaler: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Autoscaler
Returns the specified autoscaler resource.
See more: google.cloud.compute_v1.services.autoscalers.AutoscalersClient.get
google.cloud.compute_v1.services.autoscalers.AutoscalersClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
See more: google.cloud.compute_v1.services.autoscalers.AutoscalersClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.autoscalers.AutoscalersClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertAutoscalerRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
autoscaler_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Autoscaler
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates an autoscaler in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.autoscalers.AutoscalersClient.insert
google.cloud.compute_v1.services.autoscalers.AutoscalersClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertAutoscalerRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
autoscaler_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Autoscaler
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates an autoscaler in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.autoscalers.AutoscalersClient.insert_unary
google.cloud.compute_v1.services.autoscalers.AutoscalersClient.list
list(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ListAutoscalersRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.autoscalers.pagers.ListPager
Retrieves a list of autoscalers contained within the specified zone.
See more: google.cloud.compute_v1.services.autoscalers.AutoscalersClient.list
google.cloud.compute_v1.services.autoscalers.AutoscalersClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
See more: google.cloud.compute_v1.services.autoscalers.AutoscalersClient.parse_common_billing_account_path
google.cloud.compute_v1.services.autoscalers.AutoscalersClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.compute_v1.services.autoscalers.AutoscalersClient.parse_common_folder_path
google.cloud.compute_v1.services.autoscalers.AutoscalersClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
See more: google.cloud.compute_v1.services.autoscalers.AutoscalersClient.parse_common_location_path
google.cloud.compute_v1.services.autoscalers.AutoscalersClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
See more: google.cloud.compute_v1.services.autoscalers.AutoscalersClient.parse_common_organization_path
google.cloud.compute_v1.services.autoscalers.AutoscalersClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
See more: google.cloud.compute_v1.services.autoscalers.AutoscalersClient.parse_common_project_path
google.cloud.compute_v1.services.autoscalers.AutoscalersClient.patch
patch(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.PatchAutoscalerRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
autoscaler_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Autoscaler
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates an autoscaler in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.autoscalers.AutoscalersClient.patch
google.cloud.compute_v1.services.autoscalers.AutoscalersClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.PatchAutoscalerRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
autoscaler_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Autoscaler
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates an autoscaler in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.autoscalers.AutoscalersClient.patch_unary
google.cloud.compute_v1.services.autoscalers.AutoscalersClient.update
update(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateAutoscalerRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
autoscaler_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Autoscaler
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates an autoscaler in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.autoscalers.AutoscalersClient.update
google.cloud.compute_v1.services.autoscalers.AutoscalersClient.update_unary
update_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateAutoscalerRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
autoscaler_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Autoscaler
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates an autoscaler in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.autoscalers.AutoscalersClient.update_unary
google.cloud.compute_v1.services.autoscalers.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.AutoscalerAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListAutoscalersRequest,
response: google.cloud.compute_v1.types.compute.AutoscalerAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.autoscalers.pagers.AggregatedListPager
google.cloud.compute_v1.services.autoscalers.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.AutoscalerList
],
request: google.cloud.compute_v1.types.compute.ListAutoscalersRequest,
response: google.cloud.compute_v1.types.compute.AutoscalerList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.autoscalers.pagers.ListPager
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient
BackendBucketsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.backend_buckets.transports.base.BackendBucketsTransport, typing.Callable[[...], google.cloud.compute_v1.services.backend_buckets.transports.base.BackendBucketsTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the backend buckets client.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.exit
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.add_signed_url_key
add_signed_url_key(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddSignedUrlKeyBackendBucketRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
backend_bucket: typing.Optional[str] = None,
signed_url_key_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SignedUrlKey
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Adds a key for validating requests with signed URLs for this backend bucket.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.add_signed_url_key
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.add_signed_url_key_unary
add_signed_url_key_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddSignedUrlKeyBackendBucketRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
backend_bucket: typing.Optional[str] = None,
signed_url_key_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SignedUrlKey
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Adds a key for validating requests with signed URLs for this backend bucket.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.add_signed_url_key_unary
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.common_billing_account_path
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.common_folder_path
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.common_location_path
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.common_organization_path
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.common_project_path
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteBackendBucketRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
backend_bucket: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified BackendBucket resource.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.delete
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.delete_signed_url_key
delete_signed_url_key(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteSignedUrlKeyBackendBucketRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
backend_bucket: typing.Optional[str] = None,
key_name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes a key for validating requests with signed URLs for this backend bucket.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.delete_signed_url_key
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.delete_signed_url_key_unary
delete_signed_url_key_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteSignedUrlKeyBackendBucketRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
backend_bucket: typing.Optional[str] = None,
key_name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes a key for validating requests with signed URLs for this backend bucket.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.delete_signed_url_key_unary
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteBackendBucketRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
backend_bucket: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified BackendBucket resource.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.delete_unary
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.from_service_account_file
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.from_service_account_info
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.from_service_account_json
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetBackendBucketRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
backend_bucket: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.BackendBucket
Returns the specified BackendBucket resource.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.get
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetIamPolicyBackendBucketRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Gets the access control policy for a resource.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.get_iam_policy
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertBackendBucketRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
backend_bucket_resource: typing.Optional[
google.cloud.compute_v1.types.compute.BackendBucket
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a BackendBucket resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.insert
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertBackendBucketRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
backend_bucket_resource: typing.Optional[
google.cloud.compute_v1.types.compute.BackendBucket
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a BackendBucket resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.insert_unary
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListBackendBucketsRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.backend_buckets.pagers.ListPager
Retrieves the list of BackendBucket resources available to the specified project.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.list
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.parse_common_folder_path
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.parse_common_location_path
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.parse_common_organization_path
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.parse_common_project_path
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchBackendBucketRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
backend_bucket: typing.Optional[str] = None,
backend_bucket_resource: typing.Optional[
google.cloud.compute_v1.types.compute.BackendBucket
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates the specified BackendBucket resource with the data included in the request.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.patch
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchBackendBucketRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
backend_bucket: typing.Optional[str] = None,
backend_bucket_resource: typing.Optional[
google.cloud.compute_v1.types.compute.BackendBucket
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates the specified BackendBucket resource with the data included in the request.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.patch_unary
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.set_edge_security_policy
set_edge_security_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetEdgeSecurityPolicyBackendBucketRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
backend_bucket: typing.Optional[str] = None,
security_policy_reference_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SecurityPolicyReference
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the edge security policy for the specified backend bucket.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.set_edge_security_policy
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.set_edge_security_policy_unary
set_edge_security_policy_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetEdgeSecurityPolicyBackendBucketRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
backend_bucket: typing.Optional[str] = None,
security_policy_reference_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SecurityPolicyReference
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the edge security policy for the specified backend bucket.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.set_edge_security_policy_unary
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetIamPolicyBackendBucketRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
global_set_policy_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.GlobalSetPolicyRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Sets the access control policy on the specified resource.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.set_iam_policy
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.TestIamPermissionsBackendBucketRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
test_permissions_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TestPermissionsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.test_iam_permissions
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.update
update(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateBackendBucketRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
backend_bucket: typing.Optional[str] = None,
backend_bucket_resource: typing.Optional[
google.cloud.compute_v1.types.compute.BackendBucket
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates the specified BackendBucket resource with the data included in the request.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.update
google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.update_unary
update_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateBackendBucketRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
backend_bucket: typing.Optional[str] = None,
backend_bucket_resource: typing.Optional[
google.cloud.compute_v1.types.compute.BackendBucket
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates the specified BackendBucket resource with the data included in the request.
See more: google.cloud.compute_v1.services.backend_buckets.BackendBucketsClient.update_unary
google.cloud.compute_v1.services.backend_buckets.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.BackendBucketList
],
request: google.cloud.compute_v1.types.compute.ListBackendBucketsRequest,
response: google.cloud.compute_v1.types.compute.BackendBucketList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.backend_buckets.pagers.ListPager
google.cloud.compute_v1.services.backend_services.BackendServicesClient
BackendServicesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.backend_services.transports.base.BackendServicesTransport, typing.Callable[[...], google.cloud.compute_v1.services.backend_services.transports.base.BackendServicesTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the backend services client.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient
google.cloud.compute_v1.services.backend_services.BackendServicesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.exit
google.cloud.compute_v1.services.backend_services.BackendServicesClient.add_signed_url_key
add_signed_url_key(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddSignedUrlKeyBackendServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
backend_service: typing.Optional[str] = None,
signed_url_key_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SignedUrlKey
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Adds a key for validating requests with signed URLs for this backend service.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.add_signed_url_key
google.cloud.compute_v1.services.backend_services.BackendServicesClient.add_signed_url_key_unary
add_signed_url_key_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddSignedUrlKeyBackendServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
backend_service: typing.Optional[str] = None,
signed_url_key_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SignedUrlKey
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Adds a key for validating requests with signed URLs for this backend service.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.add_signed_url_key_unary
google.cloud.compute_v1.services.backend_services.BackendServicesClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListBackendServicesRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.backend_services.pagers.AggregatedListPager
Retrieves the list of all BackendService resources, regional and global, available to the specified project.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.aggregated_list
google.cloud.compute_v1.services.backend_services.BackendServicesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.common_billing_account_path
google.cloud.compute_v1.services.backend_services.BackendServicesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.common_folder_path
google.cloud.compute_v1.services.backend_services.BackendServicesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.common_location_path
google.cloud.compute_v1.services.backend_services.BackendServicesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.common_organization_path
google.cloud.compute_v1.services.backend_services.BackendServicesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.common_project_path
google.cloud.compute_v1.services.backend_services.BackendServicesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteBackendServiceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
backend_service: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified BackendService resource.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.delete
google.cloud.compute_v1.services.backend_services.BackendServicesClient.delete_signed_url_key
delete_signed_url_key(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteSignedUrlKeyBackendServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
backend_service: typing.Optional[str] = None,
key_name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes a key for validating requests with signed URLs for this backend service.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.delete_signed_url_key
google.cloud.compute_v1.services.backend_services.BackendServicesClient.delete_signed_url_key_unary
delete_signed_url_key_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteSignedUrlKeyBackendServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
backend_service: typing.Optional[str] = None,
key_name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes a key for validating requests with signed URLs for this backend service.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.delete_signed_url_key_unary
google.cloud.compute_v1.services.backend_services.BackendServicesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteBackendServiceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
backend_service: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified BackendService resource.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.delete_unary
google.cloud.compute_v1.services.backend_services.BackendServicesClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.from_service_account_file
google.cloud.compute_v1.services.backend_services.BackendServicesClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.from_service_account_info
google.cloud.compute_v1.services.backend_services.BackendServicesClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.from_service_account_json
google.cloud.compute_v1.services.backend_services.BackendServicesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetBackendServiceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
backend_service: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.BackendService
Returns the specified BackendService resource.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.get
google.cloud.compute_v1.services.backend_services.BackendServicesClient.get_health
get_health(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetHealthBackendServiceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
backend_service: typing.Optional[str] = None,
resource_group_reference_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ResourceGroupReference
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.BackendServiceGroupHealth
Gets the most recent health check results for this BackendService.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.get_health
google.cloud.compute_v1.services.backend_services.BackendServicesClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetIamPolicyBackendServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Gets the access control policy for a resource.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.get_iam_policy
google.cloud.compute_v1.services.backend_services.BackendServicesClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.compute_v1.services.backend_services.BackendServicesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertBackendServiceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
backend_service_resource: typing.Optional[
google.cloud.compute_v1.types.compute.BackendService
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a BackendService resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.insert
google.cloud.compute_v1.services.backend_services.BackendServicesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertBackendServiceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
backend_service_resource: typing.Optional[
google.cloud.compute_v1.types.compute.BackendService
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a BackendService resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.insert_unary
google.cloud.compute_v1.services.backend_services.BackendServicesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListBackendServicesRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.backend_services.pagers.ListPager
Retrieves the list of BackendService resources available to the specified project.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.list
google.cloud.compute_v1.services.backend_services.BackendServicesClient.list_usable
list_usable(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListUsableBackendServicesRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.backend_services.pagers.ListUsablePager
Retrieves a list of all usable backend services in the specified project.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.list_usable
google.cloud.compute_v1.services.backend_services.BackendServicesClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.compute_v1.services.backend_services.BackendServicesClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.parse_common_folder_path
google.cloud.compute_v1.services.backend_services.BackendServicesClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.parse_common_location_path
google.cloud.compute_v1.services.backend_services.BackendServicesClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.compute_v1.services.backend_services.BackendServicesClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.parse_common_project_path
google.cloud.compute_v1.services.backend_services.BackendServicesClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchBackendServiceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
backend_service: typing.Optional[str] = None,
backend_service_resource: typing.Optional[
google.cloud.compute_v1.types.compute.BackendService
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches the specified BackendService resource with the data included in the request.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.patch
google.cloud.compute_v1.services.backend_services.BackendServicesClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchBackendServiceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
backend_service: typing.Optional[str] = None,
backend_service_resource: typing.Optional[
google.cloud.compute_v1.types.compute.BackendService
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Patches the specified BackendService resource with the data included in the request.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.patch_unary
google.cloud.compute_v1.services.backend_services.BackendServicesClient.set_edge_security_policy
set_edge_security_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetEdgeSecurityPolicyBackendServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
backend_service: typing.Optional[str] = None,
security_policy_reference_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SecurityPolicyReference
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the edge security policy for the specified backend service.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.set_edge_security_policy
google.cloud.compute_v1.services.backend_services.BackendServicesClient.set_edge_security_policy_unary
set_edge_security_policy_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetEdgeSecurityPolicyBackendServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
backend_service: typing.Optional[str] = None,
security_policy_reference_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SecurityPolicyReference
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the edge security policy for the specified backend service.
google.cloud.compute_v1.services.backend_services.BackendServicesClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetIamPolicyBackendServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
global_set_policy_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.GlobalSetPolicyRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Sets the access control policy on the specified resource.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.set_iam_policy
google.cloud.compute_v1.services.backend_services.BackendServicesClient.set_security_policy
set_security_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetSecurityPolicyBackendServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
backend_service: typing.Optional[str] = None,
security_policy_reference_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SecurityPolicyReference
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the Google Cloud Armor security policy for the specified backend service.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.set_security_policy
google.cloud.compute_v1.services.backend_services.BackendServicesClient.set_security_policy_unary
set_security_policy_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetSecurityPolicyBackendServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
backend_service: typing.Optional[str] = None,
security_policy_reference_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SecurityPolicyReference
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the Google Cloud Armor security policy for the specified backend service.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.set_security_policy_unary
google.cloud.compute_v1.services.backend_services.BackendServicesClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.TestIamPermissionsBackendServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
test_permissions_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TestPermissionsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.test_iam_permissions
google.cloud.compute_v1.services.backend_services.BackendServicesClient.update
update(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateBackendServiceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
backend_service: typing.Optional[str] = None,
backend_service_resource: typing.Optional[
google.cloud.compute_v1.types.compute.BackendService
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates the specified BackendService resource with the data included in the request.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.update
google.cloud.compute_v1.services.backend_services.BackendServicesClient.update_unary
update_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateBackendServiceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
backend_service: typing.Optional[str] = None,
backend_service_resource: typing.Optional[
google.cloud.compute_v1.types.compute.BackendService
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates the specified BackendService resource with the data included in the request.
See more: google.cloud.compute_v1.services.backend_services.BackendServicesClient.update_unary
google.cloud.compute_v1.services.backend_services.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.BackendServiceAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListBackendServicesRequest,
response: google.cloud.compute_v1.types.compute.BackendServiceAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.backend_services.pagers.AggregatedListPager
google.cloud.compute_v1.services.backend_services.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.BackendServiceList
],
request: google.cloud.compute_v1.types.compute.ListBackendServicesRequest,
response: google.cloud.compute_v1.types.compute.BackendServiceList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.backend_services.pagers.ListPager
google.cloud.compute_v1.services.backend_services.pagers.ListUsablePager
ListUsablePager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.BackendServiceListUsable
],
request: google.cloud.compute_v1.types.compute.ListUsableBackendServicesRequest,
response: google.cloud.compute_v1.types.compute.BackendServiceListUsable,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.backend_services.pagers.ListUsablePager
google.cloud.compute_v1.services.disk_types.DiskTypesClient
DiskTypesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.disk_types.transports.base.DiskTypesTransport, typing.Callable[[...], google.cloud.compute_v1.services.disk_types.transports.base.DiskTypesTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the disk types client.
See more: google.cloud.compute_v1.services.disk_types.DiskTypesClient
google.cloud.compute_v1.services.disk_types.DiskTypesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.disk_types.DiskTypesClient.exit
google.cloud.compute_v1.services.disk_types.DiskTypesClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListDiskTypesRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.disk_types.pagers.AggregatedListPager
Retrieves an aggregated list of disk types.
See more: google.cloud.compute_v1.services.disk_types.DiskTypesClient.aggregated_list
google.cloud.compute_v1.services.disk_types.DiskTypesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.compute_v1.services.disk_types.DiskTypesClient.common_billing_account_path
google.cloud.compute_v1.services.disk_types.DiskTypesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.disk_types.DiskTypesClient.common_folder_path
google.cloud.compute_v1.services.disk_types.DiskTypesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.disk_types.DiskTypesClient.common_location_path
google.cloud.compute_v1.services.disk_types.DiskTypesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.disk_types.DiskTypesClient.common_organization_path
google.cloud.compute_v1.services.disk_types.DiskTypesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.disk_types.DiskTypesClient.common_project_path
google.cloud.compute_v1.services.disk_types.DiskTypesClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.disk_types.DiskTypesClient.from_service_account_file
google.cloud.compute_v1.services.disk_types.DiskTypesClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
See more: google.cloud.compute_v1.services.disk_types.DiskTypesClient.from_service_account_info
google.cloud.compute_v1.services.disk_types.DiskTypesClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.disk_types.DiskTypesClient.from_service_account_json
google.cloud.compute_v1.services.disk_types.DiskTypesClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetDiskTypeRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
disk_type: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.DiskType
Returns the specified disk type.
See more: google.cloud.compute_v1.services.disk_types.DiskTypesClient.get
google.cloud.compute_v1.services.disk_types.DiskTypesClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
See more: google.cloud.compute_v1.services.disk_types.DiskTypesClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.disk_types.DiskTypesClient.list
list(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ListDiskTypesRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.disk_types.pagers.ListPager
Retrieves a list of disk types available to the specified project.
See more: google.cloud.compute_v1.services.disk_types.DiskTypesClient.list
google.cloud.compute_v1.services.disk_types.DiskTypesClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
See more: google.cloud.compute_v1.services.disk_types.DiskTypesClient.parse_common_billing_account_path
google.cloud.compute_v1.services.disk_types.DiskTypesClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.compute_v1.services.disk_types.DiskTypesClient.parse_common_folder_path
google.cloud.compute_v1.services.disk_types.DiskTypesClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
See more: google.cloud.compute_v1.services.disk_types.DiskTypesClient.parse_common_location_path
google.cloud.compute_v1.services.disk_types.DiskTypesClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
See more: google.cloud.compute_v1.services.disk_types.DiskTypesClient.parse_common_organization_path
google.cloud.compute_v1.services.disk_types.DiskTypesClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
See more: google.cloud.compute_v1.services.disk_types.DiskTypesClient.parse_common_project_path
google.cloud.compute_v1.services.disk_types.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.DiskTypeAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListDiskTypesRequest,
response: google.cloud.compute_v1.types.compute.DiskTypeAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.disk_types.pagers.AggregatedListPager
google.cloud.compute_v1.services.disk_types.pagers.ListPager
ListPager(
method: typing.Callable[[...], google.cloud.compute_v1.types.compute.DiskTypeList],
request: google.cloud.compute_v1.types.compute.ListDiskTypesRequest,
response: google.cloud.compute_v1.types.compute.DiskTypeList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.disk_types.pagers.ListPager
google.cloud.compute_v1.services.disks.DisksClient
DisksClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.disks.transports.base.DisksTransport, typing.Callable[[...], google.cloud.compute_v1.services.disks.transports.base.DisksTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the disks client.
See more: google.cloud.compute_v1.services.disks.DisksClient
google.cloud.compute_v1.services.disks.DisksClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.disks.DisksClient.exit
google.cloud.compute_v1.services.disks.DisksClient.add_resource_policies
add_resource_policies(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddResourcePoliciesDiskRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
disk: typing.Optional[str] = None,
disks_add_resource_policies_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.DisksAddResourcePoliciesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Adds existing resource policies to a disk.
See more: google.cloud.compute_v1.services.disks.DisksClient.add_resource_policies
google.cloud.compute_v1.services.disks.DisksClient.add_resource_policies_unary
add_resource_policies_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddResourcePoliciesDiskRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
disk: typing.Optional[str] = None,
disks_add_resource_policies_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.DisksAddResourcePoliciesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Adds existing resource policies to a disk.
See more: google.cloud.compute_v1.services.disks.DisksClient.add_resource_policies_unary
google.cloud.compute_v1.services.disks.DisksClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListDisksRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.disks.pagers.AggregatedListPager
Retrieves an aggregated list of persistent disks.
See more: google.cloud.compute_v1.services.disks.DisksClient.aggregated_list
google.cloud.compute_v1.services.disks.DisksClient.bulk_insert
bulk_insert(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.BulkInsertDiskRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
bulk_insert_disk_resource_resource: typing.Optional[
google.cloud.compute_v1.types.compute.BulkInsertDiskResource
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Bulk create a set of disks.
See more: google.cloud.compute_v1.services.disks.DisksClient.bulk_insert
google.cloud.compute_v1.services.disks.DisksClient.bulk_insert_unary
bulk_insert_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.BulkInsertDiskRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
bulk_insert_disk_resource_resource: typing.Optional[
google.cloud.compute_v1.types.compute.BulkInsertDiskResource
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Bulk create a set of disks.
See more: google.cloud.compute_v1.services.disks.DisksClient.bulk_insert_unary
google.cloud.compute_v1.services.disks.DisksClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.compute_v1.services.disks.DisksClient.common_billing_account_path
google.cloud.compute_v1.services.disks.DisksClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.disks.DisksClient.common_folder_path
google.cloud.compute_v1.services.disks.DisksClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.disks.DisksClient.common_location_path
google.cloud.compute_v1.services.disks.DisksClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.disks.DisksClient.common_organization_path
google.cloud.compute_v1.services.disks.DisksClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.disks.DisksClient.common_project_path
google.cloud.compute_v1.services.disks.DisksClient.create_snapshot
create_snapshot(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.CreateSnapshotDiskRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
disk: typing.Optional[str] = None,
snapshot_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Snapshot
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a snapshot of a specified persistent disk.
See more: google.cloud.compute_v1.services.disks.DisksClient.create_snapshot
google.cloud.compute_v1.services.disks.DisksClient.create_snapshot_unary
create_snapshot_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.CreateSnapshotDiskRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
disk: typing.Optional[str] = None,
snapshot_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Snapshot
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a snapshot of a specified persistent disk.
See more: google.cloud.compute_v1.services.disks.DisksClient.create_snapshot_unary
google.cloud.compute_v1.services.disks.DisksClient.delete
delete(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeleteDiskRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
disk: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified persistent disk.
See more: google.cloud.compute_v1.services.disks.DisksClient.delete
google.cloud.compute_v1.services.disks.DisksClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeleteDiskRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
disk: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified persistent disk.
See more: google.cloud.compute_v1.services.disks.DisksClient.delete_unary
google.cloud.compute_v1.services.disks.DisksClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.disks.DisksClient.from_service_account_file
google.cloud.compute_v1.services.disks.DisksClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
See more: google.cloud.compute_v1.services.disks.DisksClient.from_service_account_info
google.cloud.compute_v1.services.disks.DisksClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.disks.DisksClient.from_service_account_json
google.cloud.compute_v1.services.disks.DisksClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetDiskRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
disk: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Disk
Returns the specified persistent disk.
See more: google.cloud.compute_v1.services.disks.DisksClient.get
google.cloud.compute_v1.services.disks.DisksClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetIamPolicyDiskRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Gets the access control policy for a resource.
See more: google.cloud.compute_v1.services.disks.DisksClient.get_iam_policy
google.cloud.compute_v1.services.disks.DisksClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
See more: google.cloud.compute_v1.services.disks.DisksClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.disks.DisksClient.insert
insert(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.InsertDiskRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
disk_resource: typing.Optional[google.cloud.compute_v1.types.compute.Disk] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a persistent disk in the specified project using the data in the request.
See more: google.cloud.compute_v1.services.disks.DisksClient.insert
google.cloud.compute_v1.services.disks.DisksClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.InsertDiskRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
disk_resource: typing.Optional[google.cloud.compute_v1.types.compute.Disk] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a persistent disk in the specified project using the data in the request.
See more: google.cloud.compute_v1.services.disks.DisksClient.insert_unary
google.cloud.compute_v1.services.disks.DisksClient.list
list(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ListDisksRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.disks.pagers.ListPager
Retrieves a list of persistent disks contained within the specified zone.
See more: google.cloud.compute_v1.services.disks.DisksClient.list
google.cloud.compute_v1.services.disks.DisksClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
See more: google.cloud.compute_v1.services.disks.DisksClient.parse_common_billing_account_path
google.cloud.compute_v1.services.disks.DisksClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.compute_v1.services.disks.DisksClient.parse_common_folder_path
google.cloud.compute_v1.services.disks.DisksClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
See more: google.cloud.compute_v1.services.disks.DisksClient.parse_common_location_path
google.cloud.compute_v1.services.disks.DisksClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
See more: google.cloud.compute_v1.services.disks.DisksClient.parse_common_organization_path
google.cloud.compute_v1.services.disks.DisksClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
See more: google.cloud.compute_v1.services.disks.DisksClient.parse_common_project_path
google.cloud.compute_v1.services.disks.DisksClient.remove_resource_policies
remove_resource_policies(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemoveResourcePoliciesDiskRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
disk: typing.Optional[str] = None,
disks_remove_resource_policies_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.DisksRemoveResourcePoliciesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Removes resource policies from a disk.
See more: google.cloud.compute_v1.services.disks.DisksClient.remove_resource_policies
google.cloud.compute_v1.services.disks.DisksClient.remove_resource_policies_unary
remove_resource_policies_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemoveResourcePoliciesDiskRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
disk: typing.Optional[str] = None,
disks_remove_resource_policies_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.DisksRemoveResourcePoliciesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Removes resource policies from a disk.
See more: google.cloud.compute_v1.services.disks.DisksClient.remove_resource_policies_unary
google.cloud.compute_v1.services.disks.DisksClient.resize
resize(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ResizeDiskRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
disk: typing.Optional[str] = None,
disks_resize_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.DisksResizeRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Resizes the specified persistent disk.
See more: google.cloud.compute_v1.services.disks.DisksClient.resize
google.cloud.compute_v1.services.disks.DisksClient.resize_unary
resize_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ResizeDiskRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
disk: typing.Optional[str] = None,
disks_resize_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.DisksResizeRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Resizes the specified persistent disk.
See more: google.cloud.compute_v1.services.disks.DisksClient.resize_unary
google.cloud.compute_v1.services.disks.DisksClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetIamPolicyDiskRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
zone_set_policy_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ZoneSetPolicyRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Sets the access control policy on the specified resource.
See more: google.cloud.compute_v1.services.disks.DisksClient.set_iam_policy
google.cloud.compute_v1.services.disks.DisksClient.set_labels
set_labels(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.SetLabelsDiskRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
zone_set_labels_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ZoneSetLabelsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the labels on a disk.
See more: google.cloud.compute_v1.services.disks.DisksClient.set_labels
google.cloud.compute_v1.services.disks.DisksClient.set_labels_unary
set_labels_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.SetLabelsDiskRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
zone_set_labels_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ZoneSetLabelsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the labels on a disk.
See more: google.cloud.compute_v1.services.disks.DisksClient.set_labels_unary
google.cloud.compute_v1.services.disks.DisksClient.start_async_replication
start_async_replication(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.StartAsyncReplicationDiskRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
disk: typing.Optional[str] = None,
disks_start_async_replication_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.DisksStartAsyncReplicationRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Starts asynchronous replication.
See more: google.cloud.compute_v1.services.disks.DisksClient.start_async_replication
google.cloud.compute_v1.services.disks.DisksClient.start_async_replication_unary
start_async_replication_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.StartAsyncReplicationDiskRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
disk: typing.Optional[str] = None,
disks_start_async_replication_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.DisksStartAsyncReplicationRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Starts asynchronous replication.
See more: google.cloud.compute_v1.services.disks.DisksClient.start_async_replication_unary
google.cloud.compute_v1.services.disks.DisksClient.stop_async_replication
stop_async_replication(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.StopAsyncReplicationDiskRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
disk: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Stops asynchronous replication.
See more: google.cloud.compute_v1.services.disks.DisksClient.stop_async_replication
google.cloud.compute_v1.services.disks.DisksClient.stop_async_replication_unary
stop_async_replication_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.StopAsyncReplicationDiskRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
disk: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Stops asynchronous replication.
See more: google.cloud.compute_v1.services.disks.DisksClient.stop_async_replication_unary
google.cloud.compute_v1.services.disks.DisksClient.stop_group_async_replication
stop_group_async_replication(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.StopGroupAsyncReplicationDiskRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
disks_stop_group_async_replication_resource_resource: typing.Optional[
google.cloud.compute_v1.types.compute.DisksStopGroupAsyncReplicationResource
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Stops asynchronous replication for a consistency group of disks.
See more: google.cloud.compute_v1.services.disks.DisksClient.stop_group_async_replication
google.cloud.compute_v1.services.disks.DisksClient.stop_group_async_replication_unary
stop_group_async_replication_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.StopGroupAsyncReplicationDiskRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
disks_stop_group_async_replication_resource_resource: typing.Optional[
google.cloud.compute_v1.types.compute.DisksStopGroupAsyncReplicationResource
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Stops asynchronous replication for a consistency group of disks.
See more: google.cloud.compute_v1.services.disks.DisksClient.stop_group_async_replication_unary
google.cloud.compute_v1.services.disks.DisksClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.TestIamPermissionsDiskRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
test_permissions_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TestPermissionsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
See more: google.cloud.compute_v1.services.disks.DisksClient.test_iam_permissions
google.cloud.compute_v1.services.disks.DisksClient.update
update(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.UpdateDiskRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
disk: typing.Optional[str] = None,
disk_resource: typing.Optional[google.cloud.compute_v1.types.compute.Disk] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates the specified disk with the data included in the request.
See more: google.cloud.compute_v1.services.disks.DisksClient.update
google.cloud.compute_v1.services.disks.DisksClient.update_unary
update_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.UpdateDiskRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
disk: typing.Optional[str] = None,
disk_resource: typing.Optional[google.cloud.compute_v1.types.compute.Disk] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates the specified disk with the data included in the request.
See more: google.cloud.compute_v1.services.disks.DisksClient.update_unary
google.cloud.compute_v1.services.disks.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.DiskAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListDisksRequest,
response: google.cloud.compute_v1.types.compute.DiskAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.disks.pagers.AggregatedListPager
google.cloud.compute_v1.services.disks.pagers.ListPager
ListPager(
method: typing.Callable[[...], google.cloud.compute_v1.types.compute.DiskList],
request: google.cloud.compute_v1.types.compute.ListDisksRequest,
response: google.cloud.compute_v1.types.compute.DiskList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.disks.pagers.ListPager
google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient
ExternalVpnGatewaysClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.external_vpn_gateways.transports.base.ExternalVpnGatewaysTransport, typing.Callable[[...], google.cloud.compute_v1.services.external_vpn_gateways.transports.base.ExternalVpnGatewaysTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the external vpn gateways client.
See more: google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient
google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.exit
google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.common_folder_path
google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.common_project_path
google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteExternalVpnGatewayRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
external_vpn_gateway: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified externalVpnGateway.
See more: google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.delete
google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteExternalVpnGatewayRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
external_vpn_gateway: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified externalVpnGateway.
See more: google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.delete_unary
google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetExternalVpnGatewayRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
external_vpn_gateway: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.ExternalVpnGateway
Returns the specified externalVpnGateway.
See more: google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.get
google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertExternalVpnGatewayRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
external_vpn_gateway_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ExternalVpnGateway
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a ExternalVpnGateway in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.insert
google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertExternalVpnGatewayRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
external_vpn_gateway_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ExternalVpnGateway
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a ExternalVpnGateway in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.insert_unary
google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListExternalVpnGatewaysRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.external_vpn_gateways.pagers.ListPager
Retrieves the list of ExternalVpnGateway available to the specified project.
See more: google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.list
google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.set_labels
set_labels(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsExternalVpnGatewayRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
global_set_labels_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.GlobalSetLabelsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the labels on an ExternalVpnGateway.
See more: google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.set_labels
google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.set_labels_unary
set_labels_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsExternalVpnGatewayRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
global_set_labels_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.GlobalSetLabelsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the labels on an ExternalVpnGateway.
See more: google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.set_labels_unary
google.cloud.compute_v1.services.external_vpn_gateways.ExternalVpnGatewaysClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.TestIamPermissionsExternalVpnGatewayRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
test_permissions_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TestPermissionsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
google.cloud.compute_v1.services.external_vpn_gateways.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.ExternalVpnGatewayList
],
request: google.cloud.compute_v1.types.compute.ListExternalVpnGatewaysRequest,
response: google.cloud.compute_v1.types.compute.ExternalVpnGatewayList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.external_vpn_gateways.pagers.ListPager
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient
FirewallPoliciesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.firewall_policies.transports.base.FirewallPoliciesTransport, typing.Callable[[...], google.cloud.compute_v1.services.firewall_policies.transports.base.FirewallPoliciesTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the firewall policies client.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.exit
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.add_association
add_association(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddAssociationFirewallPolicyRequest,
dict,
]
] = None,
*,
firewall_policy: typing.Optional[str] = None,
firewall_policy_association_resource: typing.Optional[
google.cloud.compute_v1.types.compute.FirewallPolicyAssociation
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Inserts an association for the specified firewall policy.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.add_association
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.add_association_unary
add_association_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddAssociationFirewallPolicyRequest,
dict,
]
] = None,
*,
firewall_policy: typing.Optional[str] = None,
firewall_policy_association_resource: typing.Optional[
google.cloud.compute_v1.types.compute.FirewallPolicyAssociation
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Inserts an association for the specified firewall policy.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.add_association_unary
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.add_rule
add_rule(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddRuleFirewallPolicyRequest, dict
]
] = None,
*,
firewall_policy: typing.Optional[str] = None,
firewall_policy_rule_resource: typing.Optional[
google.cloud.compute_v1.types.compute.FirewallPolicyRule
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Inserts a rule into a firewall policy.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.add_rule
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.add_rule_unary
add_rule_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddRuleFirewallPolicyRequest, dict
]
] = None,
*,
firewall_policy: typing.Optional[str] = None,
firewall_policy_rule_resource: typing.Optional[
google.cloud.compute_v1.types.compute.FirewallPolicyRule
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Inserts a rule into a firewall policy.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.add_rule_unary
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.clone_rules
clone_rules(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.CloneRulesFirewallPolicyRequest, dict
]
] = None,
*,
firewall_policy: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Copies rules to the specified firewall policy.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.clone_rules
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.clone_rules_unary
clone_rules_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.CloneRulesFirewallPolicyRequest, dict
]
] = None,
*,
firewall_policy: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Copies rules to the specified firewall policy.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.clone_rules_unary
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.common_folder_path
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.common_location_path
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.common_organization_path
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.common_project_path
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteFirewallPolicyRequest, dict
]
] = None,
*,
firewall_policy: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified policy.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.delete
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteFirewallPolicyRequest, dict
]
] = None,
*,
firewall_policy: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified policy.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.delete_unary
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.from_service_account_file
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.from_service_account_info
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.from_service_account_json
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetFirewallPolicyRequest, dict
]
] = None,
*,
firewall_policy: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.FirewallPolicy
Returns the specified firewall policy.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.get
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.get_association
get_association(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetAssociationFirewallPolicyRequest,
dict,
]
] = None,
*,
firewall_policy: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.FirewallPolicyAssociation
Gets an association with the specified name.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.get_association
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetIamPolicyFirewallPolicyRequest,
dict,
]
] = None,
*,
resource: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Gets the access control policy for a resource.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.get_iam_policy
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.get_rule
get_rule(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetRuleFirewallPolicyRequest, dict
]
] = None,
*,
firewall_policy: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.FirewallPolicyRule
Gets a rule of the specified priority.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.get_rule
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertFirewallPolicyRequest, dict
]
] = None,
*,
parent_id: typing.Optional[str] = None,
firewall_policy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.FirewallPolicy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a new policy in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.insert
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertFirewallPolicyRequest, dict
]
] = None,
*,
parent_id: typing.Optional[str] = None,
firewall_policy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.FirewallPolicy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a new policy in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.insert_unary
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListFirewallPoliciesRequest, dict
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.firewall_policies.pagers.ListPager
Lists all the policies that have been configured for the specified folder or organization.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.list
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.list_associations
list_associations(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListAssociationsFirewallPolicyRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.FirewallPoliciesListAssociationsResponse
Lists associations of a specified target, i.e., organization or folder.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.list_associations
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.move
move(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.MoveFirewallPolicyRequest, dict
]
] = None,
*,
firewall_policy: typing.Optional[str] = None,
parent_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Moves the specified firewall policy.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.move
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.move_unary
move_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.MoveFirewallPolicyRequest, dict
]
] = None,
*,
firewall_policy: typing.Optional[str] = None,
parent_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Moves the specified firewall policy.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.move_unary
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.parse_common_folder_path
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.parse_common_location_path
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.parse_common_project_path
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchFirewallPolicyRequest, dict
]
] = None,
*,
firewall_policy: typing.Optional[str] = None,
firewall_policy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.FirewallPolicy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches the specified policy with the data included in the request.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.patch
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.patch_rule
patch_rule(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRuleFirewallPolicyRequest, dict
]
] = None,
*,
firewall_policy: typing.Optional[str] = None,
firewall_policy_rule_resource: typing.Optional[
google.cloud.compute_v1.types.compute.FirewallPolicyRule
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches a rule of the specified priority.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.patch_rule
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.patch_rule_unary
patch_rule_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRuleFirewallPolicyRequest, dict
]
] = None,
*,
firewall_policy: typing.Optional[str] = None,
firewall_policy_rule_resource: typing.Optional[
google.cloud.compute_v1.types.compute.FirewallPolicyRule
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Patches a rule of the specified priority.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.patch_rule_unary
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchFirewallPolicyRequest, dict
]
] = None,
*,
firewall_policy: typing.Optional[str] = None,
firewall_policy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.FirewallPolicy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Patches the specified policy with the data included in the request.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.patch_unary
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.remove_association
remove_association(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemoveAssociationFirewallPolicyRequest,
dict,
]
] = None,
*,
firewall_policy: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Removes an association for the specified firewall policy.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.remove_association
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.remove_association_unary
remove_association_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemoveAssociationFirewallPolicyRequest,
dict,
]
] = None,
*,
firewall_policy: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Removes an association for the specified firewall policy.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.remove_association_unary
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.remove_rule
remove_rule(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemoveRuleFirewallPolicyRequest, dict
]
] = None,
*,
firewall_policy: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes a rule of the specified priority.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.remove_rule
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.remove_rule_unary
remove_rule_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemoveRuleFirewallPolicyRequest, dict
]
] = None,
*,
firewall_policy: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes a rule of the specified priority.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.remove_rule_unary
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetIamPolicyFirewallPolicyRequest,
dict,
]
] = None,
*,
resource: typing.Optional[str] = None,
global_organization_set_policy_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.GlobalOrganizationSetPolicyRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Sets the access control policy on the specified resource.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.set_iam_policy
google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.TestIamPermissionsFirewallPolicyRequest,
dict,
]
] = None,
*,
resource: typing.Optional[str] = None,
test_permissions_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TestPermissionsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
See more: google.cloud.compute_v1.services.firewall_policies.FirewallPoliciesClient.test_iam_permissions
google.cloud.compute_v1.services.firewall_policies.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.FirewallPolicyList
],
request: google.cloud.compute_v1.types.compute.ListFirewallPoliciesRequest,
response: google.cloud.compute_v1.types.compute.FirewallPolicyList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.firewall_policies.pagers.ListPager
google.cloud.compute_v1.services.firewalls.FirewallsClient
FirewallsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.firewalls.transports.base.FirewallsTransport, typing.Callable[[...], google.cloud.compute_v1.services.firewalls.transports.base.FirewallsTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the firewalls client.
See more: google.cloud.compute_v1.services.firewalls.FirewallsClient
google.cloud.compute_v1.services.firewalls.FirewallsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.firewalls.FirewallsClient.exit
google.cloud.compute_v1.services.firewalls.FirewallsClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.compute_v1.services.firewalls.FirewallsClient.common_billing_account_path
google.cloud.compute_v1.services.firewalls.FirewallsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.firewalls.FirewallsClient.common_folder_path
google.cloud.compute_v1.services.firewalls.FirewallsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.firewalls.FirewallsClient.common_location_path
google.cloud.compute_v1.services.firewalls.FirewallsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.firewalls.FirewallsClient.common_organization_path
google.cloud.compute_v1.services.firewalls.FirewallsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.firewalls.FirewallsClient.common_project_path
google.cloud.compute_v1.services.firewalls.FirewallsClient.delete
delete(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeleteFirewallRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
firewall: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified firewall.
See more: google.cloud.compute_v1.services.firewalls.FirewallsClient.delete
google.cloud.compute_v1.services.firewalls.FirewallsClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeleteFirewallRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
firewall: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified firewall.
See more: google.cloud.compute_v1.services.firewalls.FirewallsClient.delete_unary
google.cloud.compute_v1.services.firewalls.FirewallsClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.firewalls.FirewallsClient.from_service_account_file
google.cloud.compute_v1.services.firewalls.FirewallsClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
See more: google.cloud.compute_v1.services.firewalls.FirewallsClient.from_service_account_info
google.cloud.compute_v1.services.firewalls.FirewallsClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.firewalls.FirewallsClient.from_service_account_json
google.cloud.compute_v1.services.firewalls.FirewallsClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetFirewallRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
firewall: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Firewall
Returns the specified firewall.
See more: google.cloud.compute_v1.services.firewalls.FirewallsClient.get
google.cloud.compute_v1.services.firewalls.FirewallsClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
See more: google.cloud.compute_v1.services.firewalls.FirewallsClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.firewalls.FirewallsClient.insert
insert(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.InsertFirewallRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
firewall_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Firewall
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a firewall rule in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.firewalls.FirewallsClient.insert
google.cloud.compute_v1.services.firewalls.FirewallsClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.InsertFirewallRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
firewall_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Firewall
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a firewall rule in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.firewalls.FirewallsClient.insert_unary
google.cloud.compute_v1.services.firewalls.FirewallsClient.list
list(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ListFirewallsRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.firewalls.pagers.ListPager
Retrieves the list of firewall rules available to the specified project.
See more: google.cloud.compute_v1.services.firewalls.FirewallsClient.list
google.cloud.compute_v1.services.firewalls.FirewallsClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
See more: google.cloud.compute_v1.services.firewalls.FirewallsClient.parse_common_billing_account_path
google.cloud.compute_v1.services.firewalls.FirewallsClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.compute_v1.services.firewalls.FirewallsClient.parse_common_folder_path
google.cloud.compute_v1.services.firewalls.FirewallsClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
See more: google.cloud.compute_v1.services.firewalls.FirewallsClient.parse_common_location_path
google.cloud.compute_v1.services.firewalls.FirewallsClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
See more: google.cloud.compute_v1.services.firewalls.FirewallsClient.parse_common_organization_path
google.cloud.compute_v1.services.firewalls.FirewallsClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
See more: google.cloud.compute_v1.services.firewalls.FirewallsClient.parse_common_project_path
google.cloud.compute_v1.services.firewalls.FirewallsClient.patch
patch(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.PatchFirewallRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
firewall: typing.Optional[str] = None,
firewall_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Firewall
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates the specified firewall rule with the data included in the request.
See more: google.cloud.compute_v1.services.firewalls.FirewallsClient.patch
google.cloud.compute_v1.services.firewalls.FirewallsClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.PatchFirewallRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
firewall: typing.Optional[str] = None,
firewall_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Firewall
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates the specified firewall rule with the data included in the request.
See more: google.cloud.compute_v1.services.firewalls.FirewallsClient.patch_unary
google.cloud.compute_v1.services.firewalls.FirewallsClient.update
update(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.UpdateFirewallRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
firewall: typing.Optional[str] = None,
firewall_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Firewall
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates the specified firewall rule with the data included in the request.
See more: google.cloud.compute_v1.services.firewalls.FirewallsClient.update
google.cloud.compute_v1.services.firewalls.FirewallsClient.update_unary
update_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.UpdateFirewallRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
firewall: typing.Optional[str] = None,
firewall_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Firewall
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates the specified firewall rule with the data included in the request.
See more: google.cloud.compute_v1.services.firewalls.FirewallsClient.update_unary
google.cloud.compute_v1.services.firewalls.pagers.ListPager
ListPager(
method: typing.Callable[[...], google.cloud.compute_v1.types.compute.FirewallList],
request: google.cloud.compute_v1.types.compute.ListFirewallsRequest,
response: google.cloud.compute_v1.types.compute.FirewallList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.firewalls.pagers.ListPager
google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient
ForwardingRulesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.forwarding_rules.transports.base.ForwardingRulesTransport, typing.Callable[[...], google.cloud.compute_v1.services.forwarding_rules.transports.base.ForwardingRulesTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the forwarding rules client.
See more: google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient
google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.exit
google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListForwardingRulesRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.forwarding_rules.pagers.AggregatedListPager
Retrieves an aggregated list of forwarding rules.
See more: google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.aggregated_list
google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.common_billing_account_path
google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.common_folder_path
google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.common_location_path
google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.common_organization_path
google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.common_project_path
google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteForwardingRuleRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
forwarding_rule: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified ForwardingRule resource.
See more: google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.delete
google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteForwardingRuleRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
forwarding_rule: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified ForwardingRule resource.
See more: google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.delete_unary
google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.from_service_account_file
google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
See more: google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.from_service_account_info
google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.from_service_account_json
google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetForwardingRuleRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
forwarding_rule: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.ForwardingRule
Returns the specified ForwardingRule resource.
See more: google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.get
google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertForwardingRuleRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
forwarding_rule_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ForwardingRule
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a ForwardingRule resource in the specified project and region using the data included in the request.
See more: google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.insert
google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertForwardingRuleRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
forwarding_rule_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ForwardingRule
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a ForwardingRule resource in the specified project and region using the data included in the request.
See more: google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.insert_unary
google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListForwardingRulesRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.forwarding_rules.pagers.ListPager
Retrieves a list of ForwardingRule resources available to the specified project and region.
See more: google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.list
google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.parse_common_folder_path
google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
See more: google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.parse_common_location_path
google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
See more: google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.parse_common_project_path
google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchForwardingRuleRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
forwarding_rule: typing.Optional[str] = None,
forwarding_rule_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ForwardingRule
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates the specified forwarding rule with the data included in the request.
See more: google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.patch
google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchForwardingRuleRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
forwarding_rule: typing.Optional[str] = None,
forwarding_rule_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ForwardingRule
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates the specified forwarding rule with the data included in the request.
See more: google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.patch_unary
google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.set_labels
set_labels(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsForwardingRuleRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
region_set_labels_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionSetLabelsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the labels on the specified resource.
See more: google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.set_labels
google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.set_labels_unary
set_labels_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsForwardingRuleRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
region_set_labels_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionSetLabelsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the labels on the specified resource.
See more: google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.set_labels_unary
google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.set_target
set_target(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetTargetForwardingRuleRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
forwarding_rule: typing.Optional[str] = None,
target_reference_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetReference
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Changes target URL for forwarding rule.
See more: google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.set_target
google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.set_target_unary
set_target_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetTargetForwardingRuleRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
forwarding_rule: typing.Optional[str] = None,
target_reference_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetReference
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Changes target URL for forwarding rule.
See more: google.cloud.compute_v1.services.forwarding_rules.ForwardingRulesClient.set_target_unary
google.cloud.compute_v1.services.forwarding_rules.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.ForwardingRuleAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListForwardingRulesRequest,
response: google.cloud.compute_v1.types.compute.ForwardingRuleAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.forwarding_rules.pagers.AggregatedListPager
google.cloud.compute_v1.services.forwarding_rules.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.ForwardingRuleList
],
request: google.cloud.compute_v1.types.compute.ListForwardingRulesRequest,
response: google.cloud.compute_v1.types.compute.ForwardingRuleList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.forwarding_rules.pagers.ListPager
google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient
GlobalAddressesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.global_addresses.transports.base.GlobalAddressesTransport, typing.Callable[[...], google.cloud.compute_v1.services.global_addresses.transports.base.GlobalAddressesTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the global addresses client.
See more: google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient
google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.exit
google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.common_billing_account_path
google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.common_folder_path
google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.common_location_path
google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.common_organization_path
google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.common_project_path
google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteGlobalAddressRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
address: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified address resource.
See more: google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.delete
google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteGlobalAddressRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
address: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified address resource.
See more: google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.delete_unary
google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.from_service_account_file
google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
See more: google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.from_service_account_info
google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.from_service_account_json
google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetGlobalAddressRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
address: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Address
Returns the specified address resource.
See more: google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.get
google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertGlobalAddressRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
address_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Address
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates an address resource in the specified project by using the data included in the request.
See more: google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.insert
google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertGlobalAddressRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
address_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Address
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates an address resource in the specified project by using the data included in the request.
See more: google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.insert_unary
google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListGlobalAddressesRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.global_addresses.pagers.ListPager
Retrieves a list of global addresses.
See more: google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.list
google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.move
move(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.MoveGlobalAddressRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
address: typing.Optional[str] = None,
global_addresses_move_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.GlobalAddressesMoveRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Moves the specified address resource from one project to another project.
See more: google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.move
google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.move_unary
move_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.MoveGlobalAddressRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
address: typing.Optional[str] = None,
global_addresses_move_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.GlobalAddressesMoveRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Moves the specified address resource from one project to another project.
See more: google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.move_unary
google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.parse_common_folder_path
google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
See more: google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.parse_common_location_path
google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
See more: google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.parse_common_project_path
google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.set_labels
set_labels(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsGlobalAddressRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
global_set_labels_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.GlobalSetLabelsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the labels on a GlobalAddress.
See more: google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.set_labels
google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.set_labels_unary
set_labels_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsGlobalAddressRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
global_set_labels_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.GlobalSetLabelsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the labels on a GlobalAddress.
See more: google.cloud.compute_v1.services.global_addresses.GlobalAddressesClient.set_labels_unary
google.cloud.compute_v1.services.global_addresses.pagers.ListPager
ListPager(
method: typing.Callable[[...], google.cloud.compute_v1.types.compute.AddressList],
request: google.cloud.compute_v1.types.compute.ListGlobalAddressesRequest,
response: google.cloud.compute_v1.types.compute.AddressList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.global_addresses.pagers.ListPager
google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient
GlobalForwardingRulesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.global_forwarding_rules.transports.base.GlobalForwardingRulesTransport, typing.Callable[[...], google.cloud.compute_v1.services.global_forwarding_rules.transports.base.GlobalForwardingRulesTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the global forwarding rules client.
See more: google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient
google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.exit
google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteGlobalForwardingRuleRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
forwarding_rule: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified GlobalForwardingRule resource.
See more: google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.delete
google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteGlobalForwardingRuleRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
forwarding_rule: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified GlobalForwardingRule resource.
See more: google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.delete_unary
google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetGlobalForwardingRuleRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
forwarding_rule: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.ForwardingRule
Returns the specified GlobalForwardingRule resource.
See more: google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.get
google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertGlobalForwardingRuleRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
forwarding_rule_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ForwardingRule
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a GlobalForwardingRule resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.insert
google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertGlobalForwardingRuleRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
forwarding_rule_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ForwardingRule
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a GlobalForwardingRule resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.insert_unary
google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListGlobalForwardingRulesRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.global_forwarding_rules.pagers.ListPager
Retrieves a list of GlobalForwardingRule resources available to the specified project.
See more: google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.list
google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchGlobalForwardingRuleRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
forwarding_rule: typing.Optional[str] = None,
forwarding_rule_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ForwardingRule
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates the specified forwarding rule with the data included in the request.
See more: google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.patch
google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchGlobalForwardingRuleRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
forwarding_rule: typing.Optional[str] = None,
forwarding_rule_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ForwardingRule
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates the specified forwarding rule with the data included in the request.
See more: google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.patch_unary
google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.set_labels
set_labels(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsGlobalForwardingRuleRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
global_set_labels_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.GlobalSetLabelsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the labels on the specified resource.
See more: google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.set_labels
google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.set_labels_unary
set_labels_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsGlobalForwardingRuleRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
global_set_labels_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.GlobalSetLabelsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the labels on the specified resource.
google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.set_target
set_target(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetTargetGlobalForwardingRuleRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
forwarding_rule: typing.Optional[str] = None,
target_reference_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetReference
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Changes target URL for the GlobalForwardingRule resource.
See more: google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.set_target
google.cloud.compute_v1.services.global_forwarding_rules.GlobalForwardingRulesClient.set_target_unary
set_target_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetTargetGlobalForwardingRuleRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
forwarding_rule: typing.Optional[str] = None,
target_reference_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetReference
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Changes target URL for the GlobalForwardingRule resource.
google.cloud.compute_v1.services.global_forwarding_rules.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.ForwardingRuleList
],
request: google.cloud.compute_v1.types.compute.ListGlobalForwardingRulesRequest,
response: google.cloud.compute_v1.types.compute.ForwardingRuleList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.global_forwarding_rules.pagers.ListPager
google.cloud.compute_v1.services.global_network_endpoint_groups.GlobalNetworkEndpointGroupsClient
GlobalNetworkEndpointGroupsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.global_network_endpoint_groups.transports.base.GlobalNetworkEndpointGroupsTransport, typing.Callable[[...], google.cloud.compute_v1.services.global_network_endpoint_groups.transports.base.GlobalNetworkEndpointGroupsTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the global network endpoint groups client.
See more: google.cloud.compute_v1.services.global_network_endpoint_groups.GlobalNetworkEndpointGroupsClient
google.cloud.compute_v1.services.global_network_endpoint_groups.GlobalNetworkEndpointGroupsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
google.cloud.compute_v1.services.global_network_endpoint_groups.GlobalNetworkEndpointGroupsClient.attach_network_endpoints
attach_network_endpoints(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
network_endpoint_group: typing.Optional[str] = None,
global_network_endpoint_groups_attach_endpoints_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.GlobalNetworkEndpointGroupsAttachEndpointsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Attach a network endpoint to the specified network endpoint group.
google.cloud.compute_v1.services.global_network_endpoint_groups.GlobalNetworkEndpointGroupsClient.attach_network_endpoints_unary
attach_network_endpoints_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
network_endpoint_group: typing.Optional[str] = None,
global_network_endpoint_groups_attach_endpoints_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.GlobalNetworkEndpointGroupsAttachEndpointsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Attach a network endpoint to the specified network endpoint group.
google.cloud.compute_v1.services.global_network_endpoint_groups.GlobalNetworkEndpointGroupsClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.global_network_endpoint_groups.GlobalNetworkEndpointGroupsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.global_network_endpoint_groups.GlobalNetworkEndpointGroupsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.global_network_endpoint_groups.GlobalNetworkEndpointGroupsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.global_network_endpoint_groups.GlobalNetworkEndpointGroupsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.global_network_endpoint_groups.GlobalNetworkEndpointGroupsClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteGlobalNetworkEndpointGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
network_endpoint_group: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified network endpoint group.Note that the NEG cannot be deleted if there are backend services referencing it.
google.cloud.compute_v1.services.global_network_endpoint_groups.GlobalNetworkEndpointGroupsClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteGlobalNetworkEndpointGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
network_endpoint_group: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified network endpoint group.Note that the NEG cannot be deleted if there are backend services referencing it.
google.cloud.compute_v1.services.global_network_endpoint_groups.GlobalNetworkEndpointGroupsClient.detach_network_endpoints
detach_network_endpoints(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
network_endpoint_group: typing.Optional[str] = None,
global_network_endpoint_groups_detach_endpoints_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.GlobalNetworkEndpointGroupsDetachEndpointsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Detach the network endpoint from the specified network endpoint group.
google.cloud.compute_v1.services.global_network_endpoint_groups.GlobalNetworkEndpointGroupsClient.detach_network_endpoints_unary
detach_network_endpoints_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
network_endpoint_group: typing.Optional[str] = None,
global_network_endpoint_groups_detach_endpoints_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.GlobalNetworkEndpointGroupsDetachEndpointsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Detach the network endpoint from the specified network endpoint group.
google.cloud.compute_v1.services.global_network_endpoint_groups.GlobalNetworkEndpointGroupsClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.compute_v1.services.global_network_endpoint_groups.GlobalNetworkEndpointGroupsClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.compute_v1.services.global_network_endpoint_groups.GlobalNetworkEndpointGroupsClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.compute_v1.services.global_network_endpoint_groups.GlobalNetworkEndpointGroupsClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetGlobalNetworkEndpointGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
network_endpoint_group: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.NetworkEndpointGroup
Returns the specified network endpoint group.
google.cloud.compute_v1.services.global_network_endpoint_groups.GlobalNetworkEndpointGroupsClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.compute_v1.services.global_network_endpoint_groups.GlobalNetworkEndpointGroupsClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertGlobalNetworkEndpointGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
network_endpoint_group_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NetworkEndpointGroup
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a network endpoint group in the specified project using the parameters that are included in the request.
google.cloud.compute_v1.services.global_network_endpoint_groups.GlobalNetworkEndpointGroupsClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertGlobalNetworkEndpointGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
network_endpoint_group_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NetworkEndpointGroup
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a network endpoint group in the specified project using the parameters that are included in the request.
google.cloud.compute_v1.services.global_network_endpoint_groups.GlobalNetworkEndpointGroupsClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListGlobalNetworkEndpointGroupsRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.global_network_endpoint_groups.pagers.ListPager
Retrieves the list of network endpoint groups that are located in the specified project.
google.cloud.compute_v1.services.global_network_endpoint_groups.GlobalNetworkEndpointGroupsClient.list_network_endpoints
list_network_endpoints(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
network_endpoint_group: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.compute_v1.services.global_network_endpoint_groups.pagers.ListNetworkEndpointsPager
)
Lists the network endpoints in the specified network endpoint group.
google.cloud.compute_v1.services.global_network_endpoint_groups.GlobalNetworkEndpointGroupsClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.compute_v1.services.global_network_endpoint_groups.GlobalNetworkEndpointGroupsClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.compute_v1.services.global_network_endpoint_groups.GlobalNetworkEndpointGroupsClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.compute_v1.services.global_network_endpoint_groups.GlobalNetworkEndpointGroupsClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.compute_v1.services.global_network_endpoint_groups.GlobalNetworkEndpointGroupsClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.compute_v1.services.global_network_endpoint_groups.pagers.ListNetworkEndpointsPager
ListNetworkEndpointsPager(
method: typing.Callable[
[...],
google.cloud.compute_v1.types.compute.NetworkEndpointGroupsListNetworkEndpoints,
],
request: google.cloud.compute_v1.types.compute.ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest,
response: google.cloud.compute_v1.types.compute.NetworkEndpointGroupsListNetworkEndpoints,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.global_network_endpoint_groups.pagers.ListNetworkEndpointsPager
google.cloud.compute_v1.services.global_network_endpoint_groups.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.NetworkEndpointGroupList
],
request: google.cloud.compute_v1.types.compute.ListGlobalNetworkEndpointGroupsRequest,
response: google.cloud.compute_v1.types.compute.NetworkEndpointGroupList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.global_network_endpoint_groups.pagers.ListPager
google.cloud.compute_v1.services.global_operations.GlobalOperationsClient
GlobalOperationsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.global_operations.transports.base.GlobalOperationsTransport, typing.Callable[[...], google.cloud.compute_v1.services.global_operations.transports.base.GlobalOperationsTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the global operations client.
See more: google.cloud.compute_v1.services.global_operations.GlobalOperationsClient
google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.exit
google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListGlobalOperationsRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.global_operations.pagers.AggregatedListPager
Retrieves an aggregated list of all operations.
See more: google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.aggregated_list
google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.common_folder_path
google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.common_location_path
google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.common_organization_path
google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.common_project_path
google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteGlobalOperationRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
operation: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.DeleteGlobalOperationResponse
Deletes the specified Operations resource.
See more: google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.delete
google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.from_service_account_file
google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
See more: google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.from_service_account_info
google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.from_service_account_json
google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetGlobalOperationRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
operation: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Retrieves the specified Operations resource.
See more: google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.get
google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListGlobalOperationsRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.global_operations.pagers.ListPager
Retrieves a list of Operation resources contained within the specified project.
See more: google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.list
google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.parse_common_folder_path
google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
See more: google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.parse_common_location_path
google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
See more: google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.parse_common_project_path
google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.wait
wait(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.WaitGlobalOperationRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
operation: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Waits for the specified Operation resource to return as DONE
or for the request to approach the 2 minute deadline, and
retrieves the specified Operation resource.
See more: google.cloud.compute_v1.services.global_operations.GlobalOperationsClient.wait
google.cloud.compute_v1.services.global_operations.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.OperationAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListGlobalOperationsRequest,
response: google.cloud.compute_v1.types.compute.OperationAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.global_operations.pagers.AggregatedListPager
google.cloud.compute_v1.services.global_operations.pagers.ListPager
ListPager(
method: typing.Callable[[...], google.cloud.compute_v1.types.compute.OperationList],
request: google.cloud.compute_v1.types.compute.ListGlobalOperationsRequest,
response: google.cloud.compute_v1.types.compute.OperationList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.global_operations.pagers.ListPager
google.cloud.compute_v1.services.global_organization_operations.GlobalOrganizationOperationsClient
GlobalOrganizationOperationsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.global_organization_operations.transports.base.GlobalOrganizationOperationsTransport, typing.Callable[[...], google.cloud.compute_v1.services.global_organization_operations.transports.base.GlobalOrganizationOperationsTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the global organization operations client.
See more: google.cloud.compute_v1.services.global_organization_operations.GlobalOrganizationOperationsClient
google.cloud.compute_v1.services.global_organization_operations.GlobalOrganizationOperationsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
google.cloud.compute_v1.services.global_organization_operations.GlobalOrganizationOperationsClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.global_organization_operations.GlobalOrganizationOperationsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.global_organization_operations.GlobalOrganizationOperationsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.global_organization_operations.GlobalOrganizationOperationsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.global_organization_operations.GlobalOrganizationOperationsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.global_organization_operations.GlobalOrganizationOperationsClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteGlobalOrganizationOperationRequest,
dict,
]
] = None,
*,
operation: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.DeleteGlobalOrganizationOperationResponse
Deletes the specified Operations resource.
google.cloud.compute_v1.services.global_organization_operations.GlobalOrganizationOperationsClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.compute_v1.services.global_organization_operations.GlobalOrganizationOperationsClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.compute_v1.services.global_organization_operations.GlobalOrganizationOperationsClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.compute_v1.services.global_organization_operations.GlobalOrganizationOperationsClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetGlobalOrganizationOperationRequest,
dict,
]
] = None,
*,
operation: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Retrieves the specified Operations resource.
google.cloud.compute_v1.services.global_organization_operations.GlobalOrganizationOperationsClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.compute_v1.services.global_organization_operations.GlobalOrganizationOperationsClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListGlobalOrganizationOperationsRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.global_organization_operations.pagers.ListPager
Retrieves a list of Operation resources contained within the specified organization.
google.cloud.compute_v1.services.global_organization_operations.GlobalOrganizationOperationsClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.compute_v1.services.global_organization_operations.GlobalOrganizationOperationsClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.compute_v1.services.global_organization_operations.GlobalOrganizationOperationsClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.compute_v1.services.global_organization_operations.GlobalOrganizationOperationsClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.compute_v1.services.global_organization_operations.GlobalOrganizationOperationsClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.compute_v1.services.global_organization_operations.pagers.ListPager
ListPager(
method: typing.Callable[[...], google.cloud.compute_v1.types.compute.OperationList],
request: google.cloud.compute_v1.types.compute.ListGlobalOrganizationOperationsRequest,
response: google.cloud.compute_v1.types.compute.OperationList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.global_organization_operations.pagers.ListPager
google.cloud.compute_v1.services.global_public_delegated_prefixes.GlobalPublicDelegatedPrefixesClient
GlobalPublicDelegatedPrefixesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.global_public_delegated_prefixes.transports.base.GlobalPublicDelegatedPrefixesTransport, typing.Callable[[...], google.cloud.compute_v1.services.global_public_delegated_prefixes.transports.base.GlobalPublicDelegatedPrefixesTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the global public delegated prefixes client.
google.cloud.compute_v1.services.global_public_delegated_prefixes.GlobalPublicDelegatedPrefixesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
google.cloud.compute_v1.services.global_public_delegated_prefixes.GlobalPublicDelegatedPrefixesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.global_public_delegated_prefixes.GlobalPublicDelegatedPrefixesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.global_public_delegated_prefixes.GlobalPublicDelegatedPrefixesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.global_public_delegated_prefixes.GlobalPublicDelegatedPrefixesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.global_public_delegated_prefixes.GlobalPublicDelegatedPrefixesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.global_public_delegated_prefixes.GlobalPublicDelegatedPrefixesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteGlobalPublicDelegatedPrefixeRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
public_delegated_prefix: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified global PublicDelegatedPrefix.
google.cloud.compute_v1.services.global_public_delegated_prefixes.GlobalPublicDelegatedPrefixesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteGlobalPublicDelegatedPrefixeRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
public_delegated_prefix: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified global PublicDelegatedPrefix.
google.cloud.compute_v1.services.global_public_delegated_prefixes.GlobalPublicDelegatedPrefixesClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.compute_v1.services.global_public_delegated_prefixes.GlobalPublicDelegatedPrefixesClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.compute_v1.services.global_public_delegated_prefixes.GlobalPublicDelegatedPrefixesClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.compute_v1.services.global_public_delegated_prefixes.GlobalPublicDelegatedPrefixesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetGlobalPublicDelegatedPrefixeRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
public_delegated_prefix: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.PublicDelegatedPrefix
Returns the specified global PublicDelegatedPrefix resource.
google.cloud.compute_v1.services.global_public_delegated_prefixes.GlobalPublicDelegatedPrefixesClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.compute_v1.services.global_public_delegated_prefixes.GlobalPublicDelegatedPrefixesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertGlobalPublicDelegatedPrefixeRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
public_delegated_prefix_resource: typing.Optional[
google.cloud.compute_v1.types.compute.PublicDelegatedPrefix
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a global PublicDelegatedPrefix in the specified project using the parameters that are included in the request.
google.cloud.compute_v1.services.global_public_delegated_prefixes.GlobalPublicDelegatedPrefixesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertGlobalPublicDelegatedPrefixeRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
public_delegated_prefix_resource: typing.Optional[
google.cloud.compute_v1.types.compute.PublicDelegatedPrefix
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a global PublicDelegatedPrefix in the specified project using the parameters that are included in the request.
google.cloud.compute_v1.services.global_public_delegated_prefixes.GlobalPublicDelegatedPrefixesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListGlobalPublicDelegatedPrefixesRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.global_public_delegated_prefixes.pagers.ListPager
Lists the global PublicDelegatedPrefixes for a project.
google.cloud.compute_v1.services.global_public_delegated_prefixes.GlobalPublicDelegatedPrefixesClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.compute_v1.services.global_public_delegated_prefixes.GlobalPublicDelegatedPrefixesClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.compute_v1.services.global_public_delegated_prefixes.GlobalPublicDelegatedPrefixesClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.compute_v1.services.global_public_delegated_prefixes.GlobalPublicDelegatedPrefixesClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.compute_v1.services.global_public_delegated_prefixes.GlobalPublicDelegatedPrefixesClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.compute_v1.services.global_public_delegated_prefixes.GlobalPublicDelegatedPrefixesClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchGlobalPublicDelegatedPrefixeRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
public_delegated_prefix: typing.Optional[str] = None,
public_delegated_prefix_resource: typing.Optional[
google.cloud.compute_v1.types.compute.PublicDelegatedPrefix
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches the specified global PublicDelegatedPrefix resource with the data included in the request.
google.cloud.compute_v1.services.global_public_delegated_prefixes.GlobalPublicDelegatedPrefixesClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchGlobalPublicDelegatedPrefixeRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
public_delegated_prefix: typing.Optional[str] = None,
public_delegated_prefix_resource: typing.Optional[
google.cloud.compute_v1.types.compute.PublicDelegatedPrefix
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Patches the specified global PublicDelegatedPrefix resource with the data included in the request.
google.cloud.compute_v1.services.global_public_delegated_prefixes.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.PublicDelegatedPrefixList
],
request: google.cloud.compute_v1.types.compute.ListGlobalPublicDelegatedPrefixesRequest,
response: google.cloud.compute_v1.types.compute.PublicDelegatedPrefixList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.global_public_delegated_prefixes.pagers.ListPager
google.cloud.compute_v1.services.health_checks.HealthChecksClient
HealthChecksClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.health_checks.transports.base.HealthChecksTransport, typing.Callable[[...], google.cloud.compute_v1.services.health_checks.transports.base.HealthChecksTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the health checks client.
See more: google.cloud.compute_v1.services.health_checks.HealthChecksClient
google.cloud.compute_v1.services.health_checks.HealthChecksClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.health_checks.HealthChecksClient.exit
google.cloud.compute_v1.services.health_checks.HealthChecksClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListHealthChecksRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.health_checks.pagers.AggregatedListPager
Retrieves the list of all HealthCheck resources, regional and global, available to the specified project.
See more: google.cloud.compute_v1.services.health_checks.HealthChecksClient.aggregated_list
google.cloud.compute_v1.services.health_checks.HealthChecksClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.compute_v1.services.health_checks.HealthChecksClient.common_billing_account_path
google.cloud.compute_v1.services.health_checks.HealthChecksClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.health_checks.HealthChecksClient.common_folder_path
google.cloud.compute_v1.services.health_checks.HealthChecksClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.health_checks.HealthChecksClient.common_location_path
google.cloud.compute_v1.services.health_checks.HealthChecksClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.health_checks.HealthChecksClient.common_organization_path
google.cloud.compute_v1.services.health_checks.HealthChecksClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.health_checks.HealthChecksClient.common_project_path
google.cloud.compute_v1.services.health_checks.HealthChecksClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteHealthCheckRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
health_check: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified HealthCheck resource.
See more: google.cloud.compute_v1.services.health_checks.HealthChecksClient.delete
google.cloud.compute_v1.services.health_checks.HealthChecksClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteHealthCheckRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
health_check: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified HealthCheck resource.
See more: google.cloud.compute_v1.services.health_checks.HealthChecksClient.delete_unary
google.cloud.compute_v1.services.health_checks.HealthChecksClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.health_checks.HealthChecksClient.from_service_account_file
google.cloud.compute_v1.services.health_checks.HealthChecksClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
See more: google.cloud.compute_v1.services.health_checks.HealthChecksClient.from_service_account_info
google.cloud.compute_v1.services.health_checks.HealthChecksClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.health_checks.HealthChecksClient.from_service_account_json
google.cloud.compute_v1.services.health_checks.HealthChecksClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetHealthCheckRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
health_check: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.HealthCheck
Returns the specified HealthCheck resource.
See more: google.cloud.compute_v1.services.health_checks.HealthChecksClient.get
google.cloud.compute_v1.services.health_checks.HealthChecksClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
See more: google.cloud.compute_v1.services.health_checks.HealthChecksClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.health_checks.HealthChecksClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertHealthCheckRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
health_check_resource: typing.Optional[
google.cloud.compute_v1.types.compute.HealthCheck
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a HealthCheck resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.health_checks.HealthChecksClient.insert
google.cloud.compute_v1.services.health_checks.HealthChecksClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertHealthCheckRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
health_check_resource: typing.Optional[
google.cloud.compute_v1.types.compute.HealthCheck
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a HealthCheck resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.health_checks.HealthChecksClient.insert_unary
google.cloud.compute_v1.services.health_checks.HealthChecksClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListHealthChecksRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.health_checks.pagers.ListPager
Retrieves the list of HealthCheck resources available to the specified project.
See more: google.cloud.compute_v1.services.health_checks.HealthChecksClient.list
google.cloud.compute_v1.services.health_checks.HealthChecksClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
See more: google.cloud.compute_v1.services.health_checks.HealthChecksClient.parse_common_billing_account_path
google.cloud.compute_v1.services.health_checks.HealthChecksClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.compute_v1.services.health_checks.HealthChecksClient.parse_common_folder_path
google.cloud.compute_v1.services.health_checks.HealthChecksClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
See more: google.cloud.compute_v1.services.health_checks.HealthChecksClient.parse_common_location_path
google.cloud.compute_v1.services.health_checks.HealthChecksClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
See more: google.cloud.compute_v1.services.health_checks.HealthChecksClient.parse_common_organization_path
google.cloud.compute_v1.services.health_checks.HealthChecksClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
See more: google.cloud.compute_v1.services.health_checks.HealthChecksClient.parse_common_project_path
google.cloud.compute_v1.services.health_checks.HealthChecksClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchHealthCheckRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
health_check: typing.Optional[str] = None,
health_check_resource: typing.Optional[
google.cloud.compute_v1.types.compute.HealthCheck
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates a HealthCheck resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.health_checks.HealthChecksClient.patch
google.cloud.compute_v1.services.health_checks.HealthChecksClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchHealthCheckRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
health_check: typing.Optional[str] = None,
health_check_resource: typing.Optional[
google.cloud.compute_v1.types.compute.HealthCheck
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates a HealthCheck resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.health_checks.HealthChecksClient.patch_unary
google.cloud.compute_v1.services.health_checks.HealthChecksClient.update
update(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateHealthCheckRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
health_check: typing.Optional[str] = None,
health_check_resource: typing.Optional[
google.cloud.compute_v1.types.compute.HealthCheck
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates a HealthCheck resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.health_checks.HealthChecksClient.update
google.cloud.compute_v1.services.health_checks.HealthChecksClient.update_unary
update_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateHealthCheckRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
health_check: typing.Optional[str] = None,
health_check_resource: typing.Optional[
google.cloud.compute_v1.types.compute.HealthCheck
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates a HealthCheck resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.health_checks.HealthChecksClient.update_unary
google.cloud.compute_v1.services.health_checks.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.HealthChecksAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListHealthChecksRequest,
response: google.cloud.compute_v1.types.compute.HealthChecksAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.health_checks.pagers.AggregatedListPager
google.cloud.compute_v1.services.health_checks.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.HealthCheckList
],
request: google.cloud.compute_v1.types.compute.ListHealthChecksRequest,
response: google.cloud.compute_v1.types.compute.HealthCheckList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.health_checks.pagers.ListPager
google.cloud.compute_v1.services.image_family_views.ImageFamilyViewsClient
ImageFamilyViewsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.image_family_views.transports.base.ImageFamilyViewsTransport, typing.Callable[[...], google.cloud.compute_v1.services.image_family_views.transports.base.ImageFamilyViewsTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the image family views client.
See more: google.cloud.compute_v1.services.image_family_views.ImageFamilyViewsClient
google.cloud.compute_v1.services.image_family_views.ImageFamilyViewsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.image_family_views.ImageFamilyViewsClient.exit
google.cloud.compute_v1.services.image_family_views.ImageFamilyViewsClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.image_family_views.ImageFamilyViewsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.image_family_views.ImageFamilyViewsClient.common_folder_path
google.cloud.compute_v1.services.image_family_views.ImageFamilyViewsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.image_family_views.ImageFamilyViewsClient.common_location_path
google.cloud.compute_v1.services.image_family_views.ImageFamilyViewsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.image_family_views.ImageFamilyViewsClient.common_organization_path
google.cloud.compute_v1.services.image_family_views.ImageFamilyViewsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.image_family_views.ImageFamilyViewsClient.common_project_path
google.cloud.compute_v1.services.image_family_views.ImageFamilyViewsClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.image_family_views.ImageFamilyViewsClient.from_service_account_file
google.cloud.compute_v1.services.image_family_views.ImageFamilyViewsClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
See more: google.cloud.compute_v1.services.image_family_views.ImageFamilyViewsClient.from_service_account_info
google.cloud.compute_v1.services.image_family_views.ImageFamilyViewsClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.image_family_views.ImageFamilyViewsClient.from_service_account_json
google.cloud.compute_v1.services.image_family_views.ImageFamilyViewsClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetImageFamilyViewRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
family: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.ImageFamilyView
Returns the latest image that is part of an image family, is not deprecated and is rolled out in the specified zone.
See more: google.cloud.compute_v1.services.image_family_views.ImageFamilyViewsClient.get
google.cloud.compute_v1.services.image_family_views.ImageFamilyViewsClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.compute_v1.services.image_family_views.ImageFamilyViewsClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.compute_v1.services.image_family_views.ImageFamilyViewsClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.compute_v1.services.image_family_views.ImageFamilyViewsClient.parse_common_folder_path
google.cloud.compute_v1.services.image_family_views.ImageFamilyViewsClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.compute_v1.services.image_family_views.ImageFamilyViewsClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.compute_v1.services.image_family_views.ImageFamilyViewsClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
See more: google.cloud.compute_v1.services.image_family_views.ImageFamilyViewsClient.parse_common_project_path
google.cloud.compute_v1.services.images.ImagesClient
ImagesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.images.transports.base.ImagesTransport, typing.Callable[[...], google.cloud.compute_v1.services.images.transports.base.ImagesTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the images client.
See more: google.cloud.compute_v1.services.images.ImagesClient
google.cloud.compute_v1.services.images.ImagesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.images.ImagesClient.exit
google.cloud.compute_v1.services.images.ImagesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.compute_v1.services.images.ImagesClient.common_billing_account_path
google.cloud.compute_v1.services.images.ImagesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.images.ImagesClient.common_folder_path
google.cloud.compute_v1.services.images.ImagesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.images.ImagesClient.common_location_path
google.cloud.compute_v1.services.images.ImagesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.images.ImagesClient.common_organization_path
google.cloud.compute_v1.services.images.ImagesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.images.ImagesClient.common_project_path
google.cloud.compute_v1.services.images.ImagesClient.delete
delete(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeleteImageRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
image: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified image.
See more: google.cloud.compute_v1.services.images.ImagesClient.delete
google.cloud.compute_v1.services.images.ImagesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeleteImageRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
image: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified image.
See more: google.cloud.compute_v1.services.images.ImagesClient.delete_unary
google.cloud.compute_v1.services.images.ImagesClient.deprecate
deprecate(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeprecateImageRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
image: typing.Optional[str] = None,
deprecation_status_resource: typing.Optional[
google.cloud.compute_v1.types.compute.DeprecationStatus
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the deprecation status of an image.
See more: google.cloud.compute_v1.services.images.ImagesClient.deprecate
google.cloud.compute_v1.services.images.ImagesClient.deprecate_unary
deprecate_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeprecateImageRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
image: typing.Optional[str] = None,
deprecation_status_resource: typing.Optional[
google.cloud.compute_v1.types.compute.DeprecationStatus
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the deprecation status of an image.
See more: google.cloud.compute_v1.services.images.ImagesClient.deprecate_unary
google.cloud.compute_v1.services.images.ImagesClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.images.ImagesClient.from_service_account_file
google.cloud.compute_v1.services.images.ImagesClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
See more: google.cloud.compute_v1.services.images.ImagesClient.from_service_account_info
google.cloud.compute_v1.services.images.ImagesClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.images.ImagesClient.from_service_account_json
google.cloud.compute_v1.services.images.ImagesClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetImageRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
image: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Image
Returns the specified image.
See more: google.cloud.compute_v1.services.images.ImagesClient.get
google.cloud.compute_v1.services.images.ImagesClient.get_from_family
get_from_family(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetFromFamilyImageRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
family: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Image
Returns the latest image that is part of an image family and is not deprecated.
See more: google.cloud.compute_v1.services.images.ImagesClient.get_from_family
google.cloud.compute_v1.services.images.ImagesClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetIamPolicyImageRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Gets the access control policy for a resource.
See more: google.cloud.compute_v1.services.images.ImagesClient.get_iam_policy
google.cloud.compute_v1.services.images.ImagesClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
See more: google.cloud.compute_v1.services.images.ImagesClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.images.ImagesClient.insert
insert(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.InsertImageRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
image_resource: typing.Optional[google.cloud.compute_v1.types.compute.Image] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates an image in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.images.ImagesClient.insert
google.cloud.compute_v1.services.images.ImagesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.InsertImageRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
image_resource: typing.Optional[google.cloud.compute_v1.types.compute.Image] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates an image in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.images.ImagesClient.insert_unary
google.cloud.compute_v1.services.images.ImagesClient.list
list(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ListImagesRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.images.pagers.ListPager
Retrieves the list of custom images available to the specified project.
See more: google.cloud.compute_v1.services.images.ImagesClient.list
google.cloud.compute_v1.services.images.ImagesClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
See more: google.cloud.compute_v1.services.images.ImagesClient.parse_common_billing_account_path
google.cloud.compute_v1.services.images.ImagesClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.compute_v1.services.images.ImagesClient.parse_common_folder_path
google.cloud.compute_v1.services.images.ImagesClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
See more: google.cloud.compute_v1.services.images.ImagesClient.parse_common_location_path
google.cloud.compute_v1.services.images.ImagesClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
See more: google.cloud.compute_v1.services.images.ImagesClient.parse_common_organization_path
google.cloud.compute_v1.services.images.ImagesClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
See more: google.cloud.compute_v1.services.images.ImagesClient.parse_common_project_path
google.cloud.compute_v1.services.images.ImagesClient.patch
patch(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.PatchImageRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
image: typing.Optional[str] = None,
image_resource: typing.Optional[google.cloud.compute_v1.types.compute.Image] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches the specified image with the data included in the request.
See more: google.cloud.compute_v1.services.images.ImagesClient.patch
google.cloud.compute_v1.services.images.ImagesClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.PatchImageRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
image: typing.Optional[str] = None,
image_resource: typing.Optional[google.cloud.compute_v1.types.compute.Image] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Patches the specified image with the data included in the request.
See more: google.cloud.compute_v1.services.images.ImagesClient.patch_unary
google.cloud.compute_v1.services.images.ImagesClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetIamPolicyImageRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
global_set_policy_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.GlobalSetPolicyRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Sets the access control policy on the specified resource.
See more: google.cloud.compute_v1.services.images.ImagesClient.set_iam_policy
google.cloud.compute_v1.services.images.ImagesClient.set_labels
set_labels(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.SetLabelsImageRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
global_set_labels_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.GlobalSetLabelsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the labels on an image.
See more: google.cloud.compute_v1.services.images.ImagesClient.set_labels
google.cloud.compute_v1.services.images.ImagesClient.set_labels_unary
set_labels_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.SetLabelsImageRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
global_set_labels_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.GlobalSetLabelsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the labels on an image.
See more: google.cloud.compute_v1.services.images.ImagesClient.set_labels_unary
google.cloud.compute_v1.services.images.ImagesClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.TestIamPermissionsImageRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
test_permissions_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TestPermissionsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
See more: google.cloud.compute_v1.services.images.ImagesClient.test_iam_permissions
google.cloud.compute_v1.services.images.pagers.ListPager
ListPager(
method: typing.Callable[[...], google.cloud.compute_v1.types.compute.ImageList],
request: google.cloud.compute_v1.types.compute.ListImagesRequest,
response: google.cloud.compute_v1.types.compute.ImageList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.images.pagers.ListPager
google.cloud.compute_v1.services.instance_group_manager_resize_requests.InstanceGroupManagerResizeRequestsClient
InstanceGroupManagerResizeRequestsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.instance_group_manager_resize_requests.transports.base.InstanceGroupManagerResizeRequestsTransport, typing.Callable[[...], google.cloud.compute_v1.services.instance_group_manager_resize_requests.transports.base.InstanceGroupManagerResizeRequestsTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the instance group manager resize requests client.
google.cloud.compute_v1.services.instance_group_manager_resize_requests.InstanceGroupManagerResizeRequestsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
google.cloud.compute_v1.services.instance_group_manager_resize_requests.InstanceGroupManagerResizeRequestsClient.cancel
cancel(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.CancelInstanceGroupManagerResizeRequestRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
resize_request: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Cancels the specified resize request and removes it from the queue.
google.cloud.compute_v1.services.instance_group_manager_resize_requests.InstanceGroupManagerResizeRequestsClient.cancel_unary
cancel_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.CancelInstanceGroupManagerResizeRequestRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
resize_request: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Cancels the specified resize request and removes it from the queue.
google.cloud.compute_v1.services.instance_group_manager_resize_requests.InstanceGroupManagerResizeRequestsClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.instance_group_manager_resize_requests.InstanceGroupManagerResizeRequestsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.instance_group_manager_resize_requests.InstanceGroupManagerResizeRequestsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.instance_group_manager_resize_requests.InstanceGroupManagerResizeRequestsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.instance_group_manager_resize_requests.InstanceGroupManagerResizeRequestsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.instance_group_manager_resize_requests.InstanceGroupManagerResizeRequestsClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteInstanceGroupManagerResizeRequestRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
resize_request: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified, inactive resize request.
google.cloud.compute_v1.services.instance_group_manager_resize_requests.InstanceGroupManagerResizeRequestsClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteInstanceGroupManagerResizeRequestRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
resize_request: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified, inactive resize request.
google.cloud.compute_v1.services.instance_group_manager_resize_requests.InstanceGroupManagerResizeRequestsClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.compute_v1.services.instance_group_manager_resize_requests.InstanceGroupManagerResizeRequestsClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.compute_v1.services.instance_group_manager_resize_requests.InstanceGroupManagerResizeRequestsClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.compute_v1.services.instance_group_manager_resize_requests.InstanceGroupManagerResizeRequestsClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetInstanceGroupManagerResizeRequestRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
resize_request: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.InstanceGroupManagerResizeRequest
Returns all of the details about the specified resize request.
google.cloud.compute_v1.services.instance_group_manager_resize_requests.InstanceGroupManagerResizeRequestsClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.compute_v1.services.instance_group_manager_resize_requests.InstanceGroupManagerResizeRequestsClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertInstanceGroupManagerResizeRequestRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_manager_resize_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagerResizeRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a new resize request that starts provisioning VMs immediately or queues VM creation.
google.cloud.compute_v1.services.instance_group_manager_resize_requests.InstanceGroupManagerResizeRequestsClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertInstanceGroupManagerResizeRequestRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_manager_resize_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagerResizeRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a new resize request that starts provisioning VMs immediately or queues VM creation.
google.cloud.compute_v1.services.instance_group_manager_resize_requests.InstanceGroupManagerResizeRequestsClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListInstanceGroupManagerResizeRequestsRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.compute_v1.services.instance_group_manager_resize_requests.pagers.ListPager
)
Retrieves a list of resize requests that are contained in the managed instance group.
google.cloud.compute_v1.services.instance_group_manager_resize_requests.InstanceGroupManagerResizeRequestsClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.compute_v1.services.instance_group_manager_resize_requests.InstanceGroupManagerResizeRequestsClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.compute_v1.services.instance_group_manager_resize_requests.InstanceGroupManagerResizeRequestsClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.compute_v1.services.instance_group_manager_resize_requests.InstanceGroupManagerResizeRequestsClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.compute_v1.services.instance_group_manager_resize_requests.InstanceGroupManagerResizeRequestsClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.compute_v1.services.instance_group_manager_resize_requests.pagers.ListPager
ListPager(
method: typing.Callable[
[...],
google.cloud.compute_v1.types.compute.InstanceGroupManagerResizeRequestsListResponse,
],
request: google.cloud.compute_v1.types.compute.ListInstanceGroupManagerResizeRequestsRequest,
response: google.cloud.compute_v1.types.compute.InstanceGroupManagerResizeRequestsListResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.instance_group_manager_resize_requests.pagers.ListPager
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient
InstanceGroupManagersClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.instance_group_managers.transports.base.InstanceGroupManagersTransport, typing.Callable[[...], google.cloud.compute_v1.services.instance_group_managers.transports.base.InstanceGroupManagersTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the instance group managers client.
See more: google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.exit
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.abandon_instances
abandon_instances(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AbandonInstancesInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_managers_abandon_instances_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagersAbandonInstancesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Flags the specified instances to be removed from the managed instance group.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.abandon_instances_unary
abandon_instances_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AbandonInstancesInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_managers_abandon_instances_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagersAbandonInstancesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Flags the specified instances to be removed from the managed instance group.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListInstanceGroupManagersRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.compute_v1.services.instance_group_managers.pagers.AggregatedListPager
)
Retrieves the list of managed instance groups and groups them by zone.
See more: google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.aggregated_list
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.apply_updates_to_instances
apply_updates_to_instances(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ApplyUpdatesToInstancesInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_managers_apply_updates_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagersApplyUpdatesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Applies changes to selected instances on the managed instance group.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.apply_updates_to_instances_unary
apply_updates_to_instances_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ApplyUpdatesToInstancesInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_managers_apply_updates_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagersApplyUpdatesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Applies changes to selected instances on the managed instance group.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.create_instances
create_instances(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.CreateInstancesInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_managers_create_instances_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagersCreateInstancesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates instances with per-instance configurations in this managed instance group.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.create_instances_unary
create_instances_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.CreateInstancesInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_managers_create_instances_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagersCreateInstancesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates instances with per-instance configurations in this managed instance group.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified managed instance group and all of the instances in that group.
See more: google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.delete
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.delete_instances
delete_instances(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteInstancesInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_managers_delete_instances_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagersDeleteInstancesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Flags the specified instances in the managed instance group for immediate deletion.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.delete_instances_unary
delete_instances_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteInstancesInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_managers_delete_instances_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagersDeleteInstancesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Flags the specified instances in the managed instance group for immediate deletion.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.delete_per_instance_configs
delete_per_instance_configs(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeletePerInstanceConfigsInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_managers_delete_per_instance_configs_req_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagersDeletePerInstanceConfigsReq
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes selected per-instance configurations for the managed instance group.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.delete_per_instance_configs_unary
delete_per_instance_configs_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeletePerInstanceConfigsInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_managers_delete_per_instance_configs_req_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagersDeletePerInstanceConfigsReq
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes selected per-instance configurations for the managed instance group.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified managed instance group and all of the instances in that group.
See more: google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.delete_unary
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetInstanceGroupManagerRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.InstanceGroupManager
Returns all of the details about the specified managed instance group.
See more: google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.get
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManager
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a managed instance group using the information that you specify in the request.
See more: google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.insert
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManager
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a managed instance group using the information that you specify in the request.
See more: google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.insert_unary
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListInstanceGroupManagersRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.instance_group_managers.pagers.ListPager
Retrieves a list of managed instance groups that are contained within the specified project and zone.
See more: google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.list
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.list_errors
list_errors(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListErrorsInstanceGroupManagersRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.instance_group_managers.pagers.ListErrorsPager
Lists all errors thrown by actions on instances for a given managed instance group.
See more: google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.list_errors
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.list_managed_instances
list_managed_instances(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListManagedInstancesInstanceGroupManagersRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.compute_v1.services.instance_group_managers.pagers.ListManagedInstancesPager
)
Lists all of the instances in the managed instance group.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.list_per_instance_configs
list_per_instance_configs(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListPerInstanceConfigsInstanceGroupManagersRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.compute_v1.services.instance_group_managers.pagers.ListPerInstanceConfigsPager
)
Lists all of the per-instance configurations defined for the managed instance group.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchInstanceGroupManagerRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_manager_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManager
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates a managed instance group using the information that you specify in the request.
See more: google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.patch
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.patch_per_instance_configs
patch_per_instance_configs(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchPerInstanceConfigsInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_managers_patch_per_instance_configs_req_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagersPatchPerInstanceConfigsReq
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Inserts or patches per-instance configurations for the managed instance group.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.patch_per_instance_configs_unary
patch_per_instance_configs_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchPerInstanceConfigsInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_managers_patch_per_instance_configs_req_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagersPatchPerInstanceConfigsReq
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Inserts or patches per-instance configurations for the managed instance group.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchInstanceGroupManagerRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_manager_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManager
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates a managed instance group using the information that you specify in the request.
See more: google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.patch_unary
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.recreate_instances
recreate_instances(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RecreateInstancesInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_managers_recreate_instances_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagersRecreateInstancesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Flags the specified VM instances in the managed instance group to be immediately recreated.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.recreate_instances_unary
recreate_instances_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RecreateInstancesInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_managers_recreate_instances_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagersRecreateInstancesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Flags the specified VM instances in the managed instance group to be immediately recreated.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.resize
resize(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ResizeInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
size: typing.Optional[int] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Resizes the managed instance group.
See more: google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.resize
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.resize_unary
resize_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ResizeInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
size: typing.Optional[int] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Resizes the managed instance group.
See more: google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.resize_unary
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.resume_instances
resume_instances(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ResumeInstancesInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_managers_resume_instances_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagersResumeInstancesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Flags the specified instances in the managed instance group to be resumed.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.resume_instances_unary
resume_instances_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ResumeInstancesInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_managers_resume_instances_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagersResumeInstancesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Flags the specified instances in the managed instance group to be resumed.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.set_instance_template
set_instance_template(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetInstanceTemplateInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_managers_set_instance_template_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagersSetInstanceTemplateRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Specifies the instance template to use when creating new instances in this group.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.set_instance_template_unary
set_instance_template_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetInstanceTemplateInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_managers_set_instance_template_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagersSetInstanceTemplateRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Specifies the instance template to use when creating new instances in this group.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.set_target_pools
set_target_pools(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetTargetPoolsInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_managers_set_target_pools_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagersSetTargetPoolsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Modifies the target pools to which all instances in this managed instance group are assigned.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.set_target_pools_unary
set_target_pools_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetTargetPoolsInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_managers_set_target_pools_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagersSetTargetPoolsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Modifies the target pools to which all instances in this managed instance group are assigned.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.start_instances
start_instances(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.StartInstancesInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_managers_start_instances_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagersStartInstancesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Flags the specified instances in the managed instance group to be started.
See more: google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.start_instances
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.start_instances_unary
start_instances_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.StartInstancesInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_managers_start_instances_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagersStartInstancesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Flags the specified instances in the managed instance group to be started.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.stop_instances
stop_instances(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.StopInstancesInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_managers_stop_instances_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagersStopInstancesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Flags the specified instances in the managed instance group to be immediately stopped.
See more: google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.stop_instances
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.stop_instances_unary
stop_instances_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.StopInstancesInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_managers_stop_instances_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagersStopInstancesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Flags the specified instances in the managed instance group to be immediately stopped.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.suspend_instances
suspend_instances(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SuspendInstancesInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_managers_suspend_instances_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagersSuspendInstancesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Flags the specified instances in the managed instance group to be immediately suspended.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.suspend_instances_unary
suspend_instances_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SuspendInstancesInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_managers_suspend_instances_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagersSuspendInstancesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Flags the specified instances in the managed instance group to be immediately suspended.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.update_per_instance_configs
update_per_instance_configs(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdatePerInstanceConfigsInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_managers_update_per_instance_configs_req_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagersUpdatePerInstanceConfigsReq
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Inserts or updates per-instance configurations for the managed instance group.
google.cloud.compute_v1.services.instance_group_managers.InstanceGroupManagersClient.update_per_instance_configs_unary
update_per_instance_configs_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdatePerInstanceConfigsInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
instance_group_managers_update_per_instance_configs_req_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupManagersUpdatePerInstanceConfigsReq
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Inserts or updates per-instance configurations for the managed instance group.
google.cloud.compute_v1.services.instance_group_managers.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.InstanceGroupManagerAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListInstanceGroupManagersRequest,
response: google.cloud.compute_v1.types.compute.InstanceGroupManagerAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.instance_group_managers.pagers.AggregatedListPager
google.cloud.compute_v1.services.instance_group_managers.pagers.ListErrorsPager
ListErrorsPager(
method: typing.Callable[
[...],
google.cloud.compute_v1.types.compute.InstanceGroupManagersListErrorsResponse,
],
request: google.cloud.compute_v1.types.compute.ListErrorsInstanceGroupManagersRequest,
response: google.cloud.compute_v1.types.compute.InstanceGroupManagersListErrorsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.instance_group_managers.pagers.ListErrorsPager
google.cloud.compute_v1.services.instance_group_managers.pagers.ListManagedInstancesPager
ListManagedInstancesPager(
method: typing.Callable[
[...],
google.cloud.compute_v1.types.compute.InstanceGroupManagersListManagedInstancesResponse,
],
request: google.cloud.compute_v1.types.compute.ListManagedInstancesInstanceGroupManagersRequest,
response: google.cloud.compute_v1.types.compute.InstanceGroupManagersListManagedInstancesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.instance_group_managers.pagers.ListManagedInstancesPager
google.cloud.compute_v1.services.instance_group_managers.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.InstanceGroupManagerList
],
request: google.cloud.compute_v1.types.compute.ListInstanceGroupManagersRequest,
response: google.cloud.compute_v1.types.compute.InstanceGroupManagerList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.instance_group_managers.pagers.ListPager
google.cloud.compute_v1.services.instance_group_managers.pagers.ListPerInstanceConfigsPager
ListPerInstanceConfigsPager(
method: typing.Callable[
[...],
google.cloud.compute_v1.types.compute.InstanceGroupManagersListPerInstanceConfigsResp,
],
request: google.cloud.compute_v1.types.compute.ListPerInstanceConfigsInstanceGroupManagersRequest,
response: google.cloud.compute_v1.types.compute.InstanceGroupManagersListPerInstanceConfigsResp,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.instance_group_managers.pagers.ListPerInstanceConfigsPager
google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient
InstanceGroupsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.instance_groups.transports.base.InstanceGroupsTransport, typing.Callable[[...], google.cloud.compute_v1.services.instance_groups.transports.base.InstanceGroupsTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the instance groups client.
See more: google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient
google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.exit
google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.add_instances
add_instances(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddInstancesInstanceGroupRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group: typing.Optional[str] = None,
instance_groups_add_instances_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupsAddInstancesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Adds a list of instances to the specified instance group.
See more: google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.add_instances
google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.add_instances_unary
add_instances_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddInstancesInstanceGroupRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group: typing.Optional[str] = None,
instance_groups_add_instances_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupsAddInstancesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Adds a list of instances to the specified instance group.
See more: google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.add_instances_unary
google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListInstanceGroupsRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.services.instance_groups.pagers.AggregatedListPager
Retrieves the list of instance groups and sorts them by zone.
See more: google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.aggregated_list
google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.common_billing_account_path
google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.common_folder_path
google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.common_location_path
google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.common_organization_path
google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.common_project_path
google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteInstanceGroupRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified instance group.
See more: google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.delete
google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteInstanceGroupRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified instance group.
See more: google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.delete_unary
google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.from_service_account_file
google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
See more: google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.from_service_account_info
google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.from_service_account_json
google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetInstanceGroupRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry