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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
)
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, str]] = ()
)
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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
)
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, str]] = ()
)
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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
)
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, str]] = ()
)
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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
)
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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> google.cloud.compute_v1.services.backend_services.pagers.ListUsablePager
Retrieves an aggregated 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
)
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, str]] = ()
)
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, str]] = ()
)
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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
)
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, str]] = ()
)
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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
)
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, str]] = ()
)
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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
)
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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
)
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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
)
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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
)
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, str]] = ()
)
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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
)
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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
)
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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> (
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, str]] = ()
)
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, str]] = ()
)
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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
)
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, str]] = ()
)
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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
)
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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
)
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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
)
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, str]] = ()
)
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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
)
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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> (
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, str]] = ()
)
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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> (
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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> (
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, str]] = ()
) -> (
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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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.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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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.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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
)
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, str]] = ()
)
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, str]] = ()
)
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, str]] = ()
)
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, str]] = ()
)
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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.InstanceGroup
Returns the specified zonal instance group.
See more: google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.get
google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.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_groups.InstanceGroupsClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertInstanceGroupRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroup
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates an instance group in the specified project using the parameters that are included in the request.
See more: google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.insert
google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertInstanceGroupRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroup
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates an instance group in the specified project using the parameters that are included in the request.
See more: google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.insert_unary
google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListInstanceGroupsRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.instance_groups.pagers.ListPager
Retrieves the list of zonal instance group resources contained within the specified zone.
See more: google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.list
google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.list_instances
list_instances(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListInstancesInstanceGroupsRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group: typing.Optional[str] = None,
instance_groups_list_instances_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupsListInstancesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.services.instance_groups.pagers.ListInstancesPager
Lists the instances in the specified instance group.
See more: google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.list_instances
google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.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_groups.InstanceGroupsClient.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.instance_groups.InstanceGroupsClient.parse_common_folder_path
google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.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.instance_groups.InstanceGroupsClient.parse_common_location_path
google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.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.instance_groups.InstanceGroupsClient.parse_common_organization_path
google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.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.instance_groups.InstanceGroupsClient.parse_common_project_path
google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.remove_instances
remove_instances(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemoveInstancesInstanceGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group: typing.Optional[str] = None,
instance_groups_remove_instances_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupsRemoveInstancesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Removes one or more instances from the specified instance group, but does not delete those instances.
See more: google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.remove_instances
google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.remove_instances_unary
remove_instances_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemoveInstancesInstanceGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group: typing.Optional[str] = None,
instance_groups_remove_instances_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupsRemoveInstancesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Removes one or more instances from the specified instance group, but does not delete those instances.
See more: google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.remove_instances_unary
google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.set_named_ports
set_named_ports(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetNamedPortsInstanceGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group: typing.Optional[str] = None,
instance_groups_set_named_ports_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupsSetNamedPortsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the named ports for the specified instance group.
See more: google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.set_named_ports
google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.set_named_ports_unary
set_named_ports_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetNamedPortsInstanceGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_group: typing.Optional[str] = None,
instance_groups_set_named_ports_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceGroupsSetNamedPortsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the named ports for the specified instance group.
See more: google.cloud.compute_v1.services.instance_groups.InstanceGroupsClient.set_named_ports_unary
google.cloud.compute_v1.services.instance_groups.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.InstanceGroupAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListInstanceGroupsRequest,
response: google.cloud.compute_v1.types.compute.InstanceGroupAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.instance_groups.pagers.AggregatedListPager
google.cloud.compute_v1.services.instance_groups.pagers.ListInstancesPager
ListInstancesPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.InstanceGroupsListInstances
],
request: google.cloud.compute_v1.types.compute.ListInstancesInstanceGroupsRequest,
response: google.cloud.compute_v1.types.compute.InstanceGroupsListInstances,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.instance_groups.pagers.ListInstancesPager
google.cloud.compute_v1.services.instance_groups.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.InstanceGroupList
],
request: google.cloud.compute_v1.types.compute.ListInstanceGroupsRequest,
response: google.cloud.compute_v1.types.compute.InstanceGroupList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.instance_groups.pagers.ListPager
google.cloud.compute_v1.services.instance_settings_service.InstanceSettingsServiceClient
InstanceSettingsServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.instance_settings_service.transports.base.InstanceSettingsServiceTransport, typing.Callable[[...], google.cloud.compute_v1.services.instance_settings_service.transports.base.InstanceSettingsServiceTransport]]] = 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 settings service client.
See more: google.cloud.compute_v1.services.instance_settings_service.InstanceSettingsServiceClient
google.cloud.compute_v1.services.instance_settings_service.InstanceSettingsServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.instance_settings_service.InstanceSettingsServiceClient.exit
google.cloud.compute_v1.services.instance_settings_service.InstanceSettingsServiceClient.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_settings_service.InstanceSettingsServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.instance_settings_service.InstanceSettingsServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.instance_settings_service.InstanceSettingsServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.instance_settings_service.InstanceSettingsServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.instance_settings_service.InstanceSettingsServiceClient.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_settings_service.InstanceSettingsServiceClient.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_settings_service.InstanceSettingsServiceClient.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_settings_service.InstanceSettingsServiceClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetInstanceSettingRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.InstanceSettings
Get Instance settings.
See more: google.cloud.compute_v1.services.instance_settings_service.InstanceSettingsServiceClient.get
google.cloud.compute_v1.services.instance_settings_service.InstanceSettingsServiceClient.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_settings_service.InstanceSettingsServiceClient.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_settings_service.InstanceSettingsServiceClient.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_settings_service.InstanceSettingsServiceClient.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_settings_service.InstanceSettingsServiceClient.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_settings_service.InstanceSettingsServiceClient.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_settings_service.InstanceSettingsServiceClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchInstanceSettingRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_settings_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceSettings
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patch Instance settings.
See more: google.cloud.compute_v1.services.instance_settings_service.InstanceSettingsServiceClient.patch
google.cloud.compute_v1.services.instance_settings_service.InstanceSettingsServiceClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchInstanceSettingRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_settings_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceSettings
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Patch Instance settings.
See more: google.cloud.compute_v1.services.instance_settings_service.InstanceSettingsServiceClient.patch_unary
google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient
InstanceTemplatesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.instance_templates.transports.base.InstanceTemplatesTransport, typing.Callable[[...], google.cloud.compute_v1.services.instance_templates.transports.base.InstanceTemplatesTransport]]] = 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 templates client.
See more: google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient
google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.exit
google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListInstanceTemplatesRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.instance_templates.pagers.AggregatedListPager
Retrieves the list of all InstanceTemplates resources, regional and global, available to the specified project.
See more: google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.aggregated_list
google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.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_templates.InstanceTemplatesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.common_folder_path
google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.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_templates.InstanceTemplatesClient.common_location_path
google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.common_organization_path
google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.common_project_path
google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteInstanceTemplateRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
instance_template: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified instance template.
See more: google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.delete
google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteInstanceTemplateRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
instance_template: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified instance template.
See more: google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.delete_unary
google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.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_templates.InstanceTemplatesClient.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_templates.InstanceTemplatesClient.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_templates.InstanceTemplatesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetInstanceTemplateRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
instance_template: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.InstanceTemplate
Returns the specified instance template.
See more: google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.get
google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetIamPolicyInstanceTemplateRequest,
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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Gets the access control policy for a resource.
See more: google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.get_iam_policy
google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.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_templates.InstanceTemplatesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertInstanceTemplateRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
instance_template_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceTemplate
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates an instance template in the specified project using the data that is included in the request.
See more: google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.insert
google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertInstanceTemplateRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
instance_template_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceTemplate
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates an instance template in the specified project using the data that is included in the request.
See more: google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.insert_unary
google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListInstanceTemplatesRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.instance_templates.pagers.ListPager
Retrieves a list of instance templates that are contained within the specified project.
See more: google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.list
google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.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_templates.InstanceTemplatesClient.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.instance_templates.InstanceTemplatesClient.parse_common_folder_path
google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.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_templates.InstanceTemplatesClient.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_templates.InstanceTemplatesClient.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_templates.InstanceTemplatesClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetIamPolicyInstanceTemplateRequest,
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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Sets the access control policy on the specified resource.
See more: google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.set_iam_policy
google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.TestIamPermissionsInstanceTemplateRequest,
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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
See more: google.cloud.compute_v1.services.instance_templates.InstanceTemplatesClient.test_iam_permissions
google.cloud.compute_v1.services.instance_templates.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.InstanceTemplateAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListInstanceTemplatesRequest,
response: google.cloud.compute_v1.types.compute.InstanceTemplateAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.instance_templates.pagers.AggregatedListPager
google.cloud.compute_v1.services.instance_templates.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.InstanceTemplateList
],
request: google.cloud.compute_v1.types.compute.ListInstanceTemplatesRequest,
response: google.cloud.compute_v1.types.compute.InstanceTemplateList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.instance_templates.pagers.ListPager
google.cloud.compute_v1.services.instances.InstancesClient
InstancesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.instances.transports.base.InstancesTransport, typing.Callable[[...], google.cloud.compute_v1.services.instances.transports.base.InstancesTransport]]] = 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 instances client.
See more: google.cloud.compute_v1.services.instances.InstancesClient
google.cloud.compute_v1.services.instances.InstancesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.instances.InstancesClient.exit
google.cloud.compute_v1.services.instances.InstancesClient.add_access_config
add_access_config(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddAccessConfigInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
network_interface: typing.Optional[str] = None,
access_config_resource: typing.Optional[
google.cloud.compute_v1.types.compute.AccessConfig
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Adds an access config to an instance's network interface.
See more: google.cloud.compute_v1.services.instances.InstancesClient.add_access_config
google.cloud.compute_v1.services.instances.InstancesClient.add_access_config_unary
add_access_config_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddAccessConfigInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
network_interface: typing.Optional[str] = None,
access_config_resource: typing.Optional[
google.cloud.compute_v1.types.compute.AccessConfig
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Adds an access config to an instance's network interface.
See more: google.cloud.compute_v1.services.instances.InstancesClient.add_access_config_unary
google.cloud.compute_v1.services.instances.InstancesClient.add_resource_policies
add_resource_policies(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddResourcePoliciesInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
instances_add_resource_policies_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstancesAddResourcePoliciesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Adds existing resource policies to an instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.add_resource_policies
google.cloud.compute_v1.services.instances.InstancesClient.add_resource_policies_unary
add_resource_policies_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddResourcePoliciesInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
instances_add_resource_policies_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstancesAddResourcePoliciesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Adds existing resource policies to an instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.add_resource_policies_unary
google.cloud.compute_v1.services.instances.InstancesClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListInstancesRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.instances.pagers.AggregatedListPager
Retrieves an aggregated list of all of the instances in your project across all regions and zones.
See more: google.cloud.compute_v1.services.instances.InstancesClient.aggregated_list
google.cloud.compute_v1.services.instances.InstancesClient.attach_disk
attach_disk(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AttachDiskInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
attached_disk_resource: typing.Optional[
google.cloud.compute_v1.types.compute.AttachedDisk
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Attaches an existing Disk resource to an instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.attach_disk
google.cloud.compute_v1.services.instances.InstancesClient.attach_disk_unary
attach_disk_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AttachDiskInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
attached_disk_resource: typing.Optional[
google.cloud.compute_v1.types.compute.AttachedDisk
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Attaches an existing Disk resource to an instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.attach_disk_unary
google.cloud.compute_v1.services.instances.InstancesClient.bulk_insert
bulk_insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.BulkInsertInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
bulk_insert_instance_resource_resource: typing.Optional[
google.cloud.compute_v1.types.compute.BulkInsertInstanceResource
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates multiple instances.
See more: google.cloud.compute_v1.services.instances.InstancesClient.bulk_insert
google.cloud.compute_v1.services.instances.InstancesClient.bulk_insert_unary
bulk_insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.BulkInsertInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
bulk_insert_instance_resource_resource: typing.Optional[
google.cloud.compute_v1.types.compute.BulkInsertInstanceResource
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates multiple instances.
See more: google.cloud.compute_v1.services.instances.InstancesClient.bulk_insert_unary
google.cloud.compute_v1.services.instances.InstancesClient.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.instances.InstancesClient.common_billing_account_path
google.cloud.compute_v1.services.instances.InstancesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.instances.InstancesClient.common_folder_path
google.cloud.compute_v1.services.instances.InstancesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.instances.InstancesClient.common_location_path
google.cloud.compute_v1.services.instances.InstancesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.instances.InstancesClient.common_organization_path
google.cloud.compute_v1.services.instances.InstancesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.instances.InstancesClient.common_project_path
google.cloud.compute_v1.services.instances.InstancesClient.delete
delete(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeleteInstanceRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified Instance resource.
See more: google.cloud.compute_v1.services.instances.InstancesClient.delete
google.cloud.compute_v1.services.instances.InstancesClient.delete_access_config
delete_access_config(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteAccessConfigInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
access_config: typing.Optional[str] = None,
network_interface: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes an access config from an instance's network interface.
See more: google.cloud.compute_v1.services.instances.InstancesClient.delete_access_config
google.cloud.compute_v1.services.instances.InstancesClient.delete_access_config_unary
delete_access_config_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteAccessConfigInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
access_config: typing.Optional[str] = None,
network_interface: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes an access config from an instance's network interface.
See more: google.cloud.compute_v1.services.instances.InstancesClient.delete_access_config_unary
google.cloud.compute_v1.services.instances.InstancesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeleteInstanceRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified Instance resource.
See more: google.cloud.compute_v1.services.instances.InstancesClient.delete_unary
google.cloud.compute_v1.services.instances.InstancesClient.detach_disk
detach_disk(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DetachDiskInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
device_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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Detaches a disk from an instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.detach_disk
google.cloud.compute_v1.services.instances.InstancesClient.detach_disk_unary
detach_disk_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DetachDiskInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
device_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Detaches a disk from an instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.detach_disk_unary
google.cloud.compute_v1.services.instances.InstancesClient.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.instances.InstancesClient.from_service_account_file
google.cloud.compute_v1.services.instances.InstancesClient.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.instances.InstancesClient.from_service_account_info
google.cloud.compute_v1.services.instances.InstancesClient.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.instances.InstancesClient.from_service_account_json
google.cloud.compute_v1.services.instances.InstancesClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetInstanceRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Instance
Returns the specified Instance resource.
See more: google.cloud.compute_v1.services.instances.InstancesClient.get
google.cloud.compute_v1.services.instances.InstancesClient.get_effective_firewalls
get_effective_firewalls(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetEffectiveFirewallsInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
network_interface: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.InstancesGetEffectiveFirewallsResponse
Returns effective firewalls applied to an interface of the instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.get_effective_firewalls
google.cloud.compute_v1.services.instances.InstancesClient.get_guest_attributes
get_guest_attributes(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetGuestAttributesInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.GuestAttributes
Returns the specified guest attributes entry.
See more: google.cloud.compute_v1.services.instances.InstancesClient.get_guest_attributes
google.cloud.compute_v1.services.instances.InstancesClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetIamPolicyInstanceRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Gets the access control policy for a resource.
See more: google.cloud.compute_v1.services.instances.InstancesClient.get_iam_policy
google.cloud.compute_v1.services.instances.InstancesClient.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.instances.InstancesClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.instances.InstancesClient.get_screenshot
get_screenshot(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetScreenshotInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Screenshot
Returns the screenshot from the specified instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.get_screenshot
google.cloud.compute_v1.services.instances.InstancesClient.get_serial_port_output
get_serial_port_output(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetSerialPortOutputInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.SerialPortOutput
Returns the last 1 MB of serial port output from the specified instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.get_serial_port_output
google.cloud.compute_v1.services.instances.InstancesClient.get_shielded_instance_identity
get_shielded_instance_identity(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetShieldedInstanceIdentityInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.ShieldedInstanceIdentity
Returns the Shielded Instance Identity of an instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.get_shielded_instance_identity
google.cloud.compute_v1.services.instances.InstancesClient.insert
insert(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.InsertInstanceRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Instance
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates an instance resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.instances.InstancesClient.insert
google.cloud.compute_v1.services.instances.InstancesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.InsertInstanceRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Instance
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates an instance resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.instances.InstancesClient.insert_unary
google.cloud.compute_v1.services.instances.InstancesClient.list
list(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ListInstancesRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.instances.pagers.ListPager
Retrieves the list of instances contained within the specified zone.
See more: google.cloud.compute_v1.services.instances.InstancesClient.list
google.cloud.compute_v1.services.instances.InstancesClient.list_referrers
list_referrers(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListReferrersInstancesRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: 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, str]] = ()
) -> google.cloud.compute_v1.services.instances.pagers.ListReferrersPager
Retrieves a list of resources that refer to the VM instance specified in the request.
See more: google.cloud.compute_v1.services.instances.InstancesClient.list_referrers
google.cloud.compute_v1.services.instances.InstancesClient.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.instances.InstancesClient.parse_common_billing_account_path
google.cloud.compute_v1.services.instances.InstancesClient.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.instances.InstancesClient.parse_common_folder_path
google.cloud.compute_v1.services.instances.InstancesClient.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.instances.InstancesClient.parse_common_location_path
google.cloud.compute_v1.services.instances.InstancesClient.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.instances.InstancesClient.parse_common_organization_path
google.cloud.compute_v1.services.instances.InstancesClient.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.instances.InstancesClient.parse_common_project_path
google.cloud.compute_v1.services.instances.InstancesClient.perform_maintenance
perform_maintenance(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PerformMaintenanceInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Perform a manual maintenance on the instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.perform_maintenance
google.cloud.compute_v1.services.instances.InstancesClient.perform_maintenance_unary
perform_maintenance_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PerformMaintenanceInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Perform a manual maintenance on the instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.perform_maintenance_unary
google.cloud.compute_v1.services.instances.InstancesClient.remove_resource_policies
remove_resource_policies(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemoveResourcePoliciesInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
instances_remove_resource_policies_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstancesRemoveResourcePoliciesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Removes resource policies from an instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.remove_resource_policies
google.cloud.compute_v1.services.instances.InstancesClient.remove_resource_policies_unary
remove_resource_policies_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemoveResourcePoliciesInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
instances_remove_resource_policies_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstancesRemoveResourcePoliciesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Removes resource policies from an instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.remove_resource_policies_unary
google.cloud.compute_v1.services.instances.InstancesClient.reset
reset(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ResetInstanceRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Performs a reset on the instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.reset
google.cloud.compute_v1.services.instances.InstancesClient.reset_unary
reset_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ResetInstanceRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Performs a reset on the instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.reset_unary
google.cloud.compute_v1.services.instances.InstancesClient.resume
resume(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ResumeInstanceRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Resumes an instance that was suspended using the instances().suspend method.
See more: google.cloud.compute_v1.services.instances.InstancesClient.resume
google.cloud.compute_v1.services.instances.InstancesClient.resume_unary
resume_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ResumeInstanceRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Resumes an instance that was suspended using the instances().suspend method.
See more: google.cloud.compute_v1.services.instances.InstancesClient.resume_unary
google.cloud.compute_v1.services.instances.InstancesClient.send_diagnostic_interrupt
send_diagnostic_interrupt(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SendDiagnosticInterruptInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.SendDiagnosticInterruptInstanceResponse
Sends diagnostic interrupt to the instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.send_diagnostic_interrupt
google.cloud.compute_v1.services.instances.InstancesClient.set_deletion_protection
set_deletion_protection(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetDeletionProtectionInstanceRequest,
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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets deletion protection on the instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.set_deletion_protection
google.cloud.compute_v1.services.instances.InstancesClient.set_deletion_protection_unary
set_deletion_protection_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetDeletionProtectionInstanceRequest,
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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets deletion protection on the instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.set_deletion_protection_unary
google.cloud.compute_v1.services.instances.InstancesClient.set_disk_auto_delete
set_disk_auto_delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetDiskAutoDeleteInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
auto_delete: typing.Optional[bool] = None,
device_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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the auto-delete flag for a disk attached to an instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.set_disk_auto_delete
google.cloud.compute_v1.services.instances.InstancesClient.set_disk_auto_delete_unary
set_disk_auto_delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetDiskAutoDeleteInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
auto_delete: typing.Optional[bool] = None,
device_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the auto-delete flag for a disk attached to an instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.set_disk_auto_delete_unary
google.cloud.compute_v1.services.instances.InstancesClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetIamPolicyInstanceRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Sets the access control policy on the specified resource.
See more: google.cloud.compute_v1.services.instances.InstancesClient.set_iam_policy
google.cloud.compute_v1.services.instances.InstancesClient.set_labels
set_labels(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
instances_set_labels_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstancesSetLabelsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets labels on an instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.set_labels
google.cloud.compute_v1.services.instances.InstancesClient.set_labels_unary
set_labels_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
instances_set_labels_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstancesSetLabelsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets labels on an instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.set_labels_unary
google.cloud.compute_v1.services.instances.InstancesClient.set_machine_resources
set_machine_resources(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetMachineResourcesInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
instances_set_machine_resources_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstancesSetMachineResourcesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Changes the number and/or type of accelerator for a stopped instance to the values specified in the request.
See more: google.cloud.compute_v1.services.instances.InstancesClient.set_machine_resources
google.cloud.compute_v1.services.instances.InstancesClient.set_machine_resources_unary
set_machine_resources_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetMachineResourcesInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
instances_set_machine_resources_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstancesSetMachineResourcesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Changes the number and/or type of accelerator for a stopped instance to the values specified in the request.
See more: google.cloud.compute_v1.services.instances.InstancesClient.set_machine_resources_unary
google.cloud.compute_v1.services.instances.InstancesClient.set_machine_type
set_machine_type(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetMachineTypeInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
instances_set_machine_type_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstancesSetMachineTypeRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Changes the machine type for a stopped instance to the machine type specified in the request.
See more: google.cloud.compute_v1.services.instances.InstancesClient.set_machine_type
google.cloud.compute_v1.services.instances.InstancesClient.set_machine_type_unary
set_machine_type_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetMachineTypeInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
instances_set_machine_type_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstancesSetMachineTypeRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Changes the machine type for a stopped instance to the machine type specified in the request.
See more: google.cloud.compute_v1.services.instances.InstancesClient.set_machine_type_unary
google.cloud.compute_v1.services.instances.InstancesClient.set_metadata
set_metadata(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetMetadataInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
metadata_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Metadata
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets metadata for the specified instance to the data included in the request.
See more: google.cloud.compute_v1.services.instances.InstancesClient.set_metadata
google.cloud.compute_v1.services.instances.InstancesClient.set_metadata_unary
set_metadata_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetMetadataInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
metadata_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Metadata
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets metadata for the specified instance to the data included in the request.
See more: google.cloud.compute_v1.services.instances.InstancesClient.set_metadata_unary
google.cloud.compute_v1.services.instances.InstancesClient.set_min_cpu_platform
set_min_cpu_platform(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetMinCpuPlatformInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
instances_set_min_cpu_platform_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstancesSetMinCpuPlatformRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Changes the minimum CPU platform that this instance should use.
See more: google.cloud.compute_v1.services.instances.InstancesClient.set_min_cpu_platform
google.cloud.compute_v1.services.instances.InstancesClient.set_min_cpu_platform_unary
set_min_cpu_platform_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetMinCpuPlatformInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
instances_set_min_cpu_platform_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstancesSetMinCpuPlatformRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Changes the minimum CPU platform that this instance should use.
See more: google.cloud.compute_v1.services.instances.InstancesClient.set_min_cpu_platform_unary
google.cloud.compute_v1.services.instances.InstancesClient.set_name
set_name(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.SetNameInstanceRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
instances_set_name_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstancesSetNameRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets name of an instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.set_name
google.cloud.compute_v1.services.instances.InstancesClient.set_name_unary
set_name_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.SetNameInstanceRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
instances_set_name_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstancesSetNameRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets name of an instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.set_name_unary
google.cloud.compute_v1.services.instances.InstancesClient.set_scheduling
set_scheduling(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetSchedulingInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
scheduling_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Scheduling
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets an instance's scheduling options.
See more: google.cloud.compute_v1.services.instances.InstancesClient.set_scheduling
google.cloud.compute_v1.services.instances.InstancesClient.set_scheduling_unary
set_scheduling_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetSchedulingInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
scheduling_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Scheduling
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets an instance's scheduling options.
See more: google.cloud.compute_v1.services.instances.InstancesClient.set_scheduling_unary
google.cloud.compute_v1.services.instances.InstancesClient.set_security_policy
set_security_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetSecurityPolicyInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
instances_set_security_policy_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstancesSetSecurityPolicyRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the Google Cloud Armor security policy for the specified instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.set_security_policy
google.cloud.compute_v1.services.instances.InstancesClient.set_security_policy_unary
set_security_policy_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetSecurityPolicyInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
instances_set_security_policy_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstancesSetSecurityPolicyRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the Google Cloud Armor security policy for the specified instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.set_security_policy_unary
google.cloud.compute_v1.services.instances.InstancesClient.set_service_account
set_service_account(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetServiceAccountInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
instances_set_service_account_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstancesSetServiceAccountRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the service account on the instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.set_service_account
google.cloud.compute_v1.services.instances.InstancesClient.set_service_account_unary
set_service_account_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetServiceAccountInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
instances_set_service_account_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstancesSetServiceAccountRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the service account on the instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.set_service_account_unary
google.cloud.compute_v1.services.instances.InstancesClient.set_shielded_instance_integrity_policy
set_shielded_instance_integrity_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetShieldedInstanceIntegrityPolicyInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
shielded_instance_integrity_policy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ShieldedInstanceIntegrityPolicy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the Shielded Instance integrity policy for an instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.set_shielded_instance_integrity_policy
google.cloud.compute_v1.services.instances.InstancesClient.set_shielded_instance_integrity_policy_unary
set_shielded_instance_integrity_policy_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetShieldedInstanceIntegrityPolicyInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
shielded_instance_integrity_policy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ShieldedInstanceIntegrityPolicy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the Shielded Instance integrity policy for an instance.
google.cloud.compute_v1.services.instances.InstancesClient.set_tags
set_tags(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.SetTagsInstanceRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
tags_resource: typing.Optional[google.cloud.compute_v1.types.compute.Tags] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets network tags for the specified instance to the data included in the request.
See more: google.cloud.compute_v1.services.instances.InstancesClient.set_tags
google.cloud.compute_v1.services.instances.InstancesClient.set_tags_unary
set_tags_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.SetTagsInstanceRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
tags_resource: typing.Optional[google.cloud.compute_v1.types.compute.Tags] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets network tags for the specified instance to the data included in the request.
See more: google.cloud.compute_v1.services.instances.InstancesClient.set_tags_unary
google.cloud.compute_v1.services.instances.InstancesClient.simulate_maintenance_event
simulate_maintenance_event(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SimulateMaintenanceEventInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Simulates a host maintenance event on a VM.
See more: google.cloud.compute_v1.services.instances.InstancesClient.simulate_maintenance_event
google.cloud.compute_v1.services.instances.InstancesClient.simulate_maintenance_event_unary
simulate_maintenance_event_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SimulateMaintenanceEventInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Simulates a host maintenance event on a VM.
See more: google.cloud.compute_v1.services.instances.InstancesClient.simulate_maintenance_event_unary
google.cloud.compute_v1.services.instances.InstancesClient.start
start(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.StartInstanceRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Starts an instance that was stopped using the instances().stop method.
See more: google.cloud.compute_v1.services.instances.InstancesClient.start
google.cloud.compute_v1.services.instances.InstancesClient.start_unary
start_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.StartInstanceRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Starts an instance that was stopped using the instances().stop method.
See more: google.cloud.compute_v1.services.instances.InstancesClient.start_unary
google.cloud.compute_v1.services.instances.InstancesClient.start_with_encryption_key
start_with_encryption_key(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.StartWithEncryptionKeyInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
instances_start_with_encryption_key_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstancesStartWithEncryptionKeyRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Starts an instance that was stopped using the instances().stop method.
See more: google.cloud.compute_v1.services.instances.InstancesClient.start_with_encryption_key
google.cloud.compute_v1.services.instances.InstancesClient.start_with_encryption_key_unary
start_with_encryption_key_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.StartWithEncryptionKeyInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
instances_start_with_encryption_key_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstancesStartWithEncryptionKeyRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Starts an instance that was stopped using the instances().stop method.
See more: google.cloud.compute_v1.services.instances.InstancesClient.start_with_encryption_key_unary
google.cloud.compute_v1.services.instances.InstancesClient.stop
stop(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.StopInstanceRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Stops a running instance, shutting it down cleanly, and allows you to restart the instance at a later time.
See more: google.cloud.compute_v1.services.instances.InstancesClient.stop
google.cloud.compute_v1.services.instances.InstancesClient.stop_unary
stop_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.StopInstanceRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Stops a running instance, shutting it down cleanly, and allows you to restart the instance at a later time.
See more: google.cloud.compute_v1.services.instances.InstancesClient.stop_unary
google.cloud.compute_v1.services.instances.InstancesClient.suspend
suspend(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.SuspendInstanceRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
This method suspends a running instance, saving its state to persistent storage, and allows you to resume the instance at a later time.
See more: google.cloud.compute_v1.services.instances.InstancesClient.suspend
google.cloud.compute_v1.services.instances.InstancesClient.suspend_unary
suspend_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.SuspendInstanceRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
This method suspends a running instance, saving its state to persistent storage, and allows you to resume the instance at a later time.
See more: google.cloud.compute_v1.services.instances.InstancesClient.suspend_unary
google.cloud.compute_v1.services.instances.InstancesClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.TestIamPermissionsInstanceRequest,
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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
See more: google.cloud.compute_v1.services.instances.InstancesClient.test_iam_permissions
google.cloud.compute_v1.services.instances.InstancesClient.update
update(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.UpdateInstanceRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
instance_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Instance
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates an instance only if the necessary resources are available.
See more: google.cloud.compute_v1.services.instances.InstancesClient.update
google.cloud.compute_v1.services.instances.InstancesClient.update_access_config
update_access_config(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateAccessConfigInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
network_interface: typing.Optional[str] = None,
access_config_resource: typing.Optional[
google.cloud.compute_v1.types.compute.AccessConfig
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates the specified access config from an instance's network interface with the data included in the request.
See more: google.cloud.compute_v1.services.instances.InstancesClient.update_access_config
google.cloud.compute_v1.services.instances.InstancesClient.update_access_config_unary
update_access_config_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateAccessConfigInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
network_interface: typing.Optional[str] = None,
access_config_resource: typing.Optional[
google.cloud.compute_v1.types.compute.AccessConfig
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates the specified access config from an instance's network interface with the data included in the request.
See more: google.cloud.compute_v1.services.instances.InstancesClient.update_access_config_unary
google.cloud.compute_v1.services.instances.InstancesClient.update_display_device
update_display_device(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateDisplayDeviceInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
display_device_resource: typing.Optional[
google.cloud.compute_v1.types.compute.DisplayDevice
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates the Display config for a VM instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.update_display_device
google.cloud.compute_v1.services.instances.InstancesClient.update_display_device_unary
update_display_device_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateDisplayDeviceInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
display_device_resource: typing.Optional[
google.cloud.compute_v1.types.compute.DisplayDevice
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates the Display config for a VM instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.update_display_device_unary
google.cloud.compute_v1.services.instances.InstancesClient.update_network_interface
update_network_interface(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateNetworkInterfaceInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
network_interface: typing.Optional[str] = None,
network_interface_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NetworkInterface
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates an instance's network interface.
See more: google.cloud.compute_v1.services.instances.InstancesClient.update_network_interface
google.cloud.compute_v1.services.instances.InstancesClient.update_network_interface_unary
update_network_interface_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateNetworkInterfaceInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
network_interface: typing.Optional[str] = None,
network_interface_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NetworkInterface
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates an instance's network interface.
See more: google.cloud.compute_v1.services.instances.InstancesClient.update_network_interface_unary
google.cloud.compute_v1.services.instances.InstancesClient.update_shielded_instance_config
update_shielded_instance_config(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateShieldedInstanceConfigInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
shielded_instance_config_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ShieldedInstanceConfig
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates the Shielded Instance config for an instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.update_shielded_instance_config
google.cloud.compute_v1.services.instances.InstancesClient.update_shielded_instance_config_unary
update_shielded_instance_config_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateShieldedInstanceConfigInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
shielded_instance_config_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ShieldedInstanceConfig
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates the Shielded Instance config for an instance.
See more: google.cloud.compute_v1.services.instances.InstancesClient.update_shielded_instance_config_unary
google.cloud.compute_v1.services.instances.InstancesClient.update_unary
update_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.UpdateInstanceRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instance: typing.Optional[str] = None,
instance_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Instance
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates an instance only if the necessary resources are available.
See more: google.cloud.compute_v1.services.instances.InstancesClient.update_unary
google.cloud.compute_v1.services.instances.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.InstanceAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListInstancesRequest,
response: google.cloud.compute_v1.types.compute.InstanceAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.instances.pagers.AggregatedListPager
google.cloud.compute_v1.services.instances.pagers.ListPager
ListPager(
method: typing.Callable[[...], google.cloud.compute_v1.types.compute.InstanceList],
request: google.cloud.compute_v1.types.compute.ListInstancesRequest,
response: google.cloud.compute_v1.types.compute.InstanceList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.instances.pagers.ListPager
google.cloud.compute_v1.services.instances.pagers.ListReferrersPager
ListReferrersPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.InstanceListReferrers
],
request: google.cloud.compute_v1.types.compute.ListReferrersInstancesRequest,
response: google.cloud.compute_v1.types.compute.InstanceListReferrers,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.instances.pagers.ListReferrersPager
google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient
InstantSnapshotsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.instant_snapshots.transports.base.InstantSnapshotsTransport, typing.Callable[[...], google.cloud.compute_v1.services.instant_snapshots.transports.base.InstantSnapshotsTransport]]] = 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 instant snapshots client.
See more: google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient
google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.exit
google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListInstantSnapshotsRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.instant_snapshots.pagers.AggregatedListPager
Retrieves an aggregated list of instantSnapshots.
See more: google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.aggregated_list
google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.common_folder_path
google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.common_location_path
google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.common_organization_path
google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.common_project_path
google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteInstantSnapshotRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instant_snapshot: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified InstantSnapshot resource.
See more: google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.delete
google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteInstantSnapshotRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instant_snapshot: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified InstantSnapshot resource.
See more: google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.delete_unary
google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.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.instant_snapshots.InstantSnapshotsClient.from_service_account_file
google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.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.instant_snapshots.InstantSnapshotsClient.from_service_account_info
google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.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.instant_snapshots.InstantSnapshotsClient.from_service_account_json
google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetInstantSnapshotRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instant_snapshot: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.InstantSnapshot
Returns the specified InstantSnapshot resource in the specified zone.
See more: google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.get
google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetIamPolicyInstantSnapshotRequest,
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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Gets the access control policy for a resource.
See more: google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.get_iam_policy
google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.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.instant_snapshots.InstantSnapshotsClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertInstantSnapshotRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instant_snapshot_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstantSnapshot
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates an instant snapshot in the specified zone.
See more: google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.insert
google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertInstantSnapshotRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
instant_snapshot_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstantSnapshot
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates an instant snapshot in the specified zone.
See more: google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.insert_unary
google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListInstantSnapshotsRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.instant_snapshots.pagers.ListPager
Retrieves the list of InstantSnapshot resources contained within the specified zone.
See more: google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.list
google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.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.instant_snapshots.InstantSnapshotsClient.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.instant_snapshots.InstantSnapshotsClient.parse_common_folder_path
google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.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.instant_snapshots.InstantSnapshotsClient.parse_common_location_path
google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.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.instant_snapshots.InstantSnapshotsClient.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.instant_snapshots.InstantSnapshotsClient.parse_common_project_path
google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetIamPolicyInstantSnapshotRequest,
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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Sets the access control policy on the specified resource.
See more: google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.set_iam_policy
google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.set_labels
set_labels(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsInstantSnapshotRequest, 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the labels on a instantSnapshot in the given zone.
See more: google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.set_labels
google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.set_labels_unary
set_labels_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsInstantSnapshotRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the labels on a instantSnapshot in the given zone.
See more: google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.set_labels_unary
google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.TestIamPermissionsInstantSnapshotRequest,
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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
See more: google.cloud.compute_v1.services.instant_snapshots.InstantSnapshotsClient.test_iam_permissions
google.cloud.compute_v1.services.instant_snapshots.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.InstantSnapshotAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListInstantSnapshotsRequest,
response: google.cloud.compute_v1.types.compute.InstantSnapshotAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.instant_snapshots.pagers.AggregatedListPager
google.cloud.compute_v1.services.instant_snapshots.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.InstantSnapshotList
],
request: google.cloud.compute_v1.types.compute.ListInstantSnapshotsRequest,
response: google.cloud.compute_v1.types.compute.InstantSnapshotList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.instant_snapshots.pagers.ListPager
google.cloud.compute_v1.services.interconnect_attachments.InterconnectAttachmentsClient
InterconnectAttachmentsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.interconnect_attachments.transports.base.InterconnectAttachmentsTransport, typing.Callable[[...], google.cloud.compute_v1.services.interconnect_attachments.transports.base.InterconnectAttachmentsTransport]]] = 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 interconnect attachments client.
See more: google.cloud.compute_v1.services.interconnect_attachments.InterconnectAttachmentsClient
google.cloud.compute_v1.services.interconnect_attachments.InterconnectAttachmentsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.interconnect_attachments.InterconnectAttachmentsClient.exit
google.cloud.compute_v1.services.interconnect_attachments.InterconnectAttachmentsClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListInterconnectAttachmentsRequest,
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, str]] = ()
) -> (
google.cloud.compute_v1.services.interconnect_attachments.pagers.AggregatedListPager
)
Retrieves an aggregated list of interconnect attachments.
google.cloud.compute_v1.services.interconnect_attachments.InterconnectAttachmentsClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.interconnect_attachments.InterconnectAttachmentsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.interconnect_attachments.InterconnectAttachmentsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.interconnect_attachments.InterconnectAttachmentsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.interconnect_attachments.InterconnectAttachmentsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.interconnect_attachments.InterconnectAttachmentsClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteInterconnectAttachmentRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
interconnect_attachment: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified interconnect attachment.
See more: google.cloud.compute_v1.services.interconnect_attachments.InterconnectAttachmentsClient.delete
google.cloud.compute_v1.services.interconnect_attachments.InterconnectAttachmentsClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteInterconnectAttachmentRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
interconnect_attachment: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified interconnect attachment.
See more: google.cloud.compute_v1.services.interconnect_attachments.InterconnectAttachmentsClient.delete_unary
google.cloud.compute_v1.services.interconnect_attachments.InterconnectAttachmentsClient.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.interconnect_attachments.InterconnectAttachmentsClient.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.interconnect_attachments.InterconnectAttachmentsClient.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.interconnect_attachments.InterconnectAttachmentsClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetInterconnectAttachmentRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
interconnect_attachment: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.InterconnectAttachment
Returns the specified interconnect attachment.
See more: google.cloud.compute_v1.services.interconnect_attachments.InterconnectAttachmentsClient.get
google.cloud.compute_v1.services.interconnect_attachments.InterconnectAttachmentsClient.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.interconnect_attachments.InterconnectAttachmentsClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertInterconnectAttachmentRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
interconnect_attachment_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InterconnectAttachment
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates an InterconnectAttachment in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.interconnect_attachments.InterconnectAttachmentsClient.insert
google.cloud.compute_v1.services.interconnect_attachments.InterconnectAttachmentsClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertInterconnectAttachmentRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
interconnect_attachment_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InterconnectAttachment
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates an InterconnectAttachment in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.interconnect_attachments.InterconnectAttachmentsClient.insert_unary
google.cloud.compute_v1.services.interconnect_attachments.InterconnectAttachmentsClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListInterconnectAttachmentsRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.interconnect_attachments.pagers.ListPager
Retrieves the list of interconnect attachments contained within the specified region.
See more: google.cloud.compute_v1.services.interconnect_attachments.InterconnectAttachmentsClient.list
google.cloud.compute_v1.services.interconnect_attachments.InterconnectAttachmentsClient.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.interconnect_attachments.InterconnectAttachmentsClient.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.interconnect_attachments.InterconnectAttachmentsClient.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.interconnect_attachments.InterconnectAttachmentsClient.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.interconnect_attachments.InterconnectAttachmentsClient.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.interconnect_attachments.InterconnectAttachmentsClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchInterconnectAttachmentRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
interconnect_attachment: typing.Optional[str] = None,
interconnect_attachment_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InterconnectAttachment
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates the specified interconnect attachment with the data included in the request.
See more: google.cloud.compute_v1.services.interconnect_attachments.InterconnectAttachmentsClient.patch
google.cloud.compute_v1.services.interconnect_attachments.InterconnectAttachmentsClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchInterconnectAttachmentRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
interconnect_attachment: typing.Optional[str] = None,
interconnect_attachment_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InterconnectAttachment
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates the specified interconnect attachment with the data included in the request.
See more: google.cloud.compute_v1.services.interconnect_attachments.InterconnectAttachmentsClient.patch_unary
google.cloud.compute_v1.services.interconnect_attachments.InterconnectAttachmentsClient.set_labels
set_labels(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsInterconnectAttachmentRequest,
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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the labels on an InterconnectAttachment.
See more: google.cloud.compute_v1.services.interconnect_attachments.InterconnectAttachmentsClient.set_labels
google.cloud.compute_v1.services.interconnect_attachments.InterconnectAttachmentsClient.set_labels_unary
set_labels_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsInterconnectAttachmentRequest,
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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the labels on an InterconnectAttachment.
google.cloud.compute_v1.services.interconnect_attachments.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...],
google.cloud.compute_v1.types.compute.InterconnectAttachmentAggregatedList,
],
request: google.cloud.compute_v1.types.compute.AggregatedListInterconnectAttachmentsRequest,
response: google.cloud.compute_v1.types.compute.InterconnectAttachmentAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.interconnect_attachments.pagers.AggregatedListPager
google.cloud.compute_v1.services.interconnect_attachments.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.InterconnectAttachmentList
],
request: google.cloud.compute_v1.types.compute.ListInterconnectAttachmentsRequest,
response: google.cloud.compute_v1.types.compute.InterconnectAttachmentList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.interconnect_attachments.pagers.ListPager
google.cloud.compute_v1.services.interconnect_locations.InterconnectLocationsClient
InterconnectLocationsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.interconnect_locations.transports.base.InterconnectLocationsTransport, typing.Callable[[...], google.cloud.compute_v1.services.interconnect_locations.transports.base.InterconnectLocationsTransport]]] = 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 interconnect locations client.
See more: google.cloud.compute_v1.services.interconnect_locations.InterconnectLocationsClient
google.cloud.compute_v1.services.interconnect_locations.InterconnectLocationsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.interconnect_locations.InterconnectLocationsClient.exit
google.cloud.compute_v1.services.interconnect_locations.InterconnectLocationsClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.interconnect_locations.InterconnectLocationsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.interconnect_locations.InterconnectLocationsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.interconnect_locations.InterconnectLocationsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.interconnect_locations.InterconnectLocationsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.interconnect_locations.InterconnectLocationsClient.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.interconnect_locations.InterconnectLocationsClient.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.interconnect_locations.InterconnectLocationsClient.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.interconnect_locations.InterconnectLocationsClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetInterconnectLocationRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
interconnect_location: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.InterconnectLocation
Returns the details for the specified interconnect location.
See more: google.cloud.compute_v1.services.interconnect_locations.InterconnectLocationsClient.get
google.cloud.compute_v1.services.interconnect_locations.InterconnectLocationsClient.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.interconnect_locations.InterconnectLocationsClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListInterconnectLocationsRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.interconnect_locations.pagers.ListPager
Retrieves the list of interconnect locations available to the specified project.
See more: google.cloud.compute_v1.services.interconnect_locations.InterconnectLocationsClient.list
google.cloud.compute_v1.services.interconnect_locations.InterconnectLocationsClient.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.interconnect_locations.InterconnectLocationsClient.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.interconnect_locations.InterconnectLocationsClient.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.interconnect_locations.InterconnectLocationsClient.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.interconnect_locations.InterconnectLocationsClient.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.interconnect_locations.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.InterconnectLocationList
],
request: google.cloud.compute_v1.types.compute.ListInterconnectLocationsRequest,
response: google.cloud.compute_v1.types.compute.InterconnectLocationList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.interconnect_locations.pagers.ListPager
google.cloud.compute_v1.services.interconnect_remote_locations.InterconnectRemoteLocationsClient
InterconnectRemoteLocationsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.interconnect_remote_locations.transports.base.InterconnectRemoteLocationsTransport, typing.Callable[[...], google.cloud.compute_v1.services.interconnect_remote_locations.transports.base.InterconnectRemoteLocationsTransport]]] = 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 interconnect remote locations client.
See more: google.cloud.compute_v1.services.interconnect_remote_locations.InterconnectRemoteLocationsClient
google.cloud.compute_v1.services.interconnect_remote_locations.InterconnectRemoteLocationsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
google.cloud.compute_v1.services.interconnect_remote_locations.InterconnectRemoteLocationsClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.interconnect_remote_locations.InterconnectRemoteLocationsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.interconnect_remote_locations.InterconnectRemoteLocationsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.interconnect_remote_locations.InterconnectRemoteLocationsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.interconnect_remote_locations.InterconnectRemoteLocationsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.interconnect_remote_locations.InterconnectRemoteLocationsClient.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.interconnect_remote_locations.InterconnectRemoteLocationsClient.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.interconnect_remote_locations.InterconnectRemoteLocationsClient.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.interconnect_remote_locations.InterconnectRemoteLocationsClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetInterconnectRemoteLocationRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
interconnect_remote_location: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.InterconnectRemoteLocation
Returns the details for the specified interconnect remote location.
See more: google.cloud.compute_v1.services.interconnect_remote_locations.InterconnectRemoteLocationsClient.get
google.cloud.compute_v1.services.interconnect_remote_locations.InterconnectRemoteLocationsClient.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.interconnect_remote_locations.InterconnectRemoteLocationsClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListInterconnectRemoteLocationsRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.interconnect_remote_locations.pagers.ListPager
Retrieves the list of interconnect remote locations available to the specified project.
google.cloud.compute_v1.services.interconnect_remote_locations.InterconnectRemoteLocationsClient.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.interconnect_remote_locations.InterconnectRemoteLocationsClient.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.interconnect_remote_locations.InterconnectRemoteLocationsClient.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.interconnect_remote_locations.InterconnectRemoteLocationsClient.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.interconnect_remote_locations.InterconnectRemoteLocationsClient.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.interconnect_remote_locations.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.InterconnectRemoteLocationList
],
request: google.cloud.compute_v1.types.compute.ListInterconnectRemoteLocationsRequest,
response: google.cloud.compute_v1.types.compute.InterconnectRemoteLocationList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.interconnect_remote_locations.pagers.ListPager
google.cloud.compute_v1.services.interconnects.InterconnectsClient
InterconnectsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.interconnects.transports.base.InterconnectsTransport, typing.Callable[[...], google.cloud.compute_v1.services.interconnects.transports.base.InterconnectsTransport]]] = 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 interconnects client.
See more: google.cloud.compute_v1.services.interconnects.InterconnectsClient
google.cloud.compute_v1.services.interconnects.InterconnectsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.interconnects.InterconnectsClient.exit
google.cloud.compute_v1.services.interconnects.InterconnectsClient.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.interconnects.InterconnectsClient.common_billing_account_path
google.cloud.compute_v1.services.interconnects.InterconnectsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.interconnects.InterconnectsClient.common_folder_path
google.cloud.compute_v1.services.interconnects.InterconnectsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.interconnects.InterconnectsClient.common_location_path
google.cloud.compute_v1.services.interconnects.InterconnectsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.interconnects.InterconnectsClient.common_organization_path
google.cloud.compute_v1.services.interconnects.InterconnectsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.interconnects.InterconnectsClient.common_project_path
google.cloud.compute_v1.services.interconnects.InterconnectsClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteInterconnectRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
interconnect: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified Interconnect.
See more: google.cloud.compute_v1.services.interconnects.InterconnectsClient.delete
google.cloud.compute_v1.services.interconnects.InterconnectsClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteInterconnectRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
interconnect: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified Interconnect.
See more: google.cloud.compute_v1.services.interconnects.InterconnectsClient.delete_unary
google.cloud.compute_v1.services.interconnects.InterconnectsClient.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.interconnects.InterconnectsClient.from_service_account_file
google.cloud.compute_v1.services.interconnects.InterconnectsClient.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.interconnects.InterconnectsClient.from_service_account_info
google.cloud.compute_v1.services.interconnects.InterconnectsClient.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.interconnects.InterconnectsClient.from_service_account_json
google.cloud.compute_v1.services.interconnects.InterconnectsClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetInterconnectRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
interconnect: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Interconnect
Returns the specified Interconnect.
See more: google.cloud.compute_v1.services.interconnects.InterconnectsClient.get
google.cloud.compute_v1.services.interconnects.InterconnectsClient.get_diagnostics
get_diagnostics(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetDiagnosticsInterconnectRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
interconnect: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.InterconnectsGetDiagnosticsResponse
Returns the interconnectDiagnostics for the specified Interconnect.
See more: google.cloud.compute_v1.services.interconnects.InterconnectsClient.get_diagnostics
google.cloud.compute_v1.services.interconnects.InterconnectsClient.get_macsec_config
get_macsec_config(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetMacsecConfigInterconnectRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
interconnect: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.InterconnectsGetMacsecConfigResponse
Returns the interconnectMacsecConfig for the specified Interconnect.
See more: google.cloud.compute_v1.services.interconnects.InterconnectsClient.get_macsec_config
google.cloud.compute_v1.services.interconnects.InterconnectsClient.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.interconnects.InterconnectsClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.interconnects.InterconnectsClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertInterconnectRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
interconnect_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Interconnect
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates an Interconnect in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.interconnects.InterconnectsClient.insert
google.cloud.compute_v1.services.interconnects.InterconnectsClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertInterconnectRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
interconnect_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Interconnect
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates an Interconnect in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.interconnects.InterconnectsClient.insert_unary
google.cloud.compute_v1.services.interconnects.InterconnectsClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListInterconnectsRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.interconnects.pagers.ListPager
Retrieves the list of Interconnects available to the specified project.
See more: google.cloud.compute_v1.services.interconnects.InterconnectsClient.list
google.cloud.compute_v1.services.interconnects.InterconnectsClient.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.interconnects.InterconnectsClient.parse_common_billing_account_path
google.cloud.compute_v1.services.interconnects.InterconnectsClient.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.interconnects.InterconnectsClient.parse_common_folder_path
google.cloud.compute_v1.services.interconnects.InterconnectsClient.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.interconnects.InterconnectsClient.parse_common_location_path
google.cloud.compute_v1.services.interconnects.InterconnectsClient.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.interconnects.InterconnectsClient.parse_common_organization_path
google.cloud.compute_v1.services.interconnects.InterconnectsClient.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.interconnects.InterconnectsClient.parse_common_project_path
google.cloud.compute_v1.services.interconnects.InterconnectsClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchInterconnectRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
interconnect: typing.Optional[str] = None,
interconnect_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Interconnect
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates the specified Interconnect with the data included in the request.
See more: google.cloud.compute_v1.services.interconnects.InterconnectsClient.patch
google.cloud.compute_v1.services.interconnects.InterconnectsClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchInterconnectRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
interconnect: typing.Optional[str] = None,
interconnect_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Interconnect
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates the specified Interconnect with the data included in the request.
See more: google.cloud.compute_v1.services.interconnects.InterconnectsClient.patch_unary
google.cloud.compute_v1.services.interconnects.InterconnectsClient.set_labels
set_labels(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsInterconnectRequest, 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the labels on an Interconnect.
See more: google.cloud.compute_v1.services.interconnects.InterconnectsClient.set_labels
google.cloud.compute_v1.services.interconnects.InterconnectsClient.set_labels_unary
set_labels_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsInterconnectRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the labels on an Interconnect.
See more: google.cloud.compute_v1.services.interconnects.InterconnectsClient.set_labels_unary
google.cloud.compute_v1.services.interconnects.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.InterconnectList
],
request: google.cloud.compute_v1.types.compute.ListInterconnectsRequest,
response: google.cloud.compute_v1.types.compute.InterconnectList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.interconnects.pagers.ListPager
google.cloud.compute_v1.services.license_codes.LicenseCodesClient
LicenseCodesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.license_codes.transports.base.LicenseCodesTransport, typing.Callable[[...], google.cloud.compute_v1.services.license_codes.transports.base.LicenseCodesTransport]]] = 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 license codes client.
See more: google.cloud.compute_v1.services.license_codes.LicenseCodesClient
google.cloud.compute_v1.services.license_codes.LicenseCodesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.license_codes.LicenseCodesClient.exit
google.cloud.compute_v1.services.license_codes.LicenseCodesClient.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.license_codes.LicenseCodesClient.common_billing_account_path
google.cloud.compute_v1.services.license_codes.LicenseCodesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.license_codes.LicenseCodesClient.common_folder_path
google.cloud.compute_v1.services.license_codes.LicenseCodesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.license_codes.LicenseCodesClient.common_location_path
google.cloud.compute_v1.services.license_codes.LicenseCodesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.license_codes.LicenseCodesClient.common_organization_path
google.cloud.compute_v1.services.license_codes.LicenseCodesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.license_codes.LicenseCodesClient.common_project_path
google.cloud.compute_v1.services.license_codes.LicenseCodesClient.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.license_codes.LicenseCodesClient.from_service_account_file
google.cloud.compute_v1.services.license_codes.LicenseCodesClient.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.license_codes.LicenseCodesClient.from_service_account_info
google.cloud.compute_v1.services.license_codes.LicenseCodesClient.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.license_codes.LicenseCodesClient.from_service_account_json
google.cloud.compute_v1.services.license_codes.LicenseCodesClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetLicenseCodeRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
license_code: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.LicenseCode
Return a specified license code.
See more: google.cloud.compute_v1.services.license_codes.LicenseCodesClient.get
google.cloud.compute_v1.services.license_codes.LicenseCodesClient.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.license_codes.LicenseCodesClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.license_codes.LicenseCodesClient.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.license_codes.LicenseCodesClient.parse_common_billing_account_path
google.cloud.compute_v1.services.license_codes.LicenseCodesClient.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.license_codes.LicenseCodesClient.parse_common_folder_path
google.cloud.compute_v1.services.license_codes.LicenseCodesClient.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.license_codes.LicenseCodesClient.parse_common_location_path
google.cloud.compute_v1.services.license_codes.LicenseCodesClient.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.license_codes.LicenseCodesClient.parse_common_organization_path
google.cloud.compute_v1.services.license_codes.LicenseCodesClient.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.license_codes.LicenseCodesClient.parse_common_project_path
google.cloud.compute_v1.services.license_codes.LicenseCodesClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.TestIamPermissionsLicenseCodeRequest,
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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
See more: google.cloud.compute_v1.services.license_codes.LicenseCodesClient.test_iam_permissions
google.cloud.compute_v1.services.licenses.LicensesClient
LicensesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.licenses.transports.base.LicensesTransport, typing.Callable[[...], google.cloud.compute_v1.services.licenses.transports.base.LicensesTransport]]] = 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 licenses client.
See more: google.cloud.compute_v1.services.licenses.LicensesClient
google.cloud.compute_v1.services.licenses.LicensesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.licenses.LicensesClient.exit
google.cloud.compute_v1.services.licenses.LicensesClient.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.licenses.LicensesClient.common_billing_account_path
google.cloud.compute_v1.services.licenses.LicensesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.licenses.LicensesClient.common_folder_path
google.cloud.compute_v1.services.licenses.LicensesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.licenses.LicensesClient.common_location_path
google.cloud.compute_v1.services.licenses.LicensesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.licenses.LicensesClient.common_organization_path
google.cloud.compute_v1.services.licenses.LicensesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.licenses.LicensesClient.common_project_path
google.cloud.compute_v1.services.licenses.LicensesClient.delete
delete(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeleteLicenseRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
license_: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified license.
See more: google.cloud.compute_v1.services.licenses.LicensesClient.delete
google.cloud.compute_v1.services.licenses.LicensesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeleteLicenseRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
license_: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified license.
See more: google.cloud.compute_v1.services.licenses.LicensesClient.delete_unary
google.cloud.compute_v1.services.licenses.LicensesClient.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.licenses.LicensesClient.from_service_account_file
google.cloud.compute_v1.services.licenses.LicensesClient.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.licenses.LicensesClient.from_service_account_info
google.cloud.compute_v1.services.licenses.LicensesClient.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.licenses.LicensesClient.from_service_account_json
google.cloud.compute_v1.services.licenses.LicensesClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetLicenseRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
license_: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.License
Returns the specified License resource.
See more: google.cloud.compute_v1.services.licenses.LicensesClient.get
google.cloud.compute_v1.services.licenses.LicensesClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetIamPolicyLicenseRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Gets the access control policy for a resource.
See more: google.cloud.compute_v1.services.licenses.LicensesClient.get_iam_policy
google.cloud.compute_v1.services.licenses.LicensesClient.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.licenses.LicensesClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.licenses.LicensesClient.insert
insert(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.InsertLicenseRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
license_resource: typing.Optional[
google.cloud.compute_v1.types.compute.License
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Create a License resource in the specified project.
See more: google.cloud.compute_v1.services.licenses.LicensesClient.insert
google.cloud.compute_v1.services.licenses.LicensesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.InsertLicenseRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
license_resource: typing.Optional[
google.cloud.compute_v1.types.compute.License
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Create a License resource in the specified project.
See more: google.cloud.compute_v1.services.licenses.LicensesClient.insert_unary
google.cloud.compute_v1.services.licenses.LicensesClient.list
list(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ListLicensesRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.licenses.pagers.ListPager
Retrieves the list of licenses available in the specified project.
See more: google.cloud.compute_v1.services.licenses.LicensesClient.list
google.cloud.compute_v1.services.licenses.LicensesClient.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.licenses.LicensesClient.parse_common_billing_account_path
google.cloud.compute_v1.services.licenses.LicensesClient.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.licenses.LicensesClient.parse_common_folder_path
google.cloud.compute_v1.services.licenses.LicensesClient.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.licenses.LicensesClient.parse_common_location_path
google.cloud.compute_v1.services.licenses.LicensesClient.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.licenses.LicensesClient.parse_common_organization_path
google.cloud.compute_v1.services.licenses.LicensesClient.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.licenses.LicensesClient.parse_common_project_path
google.cloud.compute_v1.services.licenses.LicensesClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetIamPolicyLicenseRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Sets the access control policy on the specified resource.
See more: google.cloud.compute_v1.services.licenses.LicensesClient.set_iam_policy
google.cloud.compute_v1.services.licenses.LicensesClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.TestIamPermissionsLicenseRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
See more: google.cloud.compute_v1.services.licenses.LicensesClient.test_iam_permissions
google.cloud.compute_v1.services.licenses.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.LicensesListResponse
],
request: google.cloud.compute_v1.types.compute.ListLicensesRequest,
response: google.cloud.compute_v1.types.compute.LicensesListResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.licenses.pagers.ListPager
google.cloud.compute_v1.services.machine_images.MachineImagesClient
MachineImagesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.machine_images.transports.base.MachineImagesTransport, typing.Callable[[...], google.cloud.compute_v1.services.machine_images.transports.base.MachineImagesTransport]]] = 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 machine images client.
See more: google.cloud.compute_v1.services.machine_images.MachineImagesClient
google.cloud.compute_v1.services.machine_images.MachineImagesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.machine_images.MachineImagesClient.exit
google.cloud.compute_v1.services.machine_images.MachineImagesClient.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.machine_images.MachineImagesClient.common_billing_account_path
google.cloud.compute_v1.services.machine_images.MachineImagesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.machine_images.MachineImagesClient.common_folder_path
google.cloud.compute_v1.services.machine_images.MachineImagesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.machine_images.MachineImagesClient.common_location_path
google.cloud.compute_v1.services.machine_images.MachineImagesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.machine_images.MachineImagesClient.common_organization_path
google.cloud.compute_v1.services.machine_images.MachineImagesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.machine_images.MachineImagesClient.common_project_path
google.cloud.compute_v1.services.machine_images.MachineImagesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteMachineImageRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
machine_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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified machine image.
See more: google.cloud.compute_v1.services.machine_images.MachineImagesClient.delete
google.cloud.compute_v1.services.machine_images.MachineImagesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteMachineImageRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
machine_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified machine image.
See more: google.cloud.compute_v1.services.machine_images.MachineImagesClient.delete_unary
google.cloud.compute_v1.services.machine_images.MachineImagesClient.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.machine_images.MachineImagesClient.from_service_account_file
google.cloud.compute_v1.services.machine_images.MachineImagesClient.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.machine_images.MachineImagesClient.from_service_account_info
google.cloud.compute_v1.services.machine_images.MachineImagesClient.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.machine_images.MachineImagesClient.from_service_account_json
google.cloud.compute_v1.services.machine_images.MachineImagesClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetMachineImageRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
machine_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.MachineImage
Returns the specified machine image.
See more: google.cloud.compute_v1.services.machine_images.MachineImagesClient.get
google.cloud.compute_v1.services.machine_images.MachineImagesClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetIamPolicyMachineImageRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Gets the access control policy for a resource.
See more: google.cloud.compute_v1.services.machine_images.MachineImagesClient.get_iam_policy
google.cloud.compute_v1.services.machine_images.MachineImagesClient.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.machine_images.MachineImagesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertMachineImageRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
machine_image_resource: typing.Optional[
google.cloud.compute_v1.types.compute.MachineImage
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a machine image in the specified project using the data that is included in the request.
See more: google.cloud.compute_v1.services.machine_images.MachineImagesClient.insert
google.cloud.compute_v1.services.machine_images.MachineImagesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertMachineImageRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
machine_image_resource: typing.Optional[
google.cloud.compute_v1.types.compute.MachineImage
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a machine image in the specified project using the data that is included in the request.
See more: google.cloud.compute_v1.services.machine_images.MachineImagesClient.insert_unary
google.cloud.compute_v1.services.machine_images.MachineImagesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListMachineImagesRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.machine_images.pagers.ListPager
Retrieves a list of machine images that are contained within the specified project.
See more: google.cloud.compute_v1.services.machine_images.MachineImagesClient.list
google.cloud.compute_v1.services.machine_images.MachineImagesClient.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.machine_images.MachineImagesClient.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.machine_images.MachineImagesClient.parse_common_folder_path
google.cloud.compute_v1.services.machine_images.MachineImagesClient.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.machine_images.MachineImagesClient.parse_common_location_path
google.cloud.compute_v1.services.machine_images.MachineImagesClient.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.machine_images.MachineImagesClient.parse_common_organization_path
google.cloud.compute_v1.services.machine_images.MachineImagesClient.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.machine_images.MachineImagesClient.parse_common_project_path
google.cloud.compute_v1.services.machine_images.MachineImagesClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetIamPolicyMachineImageRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Sets the access control policy on the specified resource.
See more: google.cloud.compute_v1.services.machine_images.MachineImagesClient.set_iam_policy
google.cloud.compute_v1.services.machine_images.MachineImagesClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.TestIamPermissionsMachineImageRequest,
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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
See more: google.cloud.compute_v1.services.machine_images.MachineImagesClient.test_iam_permissions
google.cloud.compute_v1.services.machine_images.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.MachineImageList
],
request: google.cloud.compute_v1.types.compute.ListMachineImagesRequest,
response: google.cloud.compute_v1.types.compute.MachineImageList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.machine_images.pagers.ListPager
google.cloud.compute_v1.services.machine_types.MachineTypesClient
MachineTypesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.machine_types.transports.base.MachineTypesTransport, typing.Callable[[...], google.cloud.compute_v1.services.machine_types.transports.base.MachineTypesTransport]]] = 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 machine types client.
See more: google.cloud.compute_v1.services.machine_types.MachineTypesClient
google.cloud.compute_v1.services.machine_types.MachineTypesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.machine_types.MachineTypesClient.exit
google.cloud.compute_v1.services.machine_types.MachineTypesClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListMachineTypesRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.machine_types.pagers.AggregatedListPager
Retrieves an aggregated list of machine types.
See more: google.cloud.compute_v1.services.machine_types.MachineTypesClient.aggregated_list
google.cloud.compute_v1.services.machine_types.MachineTypesClient.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.machine_types.MachineTypesClient.common_billing_account_path
google.cloud.compute_v1.services.machine_types.MachineTypesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.machine_types.MachineTypesClient.common_folder_path
google.cloud.compute_v1.services.machine_types.MachineTypesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.machine_types.MachineTypesClient.common_location_path
google.cloud.compute_v1.services.machine_types.MachineTypesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.machine_types.MachineTypesClient.common_organization_path
google.cloud.compute_v1.services.machine_types.MachineTypesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.machine_types.MachineTypesClient.common_project_path
google.cloud.compute_v1.services.machine_types.MachineTypesClient.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.machine_types.MachineTypesClient.from_service_account_file
google.cloud.compute_v1.services.machine_types.MachineTypesClient.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.machine_types.MachineTypesClient.from_service_account_info
google.cloud.compute_v1.services.machine_types.MachineTypesClient.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.machine_types.MachineTypesClient.from_service_account_json
google.cloud.compute_v1.services.machine_types.MachineTypesClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetMachineTypeRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
machine_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.MachineType
Returns the specified machine type.
See more: google.cloud.compute_v1.services.machine_types.MachineTypesClient.get
google.cloud.compute_v1.services.machine_types.MachineTypesClient.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.machine_types.MachineTypesClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.machine_types.MachineTypesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListMachineTypesRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.machine_types.pagers.ListPager
Retrieves a list of machine types available to the specified project.
See more: google.cloud.compute_v1.services.machine_types.MachineTypesClient.list
google.cloud.compute_v1.services.machine_types.MachineTypesClient.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.machine_types.MachineTypesClient.parse_common_billing_account_path
google.cloud.compute_v1.services.machine_types.MachineTypesClient.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.machine_types.MachineTypesClient.parse_common_folder_path
google.cloud.compute_v1.services.machine_types.MachineTypesClient.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.machine_types.MachineTypesClient.parse_common_location_path
google.cloud.compute_v1.services.machine_types.MachineTypesClient.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.machine_types.MachineTypesClient.parse_common_organization_path
google.cloud.compute_v1.services.machine_types.MachineTypesClient.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.machine_types.MachineTypesClient.parse_common_project_path
google.cloud.compute_v1.services.machine_types.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.MachineTypeAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListMachineTypesRequest,
response: google.cloud.compute_v1.types.compute.MachineTypeAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.machine_types.pagers.AggregatedListPager
google.cloud.compute_v1.services.machine_types.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.MachineTypeList
],
request: google.cloud.compute_v1.types.compute.ListMachineTypesRequest,
response: google.cloud.compute_v1.types.compute.MachineTypeList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.machine_types.pagers.ListPager
google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient
NetworkAttachmentsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.network_attachments.transports.base.NetworkAttachmentsTransport, typing.Callable[[...], google.cloud.compute_v1.services.network_attachments.transports.base.NetworkAttachmentsTransport]]] = 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 network attachments client.
See more: google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient
google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.exit
google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListNetworkAttachmentsRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.network_attachments.pagers.AggregatedListPager
Retrieves the list of all NetworkAttachment resources, regional and global, available to the specified project.
See more: google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.aggregated_list
google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.common_folder_path
google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.common_location_path
google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.common_project_path
google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteNetworkAttachmentRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
network_attachment: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified NetworkAttachment in the given scope.
See more: google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.delete
google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteNetworkAttachmentRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
network_attachment: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified NetworkAttachment in the given scope.
See more: google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.delete_unary
google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.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.network_attachments.NetworkAttachmentsClient.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.network_attachments.NetworkAttachmentsClient.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.network_attachments.NetworkAttachmentsClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetNetworkAttachmentRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
network_attachment: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.NetworkAttachment
Returns the specified NetworkAttachment resource in the given scope.
See more: google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.get
google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetIamPolicyNetworkAttachmentRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Gets the access control policy for a resource.
See more: google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.get_iam_policy
google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.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.network_attachments.NetworkAttachmentsClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertNetworkAttachmentRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
network_attachment_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NetworkAttachment
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a NetworkAttachment in the specified project in the given scope using the parameters that are included in the request.
See more: google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.insert
google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertNetworkAttachmentRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
network_attachment_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NetworkAttachment
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a NetworkAttachment in the specified project in the given scope using the parameters that are included in the request.
See more: google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.insert_unary
google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListNetworkAttachmentsRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.network_attachments.pagers.ListPager
Lists the NetworkAttachments for a project in the given scope.
See more: google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.list
google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.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.network_attachments.NetworkAttachmentsClient.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.network_attachments.NetworkAttachmentsClient.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.network_attachments.NetworkAttachmentsClient.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.network_attachments.NetworkAttachmentsClient.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.network_attachments.NetworkAttachmentsClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchNetworkAttachmentRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
network_attachment: typing.Optional[str] = None,
network_attachment_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NetworkAttachment
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches the specified NetworkAttachment resource with the data included in the request.
See more: google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.patch
google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchNetworkAttachmentRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
network_attachment: typing.Optional[str] = None,
network_attachment_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NetworkAttachment
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Patches the specified NetworkAttachment resource with the data included in the request.
See more: google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.patch_unary
google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetIamPolicyNetworkAttachmentRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
region_set_policy_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionSetPolicyRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Sets the access control policy on the specified resource.
See more: google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.set_iam_policy
google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.TestIamPermissionsNetworkAttachmentRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
See more: google.cloud.compute_v1.services.network_attachments.NetworkAttachmentsClient.test_iam_permissions
google.cloud.compute_v1.services.network_attachments.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.NetworkAttachmentAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListNetworkAttachmentsRequest,
response: google.cloud.compute_v1.types.compute.NetworkAttachmentAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.network_attachments.pagers.AggregatedListPager
google.cloud.compute_v1.services.network_attachments.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.NetworkAttachmentList
],
request: google.cloud.compute_v1.types.compute.ListNetworkAttachmentsRequest,
response: google.cloud.compute_v1.types.compute.NetworkAttachmentList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.network_attachments.pagers.ListPager
google.cloud.compute_v1.services.network_edge_security_services.NetworkEdgeSecurityServicesClient
NetworkEdgeSecurityServicesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.network_edge_security_services.transports.base.NetworkEdgeSecurityServicesTransport, typing.Callable[[...], google.cloud.compute_v1.services.network_edge_security_services.transports.base.NetworkEdgeSecurityServicesTransport]]] = 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 network edge security services client.
See more: google.cloud.compute_v1.services.network_edge_security_services.NetworkEdgeSecurityServicesClient
google.cloud.compute_v1.services.network_edge_security_services.NetworkEdgeSecurityServicesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
google.cloud.compute_v1.services.network_edge_security_services.NetworkEdgeSecurityServicesClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListNetworkEdgeSecurityServicesRequest,
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, str]] = ()
) -> (
google.cloud.compute_v1.services.network_edge_security_services.pagers.AggregatedListPager
)
Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project.
google.cloud.compute_v1.services.network_edge_security_services.NetworkEdgeSecurityServicesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.network_edge_security_services.NetworkEdgeSecurityServicesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.network_edge_security_services.NetworkEdgeSecurityServicesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.network_edge_security_services.NetworkEdgeSecurityServicesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.network_edge_security_services.NetworkEdgeSecurityServicesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.network_edge_security_services.NetworkEdgeSecurityServicesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteNetworkEdgeSecurityServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
network_edge_security_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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified service.
google.cloud.compute_v1.services.network_edge_security_services.NetworkEdgeSecurityServicesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteNetworkEdgeSecurityServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
network_edge_security_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified service.
google.cloud.compute_v1.services.network_edge_security_services.NetworkEdgeSecurityServicesClient.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.network_edge_security_services.NetworkEdgeSecurityServicesClient.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.network_edge_security_services.NetworkEdgeSecurityServicesClient.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.network_edge_security_services.NetworkEdgeSecurityServicesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetNetworkEdgeSecurityServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
network_edge_security_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.NetworkEdgeSecurityService
Gets a specified NetworkEdgeSecurityService.
google.cloud.compute_v1.services.network_edge_security_services.NetworkEdgeSecurityServicesClient.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.network_edge_security_services.NetworkEdgeSecurityServicesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertNetworkEdgeSecurityServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
network_edge_security_service_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NetworkEdgeSecurityService
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a new service in the specified project using the data included in the request.
google.cloud.compute_v1.services.network_edge_security_services.NetworkEdgeSecurityServicesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertNetworkEdgeSecurityServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
network_edge_security_service_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NetworkEdgeSecurityService
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a new service in the specified project using the data included in the request.
google.cloud.compute_v1.services.network_edge_security_services.NetworkEdgeSecurityServicesClient.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.network_edge_security_services.NetworkEdgeSecurityServicesClient.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.network_edge_security_services.NetworkEdgeSecurityServicesClient.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.network_edge_security_services.NetworkEdgeSecurityServicesClient.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.network_edge_security_services.NetworkEdgeSecurityServicesClient.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.network_edge_security_services.NetworkEdgeSecurityServicesClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchNetworkEdgeSecurityServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
network_edge_security_service: typing.Optional[str] = None,
network_edge_security_service_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NetworkEdgeSecurityService
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches the specified policy with the data included in the request.
google.cloud.compute_v1.services.network_edge_security_services.NetworkEdgeSecurityServicesClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchNetworkEdgeSecurityServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
network_edge_security_service: typing.Optional[str] = None,
network_edge_security_service_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NetworkEdgeSecurityService
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Patches the specified policy with the data included in the request.
google.cloud.compute_v1.services.network_edge_security_services.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...],
google.cloud.compute_v1.types.compute.NetworkEdgeSecurityServiceAggregatedList,
],
request: google.cloud.compute_v1.types.compute.AggregatedListNetworkEdgeSecurityServicesRequest,
response: google.cloud.compute_v1.types.compute.NetworkEdgeSecurityServiceAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.network_edge_security_services.pagers.AggregatedListPager
google.cloud.compute_v1.services.network_endpoint_groups.NetworkEndpointGroupsClient
NetworkEndpointGroupsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.network_endpoint_groups.transports.base.NetworkEndpointGroupsTransport, typing.Callable[[...], google.cloud.compute_v1.services.network_endpoint_groups.transports.base.NetworkEndpointGroupsTransport]]] = 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 network endpoint groups client.
See more: google.cloud.compute_v1.services.network_endpoint_groups.NetworkEndpointGroupsClient
google.cloud.compute_v1.services.network_endpoint_groups.NetworkEndpointGroupsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.network_endpoint_groups.NetworkEndpointGroupsClient.exit
google.cloud.compute_v1.services.network_endpoint_groups.NetworkEndpointGroupsClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListNetworkEndpointGroupsRequest,
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, str]] = ()
) -> (
google.cloud.compute_v1.services.network_endpoint_groups.pagers.AggregatedListPager
)
Retrieves the list of network endpoint groups and sorts them by zone.
See more: google.cloud.compute_v1.services.network_endpoint_groups.NetworkEndpointGroupsClient.aggregated_list
google.cloud.compute_v1.services.network_endpoint_groups.NetworkEndpointGroupsClient.attach_network_endpoints
attach_network_endpoints(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AttachNetworkEndpointsNetworkEndpointGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
network_endpoint_group: typing.Optional[str] = None,
network_endpoint_groups_attach_endpoints_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NetworkEndpointGroupsAttachEndpointsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Attach a list of network endpoints to the specified network endpoint group.
google.cloud.compute_v1.services.network_endpoint_groups.NetworkEndpointGroupsClient.attach_network_endpoints_unary
attach_network_endpoints_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AttachNetworkEndpointsNetworkEndpointGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
network_endpoint_group: typing.Optional[str] = None,
network_endpoint_groups_attach_endpoints_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NetworkEndpointGroupsAttachEndpointsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Attach a list of network endpoints to the specified network endpoint group.
google.cloud.compute_v1.services.network_endpoint_groups.NetworkEndpointGroupsClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.network_endpoint_groups.NetworkEndpointGroupsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.network_endpoint_groups.NetworkEndpointGroupsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.network_endpoint_groups.NetworkEndpointGroupsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.network_endpoint_groups.NetworkEndpointGroupsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.network_endpoint_groups.NetworkEndpointGroupsClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteNetworkEndpointGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified network endpoint group.
See more: google.cloud.compute_v1.services.network_endpoint_groups.NetworkEndpointGroupsClient.delete
google.cloud.compute_v1.services.network_endpoint_groups.NetworkEndpointGroupsClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteNetworkEndpointGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified network endpoint group.
See more: google.cloud.compute_v1.services.network_endpoint_groups.NetworkEndpointGroupsClient.delete_unary
google.cloud.compute_v1.services.network_endpoint_groups.NetworkEndpointGroupsClient.detach_network_endpoints
detach_network_endpoints(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DetachNetworkEndpointsNetworkEndpointGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
network_endpoint_group: typing.Optional[str] = None,
network_endpoint_groups_detach_endpoints_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NetworkEndpointGroupsDetachEndpointsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Detach a list of network endpoints from the specified network endpoint group.
google.cloud.compute_v1.services.network_endpoint_groups.NetworkEndpointGroupsClient.detach_network_endpoints_unary
detach_network_endpoints_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DetachNetworkEndpointsNetworkEndpointGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
network_endpoint_group: typing.Optional[str] = None,
network_endpoint_groups_detach_endpoints_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NetworkEndpointGroupsDetachEndpointsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Detach a list of network endpoints from the specified network endpoint group.
google.cloud.compute_v1.services.network_endpoint_groups.NetworkEndpointGroupsClient.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.network_endpoint_groups.NetworkEndpointGroupsClient.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.network_endpoint_groups.NetworkEndpointGroupsClient.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.network_endpoint_groups.NetworkEndpointGroupsClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetNetworkEndpointGroupRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.NetworkEndpointGroup
Returns the specified network endpoint group.
See more: google.cloud.compute_v1.services.network_endpoint_groups.NetworkEndpointGroupsClient.get
google.cloud.compute_v1.services.network_endpoint_groups.NetworkEndpointGroupsClient.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.network_endpoint_groups.NetworkEndpointGroupsClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertNetworkEndpointGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a network endpoint group in the specified project using the parameters that are included in the request.
See more: google.cloud.compute_v1.services.network_endpoint_groups.NetworkEndpointGroupsClient.insert
google.cloud.compute_v1.services.network_endpoint_groups.NetworkEndpointGroupsClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertNetworkEndpointGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: 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, str]] = ()
) -> 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.
See more: google.cloud.compute_v1.services.network_endpoint_groups.NetworkEndpointGroupsClient.insert_unary
google.cloud.compute_v1.services.network_endpoint_groups.NetworkEndpointGroupsClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListNetworkEndpointGroupsRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.network_endpoint_groups.pagers.ListPager
Retrieves the list of network endpoint groups that are located in the specified project and zone.
See more: google.cloud.compute_v1.services.network_endpoint_groups.NetworkEndpointGroupsClient.list
google.cloud.compute_v1.services.network_endpoint_groups.NetworkEndpointGroupsClient.list_network_endpoints
list_network_endpoints(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListNetworkEndpointsNetworkEndpointGroupsRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
network_endpoint_group: typing.Optional[str] = None,
network_endpoint_groups_list_endpoints_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NetworkEndpointGroupsListEndpointsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.compute_v1.services.network_endpoint_groups.pagers.ListNetworkEndpointsPager
)
Lists the network endpoints in the specified network endpoint group.
google.cloud.compute_v1.services.network_endpoint_groups.NetworkEndpointGroupsClient.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.network_endpoint_groups.NetworkEndpointGroupsClient.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.network_endpoint_groups.NetworkEndpointGroupsClient.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.network_endpoint_groups.NetworkEndpointGroupsClient.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.network_endpoint_groups.NetworkEndpointGroupsClient.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.network_endpoint_groups.NetworkEndpointGroupsClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.TestIamPermissionsNetworkEndpointGroupRequest,
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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
google.cloud.compute_v1.services.network_endpoint_groups.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.NetworkEndpointGroupAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListNetworkEndpointGroupsRequest,
response: google.cloud.compute_v1.types.compute.NetworkEndpointGroupAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.network_endpoint_groups.pagers.AggregatedListPager
google.cloud.compute_v1.services.network_endpoint_groups.pagers.ListNetworkEndpointsPager
ListNetworkEndpointsPager(
method: typing.Callable[
[...],
google.cloud.compute_v1.types.compute.NetworkEndpointGroupsListNetworkEndpoints,
],
request: google.cloud.compute_v1.types.compute.ListNetworkEndpointsNetworkEndpointGroupsRequest,
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, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.network_endpoint_groups.pagers.ListNetworkEndpointsPager
google.cloud.compute_v1.services.network_endpoint_groups.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.NetworkEndpointGroupList
],
request: google.cloud.compute_v1.types.compute.ListNetworkEndpointGroupsRequest,
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, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.network_endpoint_groups.pagers.ListPager
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient
NetworkFirewallPoliciesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.network_firewall_policies.transports.base.NetworkFirewallPoliciesTransport, typing.Callable[[...], google.cloud.compute_v1.services.network_firewall_policies.transports.base.NetworkFirewallPoliciesTransport]]] = 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 network firewall policies client.
See more: google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.exit
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.add_association
add_association(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddAssociationNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Inserts an association for the specified firewall policy.
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.add_association_unary
add_association_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddAssociationNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Inserts an association for the specified firewall policy.
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.add_rule
add_rule(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddRuleNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Inserts a rule into a firewall policy.
See more: google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.add_rule
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.add_rule_unary
add_rule_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddRuleNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Inserts a rule into a firewall policy.
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.clone_rules
clone_rules(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.CloneRulesNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Copies rules to the specified firewall policy.
See more: google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.clone_rules
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.clone_rules_unary
clone_rules_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.CloneRulesNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Copies rules to the specified firewall policy.
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified policy.
See more: google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.delete
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified policy.
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.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.network_firewall_policies.NetworkFirewallPoliciesClient.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.network_firewall_policies.NetworkFirewallPoliciesClient.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.network_firewall_policies.NetworkFirewallPoliciesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetNetworkFirewallPolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.FirewallPolicy
Returns the specified network firewall policy.
See more: google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.get
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.get_association
get_association(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetAssociationNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.FirewallPolicyAssociation
Gets an association with the specified name.
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetIamPolicyNetworkFirewallPolicyRequest,
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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Gets the access control policy for a resource.
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.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.network_firewall_policies.NetworkFirewallPoliciesClient.get_rule
get_rule(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetRuleNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.FirewallPolicyRule
Gets a rule of the specified priority.
See more: google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.get_rule
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: 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, str]] = ()
) -> 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.network_firewall_policies.NetworkFirewallPoliciesClient.insert
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a new policy in the specified project using the data included in the request.
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListNetworkFirewallPoliciesRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.network_firewall_policies.pagers.ListPager
Lists all the policies that have been configured for the specified project.
See more: google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.list
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.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.network_firewall_policies.NetworkFirewallPoliciesClient.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.network_firewall_policies.NetworkFirewallPoliciesClient.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.network_firewall_policies.NetworkFirewallPoliciesClient.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.network_firewall_policies.NetworkFirewallPoliciesClient.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.network_firewall_policies.NetworkFirewallPoliciesClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches the specified policy with the data included in the request.
See more: google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.patch
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.patch_rule
patch_rule(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRuleNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches a rule of the specified priority.
See more: google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.patch_rule
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.patch_rule_unary
patch_rule_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRuleNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Patches a rule of the specified priority.
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = 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, str]] = ()
) -> 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.network_firewall_policies.NetworkFirewallPoliciesClient.patch_unary
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.remove_association
remove_association(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemoveAssociationNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Removes an association for the specified firewall policy.
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.remove_association_unary
remove_association_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemoveAssociationNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Removes an association for the specified firewall policy.
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.remove_rule
remove_rule(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemoveRuleNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes a rule of the specified priority.
See more: google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.remove_rule
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.remove_rule_unary
remove_rule_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemoveRuleNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes a rule of the specified priority.
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetIamPolicyNetworkFirewallPolicyRequest,
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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Sets the access control policy on the specified resource.
google.cloud.compute_v1.services.network_firewall_policies.NetworkFirewallPoliciesClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.TestIamPermissionsNetworkFirewallPolicyRequest,
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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
google.cloud.compute_v1.services.network_firewall_policies.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.FirewallPolicyList
],
request: google.cloud.compute_v1.types.compute.ListNetworkFirewallPoliciesRequest,
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, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.network_firewall_policies.pagers.ListPager
google.cloud.compute_v1.services.networks.NetworksClient
NetworksClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.networks.transports.base.NetworksTransport, typing.Callable[[...], google.cloud.compute_v1.services.networks.transports.base.NetworksTransport]]] = 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 networks client.
See more: google.cloud.compute_v1.services.networks.NetworksClient
google.cloud.compute_v1.services.networks.NetworksClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.networks.NetworksClient.exit
google.cloud.compute_v1.services.networks.NetworksClient.add_peering
add_peering(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddPeeringNetworkRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
network: typing.Optional[str] = None,
networks_add_peering_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NetworksAddPeeringRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Adds a peering to the specified network.
See more: google.cloud.compute_v1.services.networks.NetworksClient.add_peering
google.cloud.compute_v1.services.networks.NetworksClient.add_peering_unary
add_peering_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddPeeringNetworkRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
network: typing.Optional[str] = None,
networks_add_peering_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NetworksAddPeeringRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Adds a peering to the specified network.
See more: google.cloud.compute_v1.services.networks.NetworksClient.add_peering_unary
google.cloud.compute_v1.services.networks.NetworksClient.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.networks.NetworksClient.common_billing_account_path
google.cloud.compute_v1.services.networks.NetworksClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.networks.NetworksClient.common_folder_path
google.cloud.compute_v1.services.networks.NetworksClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.networks.NetworksClient.common_location_path
google.cloud.compute_v1.services.networks.NetworksClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.networks.NetworksClient.common_organization_path
google.cloud.compute_v1.services.networks.NetworksClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.networks.NetworksClient.common_project_path
google.cloud.compute_v1.services.networks.NetworksClient.delete
delete(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeleteNetworkRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
network: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified network.
See more: google.cloud.compute_v1.services.networks.NetworksClient.delete
google.cloud.compute_v1.services.networks.NetworksClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeleteNetworkRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
network: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified network.
See more: google.cloud.compute_v1.services.networks.NetworksClient.delete_unary
google.cloud.compute_v1.services.networks.NetworksClient.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.networks.NetworksClient.from_service_account_file
google.cloud.compute_v1.services.networks.NetworksClient.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.networks.NetworksClient.from_service_account_info
google.cloud.compute_v1.services.networks.NetworksClient.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.networks.NetworksClient.from_service_account_json
google.cloud.compute_v1.services.networks.NetworksClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetNetworkRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
network: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Network
Returns the specified network.
See more: google.cloud.compute_v1.services.networks.NetworksClient.get
google.cloud.compute_v1.services.networks.NetworksClient.get_effective_firewalls
get_effective_firewalls(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetEffectiveFirewallsNetworkRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
network: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.NetworksGetEffectiveFirewallsResponse
Returns the effective firewalls on a given network.
See more: google.cloud.compute_v1.services.networks.NetworksClient.get_effective_firewalls
google.cloud.compute_v1.services.networks.NetworksClient.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.networks.NetworksClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.networks.NetworksClient.insert
insert(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.InsertNetworkRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
network_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Network
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a network in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.networks.NetworksClient.insert
google.cloud.compute_v1.services.networks.NetworksClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.InsertNetworkRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
network_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Network
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a network in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.networks.NetworksClient.insert_unary
google.cloud.compute_v1.services.networks.NetworksClient.list
list(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ListNetworksRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.networks.pagers.ListPager
Retrieves the list of networks available to the specified project.
See more: google.cloud.compute_v1.services.networks.NetworksClient.list
google.cloud.compute_v1.services.networks.NetworksClient.list_peering_routes
list_peering_routes(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListPeeringRoutesNetworksRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
network: 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, str]] = ()
) -> google.cloud.compute_v1.services.networks.pagers.ListPeeringRoutesPager
Lists the peering routes exchanged over peering connection.
See more: google.cloud.compute_v1.services.networks.NetworksClient.list_peering_routes
google.cloud.compute_v1.services.networks.NetworksClient.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.networks.NetworksClient.parse_common_billing_account_path
google.cloud.compute_v1.services.networks.NetworksClient.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.networks.NetworksClient.parse_common_folder_path
google.cloud.compute_v1.services.networks.NetworksClient.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.networks.NetworksClient.parse_common_location_path
google.cloud.compute_v1.services.networks.NetworksClient.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.networks.NetworksClient.parse_common_organization_path
google.cloud.compute_v1.services.networks.NetworksClient.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.networks.NetworksClient.parse_common_project_path
google.cloud.compute_v1.services.networks.NetworksClient.patch
patch(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.PatchNetworkRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
network: typing.Optional[str] = None,
network_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Network
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches the specified network with the data included in the request.
See more: google.cloud.compute_v1.services.networks.NetworksClient.patch
google.cloud.compute_v1.services.networks.NetworksClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.PatchNetworkRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
network: typing.Optional[str] = None,
network_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Network
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Patches the specified network with the data included in the request.
See more: google.cloud.compute_v1.services.networks.NetworksClient.patch_unary
google.cloud.compute_v1.services.networks.NetworksClient.remove_peering
remove_peering(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemovePeeringNetworkRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
network: typing.Optional[str] = None,
networks_remove_peering_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NetworksRemovePeeringRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Removes a peering from the specified network.
See more: google.cloud.compute_v1.services.networks.NetworksClient.remove_peering
google.cloud.compute_v1.services.networks.NetworksClient.remove_peering_unary
remove_peering_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemovePeeringNetworkRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
network: typing.Optional[str] = None,
networks_remove_peering_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NetworksRemovePeeringRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Removes a peering from the specified network.
See more: google.cloud.compute_v1.services.networks.NetworksClient.remove_peering_unary
google.cloud.compute_v1.services.networks.NetworksClient.switch_to_custom_mode
switch_to_custom_mode(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SwitchToCustomModeNetworkRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
network: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Switches the network mode from auto subnet mode to custom subnet mode.
See more: google.cloud.compute_v1.services.networks.NetworksClient.switch_to_custom_mode
google.cloud.compute_v1.services.networks.NetworksClient.switch_to_custom_mode_unary
switch_to_custom_mode_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SwitchToCustomModeNetworkRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
network: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Switches the network mode from auto subnet mode to custom subnet mode.
See more: google.cloud.compute_v1.services.networks.NetworksClient.switch_to_custom_mode_unary
google.cloud.compute_v1.services.networks.NetworksClient.update_peering
update_peering(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdatePeeringNetworkRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
network: typing.Optional[str] = None,
networks_update_peering_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NetworksUpdatePeeringRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates the specified network peering with the data included in the request.
See more: google.cloud.compute_v1.services.networks.NetworksClient.update_peering
google.cloud.compute_v1.services.networks.NetworksClient.update_peering_unary
update_peering_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdatePeeringNetworkRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
network: typing.Optional[str] = None,
networks_update_peering_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NetworksUpdatePeeringRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates the specified network peering with the data included in the request.
See more: google.cloud.compute_v1.services.networks.NetworksClient.update_peering_unary
google.cloud.compute_v1.services.networks.pagers.ListPager
ListPager(
method: typing.Callable[[...], google.cloud.compute_v1.types.compute.NetworkList],
request: google.cloud.compute_v1.types.compute.ListNetworksRequest,
response: google.cloud.compute_v1.types.compute.NetworkList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.networks.pagers.ListPager
google.cloud.compute_v1.services.networks.pagers.ListPeeringRoutesPager
ListPeeringRoutesPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.ExchangedPeeringRoutesList
],
request: google.cloud.compute_v1.types.compute.ListPeeringRoutesNetworksRequest,
response: google.cloud.compute_v1.types.compute.ExchangedPeeringRoutesList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.networks.pagers.ListPeeringRoutesPager
google.cloud.compute_v1.services.node_groups.NodeGroupsClient
NodeGroupsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.node_groups.transports.base.NodeGroupsTransport, typing.Callable[[...], google.cloud.compute_v1.services.node_groups.transports.base.NodeGroupsTransport]]] = 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 node groups client.
See more: google.cloud.compute_v1.services.node_groups.NodeGroupsClient
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.node_groups.NodeGroupsClient.exit
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.add_nodes
add_nodes(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddNodesNodeGroupRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
node_group: typing.Optional[str] = None,
node_groups_add_nodes_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NodeGroupsAddNodesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Adds specified number of nodes to the node group.
See more: google.cloud.compute_v1.services.node_groups.NodeGroupsClient.add_nodes
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.add_nodes_unary
add_nodes_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddNodesNodeGroupRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
node_group: typing.Optional[str] = None,
node_groups_add_nodes_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NodeGroupsAddNodesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Adds specified number of nodes to the node group.
See more: google.cloud.compute_v1.services.node_groups.NodeGroupsClient.add_nodes_unary
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListNodeGroupsRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.node_groups.pagers.AggregatedListPager
Retrieves an aggregated list of node groups.
See more: google.cloud.compute_v1.services.node_groups.NodeGroupsClient.aggregated_list
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.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.node_groups.NodeGroupsClient.common_billing_account_path
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.node_groups.NodeGroupsClient.common_folder_path
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.node_groups.NodeGroupsClient.common_location_path
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.node_groups.NodeGroupsClient.common_organization_path
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.node_groups.NodeGroupsClient.common_project_path
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.delete
delete(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeleteNodeGroupRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
node_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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified NodeGroup resource.
See more: google.cloud.compute_v1.services.node_groups.NodeGroupsClient.delete
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.delete_nodes
delete_nodes(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteNodesNodeGroupRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
node_group: typing.Optional[str] = None,
node_groups_delete_nodes_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NodeGroupsDeleteNodesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes specified nodes from the node group.
See more: google.cloud.compute_v1.services.node_groups.NodeGroupsClient.delete_nodes
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.delete_nodes_unary
delete_nodes_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteNodesNodeGroupRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
node_group: typing.Optional[str] = None,
node_groups_delete_nodes_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NodeGroupsDeleteNodesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes specified nodes from the node group.
See more: google.cloud.compute_v1.services.node_groups.NodeGroupsClient.delete_nodes_unary
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeleteNodeGroupRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
node_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified NodeGroup resource.
See more: google.cloud.compute_v1.services.node_groups.NodeGroupsClient.delete_unary
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.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.node_groups.NodeGroupsClient.from_service_account_file
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.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.node_groups.NodeGroupsClient.from_service_account_info
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.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.node_groups.NodeGroupsClient.from_service_account_json
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetNodeGroupRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
node_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.NodeGroup
Returns the specified NodeGroup.
See more: google.cloud.compute_v1.services.node_groups.NodeGroupsClient.get
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetIamPolicyNodeGroupRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Gets the access control policy for a resource.
See more: google.cloud.compute_v1.services.node_groups.NodeGroupsClient.get_iam_policy
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.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.node_groups.NodeGroupsClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.insert
insert(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.InsertNodeGroupRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
initial_node_count: typing.Optional[int] = None,
node_group_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NodeGroup
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a NodeGroup resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.node_groups.NodeGroupsClient.insert
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.InsertNodeGroupRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
initial_node_count: typing.Optional[int] = None,
node_group_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NodeGroup
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a NodeGroup resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.node_groups.NodeGroupsClient.insert_unary
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.list
list(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ListNodeGroupsRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.node_groups.pagers.ListPager
Retrieves a list of node groups available to the specified project.
See more: google.cloud.compute_v1.services.node_groups.NodeGroupsClient.list
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.list_nodes
list_nodes(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListNodesNodeGroupsRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
node_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, str]] = ()
) -> google.cloud.compute_v1.services.node_groups.pagers.ListNodesPager
Lists nodes in the node group.
See more: google.cloud.compute_v1.services.node_groups.NodeGroupsClient.list_nodes
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.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.node_groups.NodeGroupsClient.parse_common_billing_account_path
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.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.node_groups.NodeGroupsClient.parse_common_folder_path
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.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.node_groups.NodeGroupsClient.parse_common_location_path
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.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.node_groups.NodeGroupsClient.parse_common_organization_path
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.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.node_groups.NodeGroupsClient.parse_common_project_path
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.patch
patch(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.PatchNodeGroupRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
node_group: typing.Optional[str] = None,
node_group_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NodeGroup
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates the specified node group.
See more: google.cloud.compute_v1.services.node_groups.NodeGroupsClient.patch
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.PatchNodeGroupRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
node_group: typing.Optional[str] = None,
node_group_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NodeGroup
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates the specified node group.
See more: google.cloud.compute_v1.services.node_groups.NodeGroupsClient.patch_unary
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.perform_maintenance
perform_maintenance(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PerformMaintenanceNodeGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
node_group: typing.Optional[str] = None,
node_groups_perform_maintenance_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NodeGroupsPerformMaintenanceRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Perform maintenance on a subset of nodes in the node group.
See more: google.cloud.compute_v1.services.node_groups.NodeGroupsClient.perform_maintenance
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.perform_maintenance_unary
perform_maintenance_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PerformMaintenanceNodeGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
node_group: typing.Optional[str] = None,
node_groups_perform_maintenance_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NodeGroupsPerformMaintenanceRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Perform maintenance on a subset of nodes in the node group.
See more: google.cloud.compute_v1.services.node_groups.NodeGroupsClient.perform_maintenance_unary
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetIamPolicyNodeGroupRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Sets the access control policy on the specified resource.
See more: google.cloud.compute_v1.services.node_groups.NodeGroupsClient.set_iam_policy
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.set_node_template
set_node_template(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetNodeTemplateNodeGroupRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
node_group: typing.Optional[str] = None,
node_groups_set_node_template_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NodeGroupsSetNodeTemplateRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates the node template of the node group.
See more: google.cloud.compute_v1.services.node_groups.NodeGroupsClient.set_node_template
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.set_node_template_unary
set_node_template_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetNodeTemplateNodeGroupRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
node_group: typing.Optional[str] = None,
node_groups_set_node_template_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NodeGroupsSetNodeTemplateRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates the node template of the node group.
See more: google.cloud.compute_v1.services.node_groups.NodeGroupsClient.set_node_template_unary
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.simulate_maintenance_event
simulate_maintenance_event(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SimulateMaintenanceEventNodeGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
node_group: typing.Optional[str] = None,
node_groups_simulate_maintenance_event_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NodeGroupsSimulateMaintenanceEventRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Simulates maintenance event on specified nodes from the node group.
See more: google.cloud.compute_v1.services.node_groups.NodeGroupsClient.simulate_maintenance_event
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.simulate_maintenance_event_unary
simulate_maintenance_event_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SimulateMaintenanceEventNodeGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
node_group: typing.Optional[str] = None,
node_groups_simulate_maintenance_event_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NodeGroupsSimulateMaintenanceEventRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Simulates maintenance event on specified nodes from the node group.
See more: google.cloud.compute_v1.services.node_groups.NodeGroupsClient.simulate_maintenance_event_unary
google.cloud.compute_v1.services.node_groups.NodeGroupsClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.TestIamPermissionsNodeGroupRequest,
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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
See more: google.cloud.compute_v1.services.node_groups.NodeGroupsClient.test_iam_permissions
google.cloud.compute_v1.services.node_groups.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.NodeGroupAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListNodeGroupsRequest,
response: google.cloud.compute_v1.types.compute.NodeGroupAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.node_groups.pagers.AggregatedListPager
google.cloud.compute_v1.services.node_groups.pagers.ListNodesPager
ListNodesPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.NodeGroupsListNodes
],
request: google.cloud.compute_v1.types.compute.ListNodesNodeGroupsRequest,
response: google.cloud.compute_v1.types.compute.NodeGroupsListNodes,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.node_groups.pagers.ListNodesPager
google.cloud.compute_v1.services.node_groups.pagers.ListPager
ListPager(
method: typing.Callable[[...], google.cloud.compute_v1.types.compute.NodeGroupList],
request: google.cloud.compute_v1.types.compute.ListNodeGroupsRequest,
response: google.cloud.compute_v1.types.compute.NodeGroupList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.node_groups.pagers.ListPager
google.cloud.compute_v1.services.node_templates.NodeTemplatesClient
NodeTemplatesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.node_templates.transports.base.NodeTemplatesTransport, typing.Callable[[...], google.cloud.compute_v1.services.node_templates.transports.base.NodeTemplatesTransport]]] = 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 node templates client.
See more: google.cloud.compute_v1.services.node_templates.NodeTemplatesClient
google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.exit
google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListNodeTemplatesRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.node_templates.pagers.AggregatedListPager
Retrieves an aggregated list of node templates.
See more: google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.aggregated_list
google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.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.node_templates.NodeTemplatesClient.common_billing_account_path
google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.common_folder_path
google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.common_location_path
google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.common_organization_path
google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.common_project_path
google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteNodeTemplateRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
node_template: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified NodeTemplate resource.
See more: google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.delete
google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteNodeTemplateRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
node_template: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified NodeTemplate resource.
See more: google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.delete_unary
google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.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.node_templates.NodeTemplatesClient.from_service_account_file
google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.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.node_templates.NodeTemplatesClient.from_service_account_info
google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.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.node_templates.NodeTemplatesClient.from_service_account_json
google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetNodeTemplateRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
node_template: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.NodeTemplate
Returns the specified node template.
See more: google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.get
google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetIamPolicyNodeTemplateRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Gets the access control policy for a resource.
See more: google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.get_iam_policy
google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.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.node_templates.NodeTemplatesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertNodeTemplateRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
node_template_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NodeTemplate
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a NodeTemplate resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.insert
google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertNodeTemplateRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
node_template_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NodeTemplate
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a NodeTemplate resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.insert_unary
google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListNodeTemplatesRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.node_templates.pagers.ListPager
Retrieves a list of node templates available to the specified project.
See more: google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.list
google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.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.node_templates.NodeTemplatesClient.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.node_templates.NodeTemplatesClient.parse_common_folder_path
google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.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.node_templates.NodeTemplatesClient.parse_common_location_path
google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.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.node_templates.NodeTemplatesClient.parse_common_organization_path
google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.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.node_templates.NodeTemplatesClient.parse_common_project_path
google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetIamPolicyNodeTemplateRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
region_set_policy_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionSetPolicyRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Sets the access control policy on the specified resource.
See more: google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.set_iam_policy
google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.TestIamPermissionsNodeTemplateRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
See more: google.cloud.compute_v1.services.node_templates.NodeTemplatesClient.test_iam_permissions
google.cloud.compute_v1.services.node_templates.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.NodeTemplateAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListNodeTemplatesRequest,
response: google.cloud.compute_v1.types.compute.NodeTemplateAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.node_templates.pagers.AggregatedListPager
google.cloud.compute_v1.services.node_templates.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.NodeTemplateList
],
request: google.cloud.compute_v1.types.compute.ListNodeTemplatesRequest,
response: google.cloud.compute_v1.types.compute.NodeTemplateList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.node_templates.pagers.ListPager
google.cloud.compute_v1.services.node_types.NodeTypesClient
NodeTypesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.node_types.transports.base.NodeTypesTransport, typing.Callable[[...], google.cloud.compute_v1.services.node_types.transports.base.NodeTypesTransport]]] = 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 node types client.
See more: google.cloud.compute_v1.services.node_types.NodeTypesClient
google.cloud.compute_v1.services.node_types.NodeTypesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.node_types.NodeTypesClient.exit
google.cloud.compute_v1.services.node_types.NodeTypesClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListNodeTypesRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.node_types.pagers.AggregatedListPager
Retrieves an aggregated list of node types.
See more: google.cloud.compute_v1.services.node_types.NodeTypesClient.aggregated_list
google.cloud.compute_v1.services.node_types.NodeTypesClient.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.node_types.NodeTypesClient.common_billing_account_path
google.cloud.compute_v1.services.node_types.NodeTypesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.node_types.NodeTypesClient.common_folder_path
google.cloud.compute_v1.services.node_types.NodeTypesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.node_types.NodeTypesClient.common_location_path
google.cloud.compute_v1.services.node_types.NodeTypesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.node_types.NodeTypesClient.common_organization_path
google.cloud.compute_v1.services.node_types.NodeTypesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.node_types.NodeTypesClient.common_project_path
google.cloud.compute_v1.services.node_types.NodeTypesClient.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.node_types.NodeTypesClient.from_service_account_file
google.cloud.compute_v1.services.node_types.NodeTypesClient.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.node_types.NodeTypesClient.from_service_account_info
google.cloud.compute_v1.services.node_types.NodeTypesClient.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.node_types.NodeTypesClient.from_service_account_json
google.cloud.compute_v1.services.node_types.NodeTypesClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetNodeTypeRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
node_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.NodeType
Returns the specified node type.
See more: google.cloud.compute_v1.services.node_types.NodeTypesClient.get
google.cloud.compute_v1.services.node_types.NodeTypesClient.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.node_types.NodeTypesClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.node_types.NodeTypesClient.list
list(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ListNodeTypesRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.node_types.pagers.ListPager
Retrieves a list of node types available to the specified project.
See more: google.cloud.compute_v1.services.node_types.NodeTypesClient.list
google.cloud.compute_v1.services.node_types.NodeTypesClient.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.node_types.NodeTypesClient.parse_common_billing_account_path
google.cloud.compute_v1.services.node_types.NodeTypesClient.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.node_types.NodeTypesClient.parse_common_folder_path
google.cloud.compute_v1.services.node_types.NodeTypesClient.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.node_types.NodeTypesClient.parse_common_location_path
google.cloud.compute_v1.services.node_types.NodeTypesClient.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.node_types.NodeTypesClient.parse_common_organization_path
google.cloud.compute_v1.services.node_types.NodeTypesClient.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.node_types.NodeTypesClient.parse_common_project_path
google.cloud.compute_v1.services.node_types.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.NodeTypeAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListNodeTypesRequest,
response: google.cloud.compute_v1.types.compute.NodeTypeAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.node_types.pagers.AggregatedListPager
google.cloud.compute_v1.services.node_types.pagers.ListPager
ListPager(
method: typing.Callable[[...], google.cloud.compute_v1.types.compute.NodeTypeList],
request: google.cloud.compute_v1.types.compute.ListNodeTypesRequest,
response: google.cloud.compute_v1.types.compute.NodeTypeList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.node_types.pagers.ListPager
google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient
PacketMirroringsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.packet_mirrorings.transports.base.PacketMirroringsTransport, typing.Callable[[...], google.cloud.compute_v1.services.packet_mirrorings.transports.base.PacketMirroringsTransport]]] = 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 packet mirrorings client.
See more: google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient
google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.exit
google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListPacketMirroringsRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.packet_mirrorings.pagers.AggregatedListPager
Retrieves an aggregated list of packetMirrorings.
See more: google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.aggregated_list
google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.common_folder_path
google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.common_location_path
google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.common_organization_path
google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.common_project_path
google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeletePacketMirroringRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
packet_mirroring: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified PacketMirroring resource.
See more: google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.delete
google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeletePacketMirroringRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
packet_mirroring: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified PacketMirroring resource.
See more: google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.delete_unary
google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.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.packet_mirrorings.PacketMirroringsClient.from_service_account_file
google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.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.packet_mirrorings.PacketMirroringsClient.from_service_account_info
google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.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.packet_mirrorings.PacketMirroringsClient.from_service_account_json
google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetPacketMirroringRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
packet_mirroring: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.PacketMirroring
Returns the specified PacketMirroring resource.
See more: google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.get
google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.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.packet_mirrorings.PacketMirroringsClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertPacketMirroringRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
packet_mirroring_resource: typing.Optional[
google.cloud.compute_v1.types.compute.PacketMirroring
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a PacketMirroring resource in the specified project and region using the data included in the request.
See more: google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.insert
google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertPacketMirroringRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
packet_mirroring_resource: typing.Optional[
google.cloud.compute_v1.types.compute.PacketMirroring
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a PacketMirroring resource in the specified project and region using the data included in the request.
See more: google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.insert_unary
google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListPacketMirroringsRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.packet_mirrorings.pagers.ListPager
Retrieves a list of PacketMirroring resources available to the specified project and region.
See more: google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.list
google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.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.packet_mirrorings.PacketMirroringsClient.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.packet_mirrorings.PacketMirroringsClient.parse_common_folder_path
google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.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.packet_mirrorings.PacketMirroringsClient.parse_common_location_path
google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.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.packet_mirrorings.PacketMirroringsClient.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.packet_mirrorings.PacketMirroringsClient.parse_common_project_path
google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchPacketMirroringRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
packet_mirroring: typing.Optional[str] = None,
packet_mirroring_resource: typing.Optional[
google.cloud.compute_v1.types.compute.PacketMirroring
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches the specified PacketMirroring resource with the data included in the request.
See more: google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.patch
google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchPacketMirroringRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
packet_mirroring: typing.Optional[str] = None,
packet_mirroring_resource: typing.Optional[
google.cloud.compute_v1.types.compute.PacketMirroring
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Patches the specified PacketMirroring resource with the data included in the request.
See more: google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.patch_unary
google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.TestIamPermissionsPacketMirroringRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
See more: google.cloud.compute_v1.services.packet_mirrorings.PacketMirroringsClient.test_iam_permissions
google.cloud.compute_v1.services.packet_mirrorings.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.PacketMirroringAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListPacketMirroringsRequest,
response: google.cloud.compute_v1.types.compute.PacketMirroringAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.packet_mirrorings.pagers.AggregatedListPager
google.cloud.compute_v1.services.packet_mirrorings.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.PacketMirroringList
],
request: google.cloud.compute_v1.types.compute.ListPacketMirroringsRequest,
response: google.cloud.compute_v1.types.compute.PacketMirroringList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.packet_mirrorings.pagers.ListPager
google.cloud.compute_v1.services.projects.ProjectsClient
ProjectsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.projects.transports.base.ProjectsTransport, typing.Callable[[...], google.cloud.compute_v1.services.projects.transports.base.ProjectsTransport]]] = 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 projects client.
See more: google.cloud.compute_v1.services.projects.ProjectsClient
google.cloud.compute_v1.services.projects.ProjectsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.projects.ProjectsClient.exit
google.cloud.compute_v1.services.projects.ProjectsClient.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.projects.ProjectsClient.common_billing_account_path
google.cloud.compute_v1.services.projects.ProjectsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.projects.ProjectsClient.common_folder_path
google.cloud.compute_v1.services.projects.ProjectsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.projects.ProjectsClient.common_location_path
google.cloud.compute_v1.services.projects.ProjectsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.projects.ProjectsClient.common_organization_path
google.cloud.compute_v1.services.projects.ProjectsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.projects.ProjectsClient.common_project_path
google.cloud.compute_v1.services.projects.ProjectsClient.disable_xpn_host
disable_xpn_host(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DisableXpnHostProjectRequest, 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Disable this project as a shared VPC host project.
See more: google.cloud.compute_v1.services.projects.ProjectsClient.disable_xpn_host
google.cloud.compute_v1.services.projects.ProjectsClient.disable_xpn_host_unary
disable_xpn_host_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DisableXpnHostProjectRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Disable this project as a shared VPC host project.
See more: google.cloud.compute_v1.services.projects.ProjectsClient.disable_xpn_host_unary
google.cloud.compute_v1.services.projects.ProjectsClient.disable_xpn_resource
disable_xpn_resource(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DisableXpnResourceProjectRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
projects_disable_xpn_resource_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ProjectsDisableXpnResourceRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Disable a service resource (also known as service project) associated with this host project.
See more: google.cloud.compute_v1.services.projects.ProjectsClient.disable_xpn_resource
google.cloud.compute_v1.services.projects.ProjectsClient.disable_xpn_resource_unary
disable_xpn_resource_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DisableXpnResourceProjectRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
projects_disable_xpn_resource_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ProjectsDisableXpnResourceRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Disable a service resource (also known as service project) associated with this host project.
See more: google.cloud.compute_v1.services.projects.ProjectsClient.disable_xpn_resource_unary
google.cloud.compute_v1.services.projects.ProjectsClient.enable_xpn_host
enable_xpn_host(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.EnableXpnHostProjectRequest, 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Enable this project as a shared VPC host project.
See more: google.cloud.compute_v1.services.projects.ProjectsClient.enable_xpn_host
google.cloud.compute_v1.services.projects.ProjectsClient.enable_xpn_host_unary
enable_xpn_host_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.EnableXpnHostProjectRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Enable this project as a shared VPC host project.
See more: google.cloud.compute_v1.services.projects.ProjectsClient.enable_xpn_host_unary
google.cloud.compute_v1.services.projects.ProjectsClient.enable_xpn_resource
enable_xpn_resource(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.EnableXpnResourceProjectRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
projects_enable_xpn_resource_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ProjectsEnableXpnResourceRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Enable service resource (a.k.a service project) for a host project, so that subnets in the host project can be used by instances in the service project.
See more: google.cloud.compute_v1.services.projects.ProjectsClient.enable_xpn_resource
google.cloud.compute_v1.services.projects.ProjectsClient.enable_xpn_resource_unary
enable_xpn_resource_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.EnableXpnResourceProjectRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
projects_enable_xpn_resource_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ProjectsEnableXpnResourceRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Enable service resource (a.k.a service project) for a host project, so that subnets in the host project can be used by instances in the service project.
See more: google.cloud.compute_v1.services.projects.ProjectsClient.enable_xpn_resource_unary
google.cloud.compute_v1.services.projects.ProjectsClient.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.projects.ProjectsClient.from_service_account_file
google.cloud.compute_v1.services.projects.ProjectsClient.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.projects.ProjectsClient.from_service_account_info
google.cloud.compute_v1.services.projects.ProjectsClient.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.projects.ProjectsClient.from_service_account_json
google.cloud.compute_v1.services.projects.ProjectsClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetProjectRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Project
Returns the specified Project resource.
See more: google.cloud.compute_v1.services.projects.ProjectsClient.get
google.cloud.compute_v1.services.projects.ProjectsClient.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.projects.ProjectsClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.projects.ProjectsClient.get_xpn_host
get_xpn_host(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetXpnHostProjectRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Project
Gets the shared VPC host project that this project links to.
See more: google.cloud.compute_v1.services.projects.ProjectsClient.get_xpn_host
google.cloud.compute_v1.services.projects.ProjectsClient.get_xpn_resources
get_xpn_resources(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetXpnResourcesProjectsRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.projects.pagers.GetXpnResourcesPager
Gets service resources (a.k.a service project) associated with this host project.
See more: google.cloud.compute_v1.services.projects.ProjectsClient.get_xpn_resources
google.cloud.compute_v1.services.projects.ProjectsClient.list_xpn_hosts
list_xpn_hosts(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListXpnHostsProjectsRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
projects_list_xpn_hosts_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ProjectsListXpnHostsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.services.projects.pagers.ListXpnHostsPager
Lists all shared VPC host projects visible to the user in an organization.
See more: google.cloud.compute_v1.services.projects.ProjectsClient.list_xpn_hosts
google.cloud.compute_v1.services.projects.ProjectsClient.move_disk
move_disk(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.MoveDiskProjectRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
disk_move_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.DiskMoveRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Moves a persistent disk from one zone to another.
See more: google.cloud.compute_v1.services.projects.ProjectsClient.move_disk
google.cloud.compute_v1.services.projects.ProjectsClient.move_disk_unary
move_disk_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.MoveDiskProjectRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
disk_move_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.DiskMoveRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Moves a persistent disk from one zone to another.
See more: google.cloud.compute_v1.services.projects.ProjectsClient.move_disk_unary
google.cloud.compute_v1.services.projects.ProjectsClient.move_instance
move_instance(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.MoveInstanceProjectRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
instance_move_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceMoveRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Moves an instance and its attached persistent disks from one zone to another.
See more: google.cloud.compute_v1.services.projects.ProjectsClient.move_instance
google.cloud.compute_v1.services.projects.ProjectsClient.move_instance_unary
move_instance_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.MoveInstanceProjectRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
instance_move_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceMoveRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Moves an instance and its attached persistent disks from one zone to another.
See more: google.cloud.compute_v1.services.projects.ProjectsClient.move_instance_unary
google.cloud.compute_v1.services.projects.ProjectsClient.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.projects.ProjectsClient.parse_common_billing_account_path
google.cloud.compute_v1.services.projects.ProjectsClient.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.projects.ProjectsClient.parse_common_folder_path
google.cloud.compute_v1.services.projects.ProjectsClient.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.projects.ProjectsClient.parse_common_location_path
google.cloud.compute_v1.services.projects.ProjectsClient.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.projects.ProjectsClient.parse_common_organization_path
google.cloud.compute_v1.services.projects.ProjectsClient.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.projects.ProjectsClient.parse_common_project_path
google.cloud.compute_v1.services.projects.ProjectsClient.set_cloud_armor_tier
set_cloud_armor_tier(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetCloudArmorTierProjectRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
projects_set_cloud_armor_tier_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ProjectsSetCloudArmorTierRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the Cloud Armor tier of the project.
See more: google.cloud.compute_v1.services.projects.ProjectsClient.set_cloud_armor_tier
google.cloud.compute_v1.services.projects.ProjectsClient.set_cloud_armor_tier_unary
set_cloud_armor_tier_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetCloudArmorTierProjectRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
projects_set_cloud_armor_tier_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ProjectsSetCloudArmorTierRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the Cloud Armor tier of the project.
See more: google.cloud.compute_v1.services.projects.ProjectsClient.set_cloud_armor_tier_unary
google.cloud.compute_v1.services.projects.ProjectsClient.set_common_instance_metadata
set_common_instance_metadata(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetCommonInstanceMetadataProjectRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
metadata_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Metadata
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets metadata common to all instances within the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.projects.ProjectsClient.set_common_instance_metadata
google.cloud.compute_v1.services.projects.ProjectsClient.set_common_instance_metadata_unary
set_common_instance_metadata_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetCommonInstanceMetadataProjectRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
metadata_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Metadata
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets metadata common to all instances within the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.projects.ProjectsClient.set_common_instance_metadata_unary
google.cloud.compute_v1.services.projects.ProjectsClient.set_default_network_tier
set_default_network_tier(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetDefaultNetworkTierProjectRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
projects_set_default_network_tier_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ProjectsSetDefaultNetworkTierRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the default network tier of the project.
See more: google.cloud.compute_v1.services.projects.ProjectsClient.set_default_network_tier
google.cloud.compute_v1.services.projects.ProjectsClient.set_default_network_tier_unary
set_default_network_tier_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetDefaultNetworkTierProjectRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
projects_set_default_network_tier_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ProjectsSetDefaultNetworkTierRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the default network tier of the project.
See more: google.cloud.compute_v1.services.projects.ProjectsClient.set_default_network_tier_unary
google.cloud.compute_v1.services.projects.ProjectsClient.set_usage_export_bucket
set_usage_export_bucket(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetUsageExportBucketProjectRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
usage_export_location_resource: typing.Optional[
google.cloud.compute_v1.types.compute.UsageExportLocation
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Enables the usage export feature and sets the usage export bucket where reports are stored.
See more: google.cloud.compute_v1.services.projects.ProjectsClient.set_usage_export_bucket
google.cloud.compute_v1.services.projects.ProjectsClient.set_usage_export_bucket_unary
set_usage_export_bucket_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetUsageExportBucketProjectRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
usage_export_location_resource: typing.Optional[
google.cloud.compute_v1.types.compute.UsageExportLocation
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Enables the usage export feature and sets the usage export bucket where reports are stored.
See more: google.cloud.compute_v1.services.projects.ProjectsClient.set_usage_export_bucket_unary
google.cloud.compute_v1.services.projects.pagers.GetXpnResourcesPager
GetXpnResourcesPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.ProjectsGetXpnResources
],
request: google.cloud.compute_v1.types.compute.GetXpnResourcesProjectsRequest,
response: google.cloud.compute_v1.types.compute.ProjectsGetXpnResources,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.projects.pagers.GetXpnResourcesPager
google.cloud.compute_v1.services.projects.pagers.ListXpnHostsPager
ListXpnHostsPager(
method: typing.Callable[[...], google.cloud.compute_v1.types.compute.XpnHostList],
request: google.cloud.compute_v1.types.compute.ListXpnHostsProjectsRequest,
response: google.cloud.compute_v1.types.compute.XpnHostList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.projects.pagers.ListXpnHostsPager
google.cloud.compute_v1.services.public_advertised_prefixes.PublicAdvertisedPrefixesClient
PublicAdvertisedPrefixesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.public_advertised_prefixes.transports.base.PublicAdvertisedPrefixesTransport, typing.Callable[[...], google.cloud.compute_v1.services.public_advertised_prefixes.transports.base.PublicAdvertisedPrefixesTransport]]] = 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 public advertised prefixes client.
See more: google.cloud.compute_v1.services.public_advertised_prefixes.PublicAdvertisedPrefixesClient
google.cloud.compute_v1.services.public_advertised_prefixes.PublicAdvertisedPrefixesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.public_advertised_prefixes.PublicAdvertisedPrefixesClient.exit
google.cloud.compute_v1.services.public_advertised_prefixes.PublicAdvertisedPrefixesClient.announce
announce(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AnnouncePublicAdvertisedPrefixeRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
public_advertised_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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Announces the specified PublicAdvertisedPrefix.
See more: google.cloud.compute_v1.services.public_advertised_prefixes.PublicAdvertisedPrefixesClient.announce
google.cloud.compute_v1.services.public_advertised_prefixes.PublicAdvertisedPrefixesClient.announce_unary
announce_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AnnouncePublicAdvertisedPrefixeRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
public_advertised_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Announces the specified PublicAdvertisedPrefix.
google.cloud.compute_v1.services.public_advertised_prefixes.PublicAdvertisedPrefixesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.public_advertised_prefixes.PublicAdvertisedPrefixesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.public_advertised_prefixes.PublicAdvertisedPrefixesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.public_advertised_prefixes.PublicAdvertisedPrefixesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.public_advertised_prefixes.PublicAdvertisedPrefixesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.public_advertised_prefixes.PublicAdvertisedPrefixesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeletePublicAdvertisedPrefixeRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
public_advertised_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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified PublicAdvertisedPrefix.
See more: google.cloud.compute_v1.services.public_advertised_prefixes.PublicAdvertisedPrefixesClient.delete
google.cloud.compute_v1.services.public_advertised_prefixes.PublicAdvertisedPrefixesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeletePublicAdvertisedPrefixeRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
public_advertised_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified PublicAdvertisedPrefix.
google.cloud.compute_v1.services.public_advertised_prefixes.PublicAdvertisedPrefixesClient.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.public_advertised_prefixes.PublicAdvertisedPrefixesClient.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.public_advertised_prefixes.PublicAdvertisedPrefixesClient.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.public_advertised_prefixes.PublicAdvertisedPrefixesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetPublicAdvertisedPrefixeRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
public_advertised_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.PublicAdvertisedPrefix
Returns the specified PublicAdvertisedPrefix resource.
See more: google.cloud.compute_v1.services.public_advertised_prefixes.PublicAdvertisedPrefixesClient.get
google.cloud.compute_v1.services.public_advertised_prefixes.PublicAdvertisedPrefixesClient.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.public_advertised_prefixes.PublicAdvertisedPrefixesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertPublicAdvertisedPrefixeRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
public_advertised_prefix_resource: typing.Optional[
google.cloud.compute_v1.types.compute.PublicAdvertisedPrefix
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a PublicAdvertisedPrefix in the specified project using the parameters that are included in the request.
See more: google.cloud.compute_v1.services.public_advertised_prefixes.PublicAdvertisedPrefixesClient.insert
google.cloud.compute_v1.services.public_advertised_prefixes.PublicAdvertisedPrefixesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertPublicAdvertisedPrefixeRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
public_advertised_prefix_resource: typing.Optional[
google.cloud.compute_v1.types.compute.PublicAdvertisedPrefix
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a PublicAdvertisedPrefix in the specified project using the parameters that are included in the request.
google.cloud.compute_v1.services.public_advertised_prefixes.PublicAdvertisedPrefixesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListPublicAdvertisedPrefixesRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.public_advertised_prefixes.pagers.ListPager
Lists the PublicAdvertisedPrefixes for a project.
See more: google.cloud.compute_v1.services.public_advertised_prefixes.PublicAdvertisedPrefixesClient.list
google.cloud.compute_v1.services.public_advertised_prefixes.PublicAdvertisedPrefixesClient.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.public_advertised_prefixes.PublicAdvertisedPrefixesClient.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.public_advertised_prefixes.PublicAdvertisedPrefixesClient.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.public_advertised_prefixes.PublicAdvertisedPrefixesClient.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.public_advertised_prefixes.PublicAdvertisedPrefixesClient.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.public_advertised_prefixes.PublicAdvertisedPrefixesClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchPublicAdvertisedPrefixeRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
public_advertised_prefix: typing.Optional[str] = None,
public_advertised_prefix_resource: typing.Optional[
google.cloud.compute_v1.types.compute.PublicAdvertisedPrefix
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches the specified Router resource with the data included in the request.
See more: google.cloud.compute_v1.services.public_advertised_prefixes.PublicAdvertisedPrefixesClient.patch
google.cloud.compute_v1.services.public_advertised_prefixes.PublicAdvertisedPrefixesClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchPublicAdvertisedPrefixeRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
public_advertised_prefix: typing.Optional[str] = None,
public_advertised_prefix_resource: typing.Optional[
google.cloud.compute_v1.types.compute.PublicAdvertisedPrefix
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Patches the specified Router resource with the data included in the request.
google.cloud.compute_v1.services.public_advertised_prefixes.PublicAdvertisedPrefixesClient.withdraw
withdraw(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.WithdrawPublicAdvertisedPrefixeRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
public_advertised_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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Withdraws the specified PublicAdvertisedPrefix.
See more: google.cloud.compute_v1.services.public_advertised_prefixes.PublicAdvertisedPrefixesClient.withdraw
google.cloud.compute_v1.services.public_advertised_prefixes.PublicAdvertisedPrefixesClient.withdraw_unary
withdraw_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.WithdrawPublicAdvertisedPrefixeRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
public_advertised_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Withdraws the specified PublicAdvertisedPrefix.
google.cloud.compute_v1.services.public_advertised_prefixes.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.PublicAdvertisedPrefixList
],
request: google.cloud.compute_v1.types.compute.ListPublicAdvertisedPrefixesRequest,
response: google.cloud.compute_v1.types.compute.PublicAdvertisedPrefixList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.public_advertised_prefixes.pagers.ListPager
google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient
PublicDelegatedPrefixesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.public_delegated_prefixes.transports.base.PublicDelegatedPrefixesTransport, typing.Callable[[...], google.cloud.compute_v1.services.public_delegated_prefixes.transports.base.PublicDelegatedPrefixesTransport]]] = 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 public delegated prefixes client.
See more: google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient
google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient.exit
google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListPublicDelegatedPrefixesRequest,
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, str]] = ()
) -> (
google.cloud.compute_v1.services.public_delegated_prefixes.pagers.AggregatedListPager
)
Lists all PublicDelegatedPrefix resources owned by the specific project across all scopes.
google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient.announce
announce(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AnnouncePublicDelegatedPrefixeRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Announces the specified PublicDelegatedPrefix in the given region.
See more: google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient.announce
google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient.announce_unary
announce_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AnnouncePublicDelegatedPrefixeRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Announces the specified PublicDelegatedPrefix in the given region.
google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeletePublicDelegatedPrefixeRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified PublicDelegatedPrefix in the given region.
See more: google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient.delete
google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeletePublicDelegatedPrefixeRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified PublicDelegatedPrefix in the given region.
google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient.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.public_delegated_prefixes.PublicDelegatedPrefixesClient.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.public_delegated_prefixes.PublicDelegatedPrefixesClient.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.public_delegated_prefixes.PublicDelegatedPrefixesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetPublicDelegatedPrefixeRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.PublicDelegatedPrefix
Returns the specified PublicDelegatedPrefix resource in the given region.
See more: google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient.get
google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient.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.public_delegated_prefixes.PublicDelegatedPrefixesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertPublicDelegatedPrefixeRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a PublicDelegatedPrefix in the specified project in the given region using the parameters that are included in the request.
See more: google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient.insert
google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertPublicDelegatedPrefixeRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a PublicDelegatedPrefix in the specified project in the given region using the parameters that are included in the request.
google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListPublicDelegatedPrefixesRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.public_delegated_prefixes.pagers.ListPager
Lists the PublicDelegatedPrefixes for a project in the given region.
See more: google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient.list
google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient.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.public_delegated_prefixes.PublicDelegatedPrefixesClient.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.public_delegated_prefixes.PublicDelegatedPrefixesClient.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.public_delegated_prefixes.PublicDelegatedPrefixesClient.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.public_delegated_prefixes.PublicDelegatedPrefixesClient.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.public_delegated_prefixes.PublicDelegatedPrefixesClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchPublicDelegatedPrefixeRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches the specified PublicDelegatedPrefix resource with the data included in the request.
See more: google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient.patch
google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchPublicDelegatedPrefixeRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Patches the specified PublicDelegatedPrefix resource with the data included in the request.
See more: google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient.patch_unary
google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient.withdraw
withdraw(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.WithdrawPublicDelegatedPrefixeRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Withdraws the specified PublicDelegatedPrefix in the given region.
See more: google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient.withdraw
google.cloud.compute_v1.services.public_delegated_prefixes.PublicDelegatedPrefixesClient.withdraw_unary
withdraw_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.WithdrawPublicDelegatedPrefixeRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Withdraws the specified PublicDelegatedPrefix in the given region.
google.cloud.compute_v1.services.public_delegated_prefixes.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.PublicDelegatedPrefixAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListPublicDelegatedPrefixesRequest,
response: google.cloud.compute_v1.types.compute.PublicDelegatedPrefixAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.public_delegated_prefixes.pagers.AggregatedListPager
google.cloud.compute_v1.services.public_delegated_prefixes.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.PublicDelegatedPrefixList
],
request: google.cloud.compute_v1.types.compute.ListPublicDelegatedPrefixesRequest,
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, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.public_delegated_prefixes.pagers.ListPager
google.cloud.compute_v1.services.region_autoscalers.RegionAutoscalersClient
RegionAutoscalersClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.region_autoscalers.transports.base.RegionAutoscalersTransport, typing.Callable[[...], google.cloud.compute_v1.services.region_autoscalers.transports.base.RegionAutoscalersTransport]]] = 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 region autoscalers client.
See more: google.cloud.compute_v1.services.region_autoscalers.RegionAutoscalersClient
google.cloud.compute_v1.services.region_autoscalers.RegionAutoscalersClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.region_autoscalers.RegionAutoscalersClient.exit
google.cloud.compute_v1.services.region_autoscalers.RegionAutoscalersClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.region_autoscalers.RegionAutoscalersClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.region_autoscalers.RegionAutoscalersClient.common_folder_path
google.cloud.compute_v1.services.region_autoscalers.RegionAutoscalersClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.region_autoscalers.RegionAutoscalersClient.common_location_path
google.cloud.compute_v1.services.region_autoscalers.RegionAutoscalersClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.region_autoscalers.RegionAutoscalersClient.common_organization_path
google.cloud.compute_v1.services.region_autoscalers.RegionAutoscalersClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.region_autoscalers.RegionAutoscalersClient.common_project_path
google.cloud.compute_v1.services.region_autoscalers.RegionAutoscalersClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionAutoscalerRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified autoscaler.
See more: google.cloud.compute_v1.services.region_autoscalers.RegionAutoscalersClient.delete
google.cloud.compute_v1.services.region_autoscalers.RegionAutoscalersClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionAutoscalerRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified autoscaler.
See more: google.cloud.compute_v1.services.region_autoscalers.RegionAutoscalersClient.delete_unary
google.cloud.compute_v1.services.region_autoscalers.RegionAutoscalersClient.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.region_autoscalers.RegionAutoscalersClient.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.region_autoscalers.RegionAutoscalersClient.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.region_autoscalers.RegionAutoscalersClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetRegionAutoscalerRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Autoscaler
Returns the specified autoscaler.
See more: google.cloud.compute_v1.services.region_autoscalers.RegionAutoscalersClient.get
google.cloud.compute_v1.services.region_autoscalers.RegionAutoscalersClient.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.region_autoscalers.RegionAutoscalersClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionAutoscalerRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> 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.region_autoscalers.RegionAutoscalersClient.insert
google.cloud.compute_v1.services.region_autoscalers.RegionAutoscalersClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionAutoscalerRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> 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.region_autoscalers.RegionAutoscalersClient.insert_unary
google.cloud.compute_v1.services.region_autoscalers.RegionAutoscalersClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListRegionAutoscalersRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.region_autoscalers.pagers.ListPager
Retrieves a list of autoscalers contained within the specified region.
See more: google.cloud.compute_v1.services.region_autoscalers.RegionAutoscalersClient.list
google.cloud.compute_v1.services.region_autoscalers.RegionAutoscalersClient.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.region_autoscalers.RegionAutoscalersClient.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.region_autoscalers.RegionAutoscalersClient.parse_common_folder_path
google.cloud.compute_v1.services.region_autoscalers.RegionAutoscalersClient.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.region_autoscalers.RegionAutoscalersClient.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.region_autoscalers.RegionAutoscalersClient.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.region_autoscalers.RegionAutoscalersClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRegionAutoscalerRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> 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.region_autoscalers.RegionAutoscalersClient.patch
google.cloud.compute_v1.services.region_autoscalers.RegionAutoscalersClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRegionAutoscalerRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> 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.region_autoscalers.RegionAutoscalersClient.patch_unary
google.cloud.compute_v1.services.region_autoscalers.RegionAutoscalersClient.update
update(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateRegionAutoscalerRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> 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.region_autoscalers.RegionAutoscalersClient.update
google.cloud.compute_v1.services.region_autoscalers.RegionAutoscalersClient.update_unary
update_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateRegionAutoscalerRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> 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.region_autoscalers.RegionAutoscalersClient.update_unary
google.cloud.compute_v1.services.region_autoscalers.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.RegionAutoscalerList
],
request: google.cloud.compute_v1.types.compute.ListRegionAutoscalersRequest,
response: google.cloud.compute_v1.types.compute.RegionAutoscalerList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_autoscalers.pagers.ListPager
google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient
RegionBackendServicesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.region_backend_services.transports.base.RegionBackendServicesTransport, typing.Callable[[...], google.cloud.compute_v1.services.region_backend_services.transports.base.RegionBackendServicesTransport]]] = 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 region backend services client.
See more: google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient
google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.exit
google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionBackendServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified regional BackendService resource.
See more: google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.delete
google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionBackendServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified regional BackendService resource.
See more: google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.delete_unary
google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.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.region_backend_services.RegionBackendServicesClient.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.region_backend_services.RegionBackendServicesClient.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.region_backend_services.RegionBackendServicesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetRegionBackendServiceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.BackendService
Returns the specified regional BackendService resource.
See more: google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.get
google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.get_health
get_health(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetHealthRegionBackendServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.BackendServiceGroupHealth
Gets the most recent health check results for this regional BackendService.
See more: google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.get_health
google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetIamPolicyRegionBackendServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Gets the access control policy for a resource.
See more: google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.get_iam_policy
google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.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.region_backend_services.RegionBackendServicesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionBackendServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a regional BackendService resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.insert
google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionBackendServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a regional BackendService resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.insert_unary
google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListRegionBackendServicesRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.region_backend_services.pagers.ListPager
Retrieves the list of regional BackendService resources available to the specified project in the given region.
See more: google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.list
google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.list_usable
list_usable(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListUsableRegionBackendServicesRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.region_backend_services.pagers.ListUsablePager
Retrieves an aggregated list of all usable backend services in the specified project in the given region.
See more: google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.list_usable
google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.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.region_backend_services.RegionBackendServicesClient.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.region_backend_services.RegionBackendServicesClient.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.region_backend_services.RegionBackendServicesClient.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.region_backend_services.RegionBackendServicesClient.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.region_backend_services.RegionBackendServicesClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRegionBackendServiceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates the specified regional BackendService resource with the data included in the request.
See more: google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.patch
google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRegionBackendServiceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates the specified regional BackendService resource with the data included in the request.
See more: google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.patch_unary
google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetIamPolicyRegionBackendServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
region_set_policy_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionSetPolicyRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Sets the access control policy on the specified resource.
See more: google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.set_iam_policy
google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.set_security_policy
set_security_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetSecurityPolicyRegionBackendServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the Google Cloud Armor security policy for the specified backend service.
google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.set_security_policy_unary
set_security_policy_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetSecurityPolicyRegionBackendServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the Google Cloud Armor security policy for the specified backend service.
google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.TestIamPermissionsRegionBackendServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.update
update(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateRegionBackendServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates the specified regional BackendService resource with the data included in the request.
See more: google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.update
google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.update_unary
update_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateRegionBackendServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates the specified regional BackendService resource with the data included in the request.
See more: google.cloud.compute_v1.services.region_backend_services.RegionBackendServicesClient.update_unary
google.cloud.compute_v1.services.region_backend_services.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.BackendServiceList
],
request: google.cloud.compute_v1.types.compute.ListRegionBackendServicesRequest,
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, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_backend_services.pagers.ListPager
google.cloud.compute_v1.services.region_backend_services.pagers.ListUsablePager
ListUsablePager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.BackendServiceListUsable
],
request: google.cloud.compute_v1.types.compute.ListUsableRegionBackendServicesRequest,
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, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_backend_services.pagers.ListUsablePager
google.cloud.compute_v1.services.region_commitments.RegionCommitmentsClient
RegionCommitmentsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.region_commitments.transports.base.RegionCommitmentsTransport, typing.Callable[[...], google.cloud.compute_v1.services.region_commitments.transports.base.RegionCommitmentsTransport]]] = 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 region commitments client.
See more: google.cloud.compute_v1.services.region_commitments.RegionCommitmentsClient
google.cloud.compute_v1.services.region_commitments.RegionCommitmentsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.region_commitments.RegionCommitmentsClient.exit
google.cloud.compute_v1.services.region_commitments.RegionCommitmentsClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListRegionCommitmentsRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.region_commitments.pagers.AggregatedListPager
Retrieves an aggregated list of commitments by region.
See more: google.cloud.compute_v1.services.region_commitments.RegionCommitmentsClient.aggregated_list
google.cloud.compute_v1.services.region_commitments.RegionCommitmentsClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.region_commitments.RegionCommitmentsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.region_commitments.RegionCommitmentsClient.common_folder_path
google.cloud.compute_v1.services.region_commitments.RegionCommitmentsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.region_commitments.RegionCommitmentsClient.common_location_path
google.cloud.compute_v1.services.region_commitments.RegionCommitmentsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.region_commitments.RegionCommitmentsClient.common_organization_path
google.cloud.compute_v1.services.region_commitments.RegionCommitmentsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.region_commitments.RegionCommitmentsClient.common_project_path
google.cloud.compute_v1.services.region_commitments.RegionCommitmentsClient.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.region_commitments.RegionCommitmentsClient.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.region_commitments.RegionCommitmentsClient.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.region_commitments.RegionCommitmentsClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetRegionCommitmentRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
commitment: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Commitment
Returns the specified commitment resource.
See more: google.cloud.compute_v1.services.region_commitments.RegionCommitmentsClient.get
google.cloud.compute_v1.services.region_commitments.RegionCommitmentsClient.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.region_commitments.RegionCommitmentsClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionCommitmentRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
commitment_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Commitment
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a commitment in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.region_commitments.RegionCommitmentsClient.insert
google.cloud.compute_v1.services.region_commitments.RegionCommitmentsClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionCommitmentRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
commitment_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Commitment
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a commitment in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.region_commitments.RegionCommitmentsClient.insert_unary
google.cloud.compute_v1.services.region_commitments.RegionCommitmentsClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListRegionCommitmentsRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.region_commitments.pagers.ListPager
Retrieves a list of commitments contained within the specified region.
See more: google.cloud.compute_v1.services.region_commitments.RegionCommitmentsClient.list
google.cloud.compute_v1.services.region_commitments.RegionCommitmentsClient.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.region_commitments.RegionCommitmentsClient.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.region_commitments.RegionCommitmentsClient.parse_common_folder_path
google.cloud.compute_v1.services.region_commitments.RegionCommitmentsClient.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.region_commitments.RegionCommitmentsClient.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.region_commitments.RegionCommitmentsClient.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.region_commitments.RegionCommitmentsClient.update
update(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateRegionCommitmentRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
commitment: typing.Optional[str] = None,
commitment_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Commitment
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates the specified commitment with the data included in the request.
See more: google.cloud.compute_v1.services.region_commitments.RegionCommitmentsClient.update
google.cloud.compute_v1.services.region_commitments.RegionCommitmentsClient.update_unary
update_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateRegionCommitmentRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
commitment: typing.Optional[str] = None,
commitment_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Commitment
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates the specified commitment with the data included in the request.
See more: google.cloud.compute_v1.services.region_commitments.RegionCommitmentsClient.update_unary
google.cloud.compute_v1.services.region_commitments.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.CommitmentAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListRegionCommitmentsRequest,
response: google.cloud.compute_v1.types.compute.CommitmentAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_commitments.pagers.AggregatedListPager
google.cloud.compute_v1.services.region_commitments.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.CommitmentList
],
request: google.cloud.compute_v1.types.compute.ListRegionCommitmentsRequest,
response: google.cloud.compute_v1.types.compute.CommitmentList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_commitments.pagers.ListPager
google.cloud.compute_v1.services.region_disk_types.RegionDiskTypesClient
RegionDiskTypesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.region_disk_types.transports.base.RegionDiskTypesTransport, typing.Callable[[...], google.cloud.compute_v1.services.region_disk_types.transports.base.RegionDiskTypesTransport]]] = 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 region disk types client.
See more: google.cloud.compute_v1.services.region_disk_types.RegionDiskTypesClient
google.cloud.compute_v1.services.region_disk_types.RegionDiskTypesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.region_disk_types.RegionDiskTypesClient.exit
google.cloud.compute_v1.services.region_disk_types.RegionDiskTypesClient.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.region_disk_types.RegionDiskTypesClient.common_billing_account_path
google.cloud.compute_v1.services.region_disk_types.RegionDiskTypesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.region_disk_types.RegionDiskTypesClient.common_folder_path
google.cloud.compute_v1.services.region_disk_types.RegionDiskTypesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.region_disk_types.RegionDiskTypesClient.common_location_path
google.cloud.compute_v1.services.region_disk_types.RegionDiskTypesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.region_disk_types.RegionDiskTypesClient.common_organization_path
google.cloud.compute_v1.services.region_disk_types.RegionDiskTypesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.region_disk_types.RegionDiskTypesClient.common_project_path
google.cloud.compute_v1.services.region_disk_types.RegionDiskTypesClient.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.region_disk_types.RegionDiskTypesClient.from_service_account_file
google.cloud.compute_v1.services.region_disk_types.RegionDiskTypesClient.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.region_disk_types.RegionDiskTypesClient.from_service_account_info
google.cloud.compute_v1.services.region_disk_types.RegionDiskTypesClient.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.region_disk_types.RegionDiskTypesClient.from_service_account_json
google.cloud.compute_v1.services.region_disk_types.RegionDiskTypesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetRegionDiskTypeRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.DiskType
Returns the specified regional disk type.
See more: google.cloud.compute_v1.services.region_disk_types.RegionDiskTypesClient.get
google.cloud.compute_v1.services.region_disk_types.RegionDiskTypesClient.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.region_disk_types.RegionDiskTypesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListRegionDiskTypesRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.region_disk_types.pagers.ListPager
Retrieves a list of regional disk types available to the specified project.
See more: google.cloud.compute_v1.services.region_disk_types.RegionDiskTypesClient.list
google.cloud.compute_v1.services.region_disk_types.RegionDiskTypesClient.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.region_disk_types.RegionDiskTypesClient.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.region_disk_types.RegionDiskTypesClient.parse_common_folder_path
google.cloud.compute_v1.services.region_disk_types.RegionDiskTypesClient.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.region_disk_types.RegionDiskTypesClient.parse_common_location_path
google.cloud.compute_v1.services.region_disk_types.RegionDiskTypesClient.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.region_disk_types.RegionDiskTypesClient.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.region_disk_types.RegionDiskTypesClient.parse_common_project_path
google.cloud.compute_v1.services.region_disk_types.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.RegionDiskTypeList
],
request: google.cloud.compute_v1.types.compute.ListRegionDiskTypesRequest,
response: google.cloud.compute_v1.types.compute.RegionDiskTypeList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_disk_types.pagers.ListPager
google.cloud.compute_v1.services.region_disks.RegionDisksClient
RegionDisksClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.region_disks.transports.base.RegionDisksTransport, typing.Callable[[...], google.cloud.compute_v1.services.region_disks.transports.base.RegionDisksTransport]]] = 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 region disks client.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient
google.cloud.compute_v1.services.region_disks.RegionDisksClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.exit
google.cloud.compute_v1.services.region_disks.RegionDisksClient.add_resource_policies
add_resource_policies(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddResourcePoliciesRegionDiskRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
disk: typing.Optional[str] = None,
region_disks_add_resource_policies_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionDisksAddResourcePoliciesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Adds existing resource policies to a regional disk.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.add_resource_policies
google.cloud.compute_v1.services.region_disks.RegionDisksClient.add_resource_policies_unary
add_resource_policies_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddResourcePoliciesRegionDiskRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
disk: typing.Optional[str] = None,
region_disks_add_resource_policies_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionDisksAddResourcePoliciesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Adds existing resource policies to a regional disk.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.add_resource_policies_unary
google.cloud.compute_v1.services.region_disks.RegionDisksClient.bulk_insert
bulk_insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.BulkInsertRegionDiskRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Bulk create a set of disks.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.bulk_insert
google.cloud.compute_v1.services.region_disks.RegionDisksClient.bulk_insert_unary
bulk_insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.BulkInsertRegionDiskRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Bulk create a set of disks.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.bulk_insert_unary
google.cloud.compute_v1.services.region_disks.RegionDisksClient.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.region_disks.RegionDisksClient.common_billing_account_path
google.cloud.compute_v1.services.region_disks.RegionDisksClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.common_folder_path
google.cloud.compute_v1.services.region_disks.RegionDisksClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.common_location_path
google.cloud.compute_v1.services.region_disks.RegionDisksClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.common_organization_path
google.cloud.compute_v1.services.region_disks.RegionDisksClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.common_project_path
google.cloud.compute_v1.services.region_disks.RegionDisksClient.create_snapshot
create_snapshot(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.CreateSnapshotRegionDiskRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a snapshot of a specified persistent disk.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.create_snapshot
google.cloud.compute_v1.services.region_disks.RegionDisksClient.create_snapshot_unary
create_snapshot_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.CreateSnapshotRegionDiskRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a snapshot of a specified persistent disk.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.create_snapshot_unary
google.cloud.compute_v1.services.region_disks.RegionDisksClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionDiskRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified regional persistent disk.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.delete
google.cloud.compute_v1.services.region_disks.RegionDisksClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionDiskRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified regional persistent disk.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.delete_unary
google.cloud.compute_v1.services.region_disks.RegionDisksClient.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.region_disks.RegionDisksClient.from_service_account_file
google.cloud.compute_v1.services.region_disks.RegionDisksClient.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.region_disks.RegionDisksClient.from_service_account_info
google.cloud.compute_v1.services.region_disks.RegionDisksClient.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.region_disks.RegionDisksClient.from_service_account_json
google.cloud.compute_v1.services.region_disks.RegionDisksClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetRegionDiskRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Disk
Returns a specified regional persistent disk.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.get
google.cloud.compute_v1.services.region_disks.RegionDisksClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetIamPolicyRegionDiskRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Gets the access control policy for a resource.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.get_iam_policy
google.cloud.compute_v1.services.region_disks.RegionDisksClient.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.region_disks.RegionDisksClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.region_disks.RegionDisksClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionDiskRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a persistent regional disk in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.insert
google.cloud.compute_v1.services.region_disks.RegionDisksClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionDiskRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a persistent regional disk in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.insert_unary
google.cloud.compute_v1.services.region_disks.RegionDisksClient.list
list(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ListRegionDisksRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.region_disks.pagers.ListPager
Retrieves the list of persistent disks contained within the specified region.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.list
google.cloud.compute_v1.services.region_disks.RegionDisksClient.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.region_disks.RegionDisksClient.parse_common_billing_account_path
google.cloud.compute_v1.services.region_disks.RegionDisksClient.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.region_disks.RegionDisksClient.parse_common_folder_path
google.cloud.compute_v1.services.region_disks.RegionDisksClient.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.region_disks.RegionDisksClient.parse_common_location_path
google.cloud.compute_v1.services.region_disks.RegionDisksClient.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.region_disks.RegionDisksClient.parse_common_organization_path
google.cloud.compute_v1.services.region_disks.RegionDisksClient.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.region_disks.RegionDisksClient.parse_common_project_path
google.cloud.compute_v1.services.region_disks.RegionDisksClient.remove_resource_policies
remove_resource_policies(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemoveResourcePoliciesRegionDiskRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
disk: typing.Optional[str] = None,
region_disks_remove_resource_policies_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionDisksRemoveResourcePoliciesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Removes resource policies from a regional disk.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.remove_resource_policies
google.cloud.compute_v1.services.region_disks.RegionDisksClient.remove_resource_policies_unary
remove_resource_policies_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemoveResourcePoliciesRegionDiskRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
disk: typing.Optional[str] = None,
region_disks_remove_resource_policies_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionDisksRemoveResourcePoliciesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Removes resource policies from a regional disk.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.remove_resource_policies_unary
google.cloud.compute_v1.services.region_disks.RegionDisksClient.resize
resize(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ResizeRegionDiskRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
disk: typing.Optional[str] = None,
region_disks_resize_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionDisksResizeRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Resizes the specified regional persistent disk.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.resize
google.cloud.compute_v1.services.region_disks.RegionDisksClient.resize_unary
resize_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ResizeRegionDiskRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
disk: typing.Optional[str] = None,
region_disks_resize_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionDisksResizeRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Resizes the specified regional persistent disk.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.resize_unary
google.cloud.compute_v1.services.region_disks.RegionDisksClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetIamPolicyRegionDiskRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
region_set_policy_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionSetPolicyRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Sets the access control policy on the specified resource.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.set_iam_policy
google.cloud.compute_v1.services.region_disks.RegionDisksClient.set_labels
set_labels(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsRegionDiskRequest, 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the labels on the target regional disk.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.set_labels
google.cloud.compute_v1.services.region_disks.RegionDisksClient.set_labels_unary
set_labels_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsRegionDiskRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the labels on the target regional disk.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.set_labels_unary
google.cloud.compute_v1.services.region_disks.RegionDisksClient.start_async_replication
start_async_replication(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.StartAsyncReplicationRegionDiskRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
disk: typing.Optional[str] = None,
region_disks_start_async_replication_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionDisksStartAsyncReplicationRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Starts asynchronous replication.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.start_async_replication
google.cloud.compute_v1.services.region_disks.RegionDisksClient.start_async_replication_unary
start_async_replication_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.StartAsyncReplicationRegionDiskRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
disk: typing.Optional[str] = None,
region_disks_start_async_replication_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionDisksStartAsyncReplicationRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Starts asynchronous replication.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.start_async_replication_unary
google.cloud.compute_v1.services.region_disks.RegionDisksClient.stop_async_replication
stop_async_replication(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.StopAsyncReplicationRegionDiskRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Stops asynchronous replication.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.stop_async_replication
google.cloud.compute_v1.services.region_disks.RegionDisksClient.stop_async_replication_unary
stop_async_replication_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.StopAsyncReplicationRegionDiskRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Stops asynchronous replication.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.stop_async_replication_unary
google.cloud.compute_v1.services.region_disks.RegionDisksClient.stop_group_async_replication
stop_group_async_replication(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.StopGroupAsyncReplicationRegionDiskRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Stops asynchronous replication for a consistency group of disks.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.stop_group_async_replication
google.cloud.compute_v1.services.region_disks.RegionDisksClient.stop_group_async_replication_unary
stop_group_async_replication_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.StopGroupAsyncReplicationRegionDiskRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Stops asynchronous replication for a consistency group of disks.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.stop_group_async_replication_unary
google.cloud.compute_v1.services.region_disks.RegionDisksClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.TestIamPermissionsRegionDiskRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.test_iam_permissions
google.cloud.compute_v1.services.region_disks.RegionDisksClient.update
update(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateRegionDiskRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Update the specified disk with the data included in the request.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.update
google.cloud.compute_v1.services.region_disks.RegionDisksClient.update_unary
update_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateRegionDiskRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Update the specified disk with the data included in the request.
See more: google.cloud.compute_v1.services.region_disks.RegionDisksClient.update_unary
google.cloud.compute_v1.services.region_disks.pagers.ListPager
ListPager(
method: typing.Callable[[...], google.cloud.compute_v1.types.compute.DiskList],
request: google.cloud.compute_v1.types.compute.ListRegionDisksRequest,
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, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_disks.pagers.ListPager
google.cloud.compute_v1.services.region_health_check_services.RegionHealthCheckServicesClient
RegionHealthCheckServicesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.region_health_check_services.transports.base.RegionHealthCheckServicesTransport, typing.Callable[[...], google.cloud.compute_v1.services.region_health_check_services.transports.base.RegionHealthCheckServicesTransport]]] = 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 region health check services client.
See more: google.cloud.compute_v1.services.region_health_check_services.RegionHealthCheckServicesClient
google.cloud.compute_v1.services.region_health_check_services.RegionHealthCheckServicesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.region_health_check_services.RegionHealthCheckServicesClient.exit
google.cloud.compute_v1.services.region_health_check_services.RegionHealthCheckServicesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.region_health_check_services.RegionHealthCheckServicesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.region_health_check_services.RegionHealthCheckServicesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.region_health_check_services.RegionHealthCheckServicesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.region_health_check_services.RegionHealthCheckServicesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.region_health_check_services.RegionHealthCheckServicesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionHealthCheckServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
health_check_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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified regional HealthCheckService.
See more: google.cloud.compute_v1.services.region_health_check_services.RegionHealthCheckServicesClient.delete
google.cloud.compute_v1.services.region_health_check_services.RegionHealthCheckServicesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionHealthCheckServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
health_check_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified regional HealthCheckService.
google.cloud.compute_v1.services.region_health_check_services.RegionHealthCheckServicesClient.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.region_health_check_services.RegionHealthCheckServicesClient.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.region_health_check_services.RegionHealthCheckServicesClient.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.region_health_check_services.RegionHealthCheckServicesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetRegionHealthCheckServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
health_check_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.HealthCheckService
Returns the specified regional HealthCheckService resource.
See more: google.cloud.compute_v1.services.region_health_check_services.RegionHealthCheckServicesClient.get
google.cloud.compute_v1.services.region_health_check_services.RegionHealthCheckServicesClient.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.region_health_check_services.RegionHealthCheckServicesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionHealthCheckServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
health_check_service_resource: typing.Optional[
google.cloud.compute_v1.types.compute.HealthCheckService
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a regional HealthCheckService resource in the specified project and region using the data included in the request.
See more: google.cloud.compute_v1.services.region_health_check_services.RegionHealthCheckServicesClient.insert
google.cloud.compute_v1.services.region_health_check_services.RegionHealthCheckServicesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionHealthCheckServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
health_check_service_resource: typing.Optional[
google.cloud.compute_v1.types.compute.HealthCheckService
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a regional HealthCheckService resource in the specified project and region using the data included in the request.
google.cloud.compute_v1.services.region_health_check_services.RegionHealthCheckServicesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListRegionHealthCheckServicesRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.region_health_check_services.pagers.ListPager
Lists all the HealthCheckService resources that have been configured for the specified project in the given region.
See more: google.cloud.compute_v1.services.region_health_check_services.RegionHealthCheckServicesClient.list
google.cloud.compute_v1.services.region_health_check_services.RegionHealthCheckServicesClient.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.region_health_check_services.RegionHealthCheckServicesClient.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.region_health_check_services.RegionHealthCheckServicesClient.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.region_health_check_services.RegionHealthCheckServicesClient.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.region_health_check_services.RegionHealthCheckServicesClient.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.region_health_check_services.RegionHealthCheckServicesClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRegionHealthCheckServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
health_check_service: typing.Optional[str] = None,
health_check_service_resource: typing.Optional[
google.cloud.compute_v1.types.compute.HealthCheckService
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates the specified regional HealthCheckService resource with the data included in the request.
See more: google.cloud.compute_v1.services.region_health_check_services.RegionHealthCheckServicesClient.patch
google.cloud.compute_v1.services.region_health_check_services.RegionHealthCheckServicesClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRegionHealthCheckServiceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
health_check_service: typing.Optional[str] = None,
health_check_service_resource: typing.Optional[
google.cloud.compute_v1.types.compute.HealthCheckService
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates the specified regional HealthCheckService resource with the data included in the request.
google.cloud.compute_v1.services.region_health_check_services.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.HealthCheckServicesList
],
request: google.cloud.compute_v1.types.compute.ListRegionHealthCheckServicesRequest,
response: google.cloud.compute_v1.types.compute.HealthCheckServicesList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_health_check_services.pagers.ListPager
google.cloud.compute_v1.services.region_health_checks.RegionHealthChecksClient
RegionHealthChecksClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.region_health_checks.transports.base.RegionHealthChecksTransport, typing.Callable[[...], google.cloud.compute_v1.services.region_health_checks.transports.base.RegionHealthChecksTransport]]] = 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 region health checks client.
See more: google.cloud.compute_v1.services.region_health_checks.RegionHealthChecksClient
google.cloud.compute_v1.services.region_health_checks.RegionHealthChecksClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.region_health_checks.RegionHealthChecksClient.exit
google.cloud.compute_v1.services.region_health_checks.RegionHealthChecksClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.region_health_checks.RegionHealthChecksClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.region_health_checks.RegionHealthChecksClient.common_folder_path
google.cloud.compute_v1.services.region_health_checks.RegionHealthChecksClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.region_health_checks.RegionHealthChecksClient.common_location_path
google.cloud.compute_v1.services.region_health_checks.RegionHealthChecksClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.region_health_checks.RegionHealthChecksClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.region_health_checks.RegionHealthChecksClient.common_project_path
google.cloud.compute_v1.services.region_health_checks.RegionHealthChecksClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionHealthCheckRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified HealthCheck resource.
See more: google.cloud.compute_v1.services.region_health_checks.RegionHealthChecksClient.delete
google.cloud.compute_v1.services.region_health_checks.RegionHealthChecksClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionHealthCheckRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified HealthCheck resource.
See more: google.cloud.compute_v1.services.region_health_checks.RegionHealthChecksClient.delete_unary
google.cloud.compute_v1.services.region_health_checks.RegionHealthChecksClient.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.region_health_checks.RegionHealthChecksClient.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.region_health_checks.RegionHealthChecksClient.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.region_health_checks.RegionHealthChecksClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetRegionHealthCheckRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.HealthCheck
Returns the specified HealthCheck resource.
See more: google.cloud.compute_v1.services.region_health_checks.RegionHealthChecksClient.get
google.cloud.compute_v1.services.region_health_checks.RegionHealthChecksClient.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.region_health_checks.RegionHealthChecksClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionHealthCheckRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> 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.region_health_checks.RegionHealthChecksClient.insert
google.cloud.compute_v1.services.region_health_checks.RegionHealthChecksClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionHealthCheckRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> 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.region_health_checks.RegionHealthChecksClient.insert_unary
google.cloud.compute_v1.services.region_health_checks.RegionHealthChecksClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListRegionHealthChecksRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.region_health_checks.pagers.ListPager
Retrieves the list of HealthCheck resources available to the specified project.
See more: google.cloud.compute_v1.services.region_health_checks.RegionHealthChecksClient.list
google.cloud.compute_v1.services.region_health_checks.RegionHealthChecksClient.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.region_health_checks.RegionHealthChecksClient.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.region_health_checks.RegionHealthChecksClient.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.region_health_checks.RegionHealthChecksClient.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.region_health_checks.RegionHealthChecksClient.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.region_health_checks.RegionHealthChecksClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRegionHealthCheckRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> 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.region_health_checks.RegionHealthChecksClient.patch
google.cloud.compute_v1.services.region_health_checks.RegionHealthChecksClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRegionHealthCheckRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> 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.region_health_checks.RegionHealthChecksClient.patch_unary
google.cloud.compute_v1.services.region_health_checks.RegionHealthChecksClient.update
update(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateRegionHealthCheckRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> 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.region_health_checks.RegionHealthChecksClient.update
google.cloud.compute_v1.services.region_health_checks.RegionHealthChecksClient.update_unary
update_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateRegionHealthCheckRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> 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.region_health_checks.RegionHealthChecksClient.update_unary
google.cloud.compute_v1.services.region_health_checks.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.HealthCheckList
],
request: google.cloud.compute_v1.types.compute.ListRegionHealthChecksRequest,
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, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_health_checks.pagers.ListPager
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient
RegionInstanceGroupManagersClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.region_instance_group_managers.transports.base.RegionInstanceGroupManagersTransport, typing.Callable[[...], google.cloud.compute_v1.services.region_instance_group_managers.transports.base.RegionInstanceGroupManagersTransport]]] = 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 region instance group managers client.
See more: google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.abandon_instances
abandon_instances(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AbandonInstancesRegionInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
region_instance_group_managers_abandon_instances_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionInstanceGroupManagersAbandonInstancesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Flags the specified instances to be immediately removed from the managed instance group.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.abandon_instances_unary
abandon_instances_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AbandonInstancesRegionInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
region_instance_group_managers_abandon_instances_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionInstanceGroupManagersAbandonInstancesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Flags the specified instances to be immediately removed from the managed instance group.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.apply_updates_to_instances
apply_updates_to_instances(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
region_instance_group_managers_apply_updates_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionInstanceGroupManagersApplyUpdatesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Apply updates to selected instances the managed instance group.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.apply_updates_to_instances_unary
apply_updates_to_instances_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
region_instance_group_managers_apply_updates_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionInstanceGroupManagersApplyUpdatesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Apply updates to selected instances the managed instance group.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.create_instances
create_instances(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.CreateInstancesRegionInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
region_instance_group_managers_create_instances_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionInstanceGroupManagersCreateInstancesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates instances with per-instance configurations in this regional managed instance group.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.create_instances_unary
create_instances_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.CreateInstancesRegionInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
region_instance_group_managers_create_instances_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionInstanceGroupManagersCreateInstancesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates instances with per-instance configurations in this regional managed instance group.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified managed instance group and all of the instances in that group.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.delete_instances
delete_instances(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteInstancesRegionInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
region_instance_group_managers_delete_instances_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionInstanceGroupManagersDeleteInstancesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Flags the specified instances in the managed instance group to be immediately deleted.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.delete_instances_unary
delete_instances_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteInstancesRegionInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
region_instance_group_managers_delete_instances_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionInstanceGroupManagersDeleteInstancesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Flags the specified instances in the managed instance group to be immediately deleted.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.delete_per_instance_configs
delete_per_instance_configs(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeletePerInstanceConfigsRegionInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
region_instance_group_manager_delete_instance_config_req_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionInstanceGroupManagerDeleteInstanceConfigReq
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes selected per-instance configurations for the managed instance group.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.delete_per_instance_configs_unary
delete_per_instance_configs_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeletePerInstanceConfigsRegionInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
region_instance_group_manager_delete_instance_config_req_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionInstanceGroupManagerDeleteInstanceConfigReq
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes selected per-instance configurations for the managed instance group.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified managed instance group and all of the instances in that group.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.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.region_instance_group_managers.RegionInstanceGroupManagersClient.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.region_instance_group_managers.RegionInstanceGroupManagersClient.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.region_instance_group_managers.RegionInstanceGroupManagersClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetRegionInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.InstanceGroupManager
Returns all of the details about the specified managed instance group.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.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.region_instance_group_managers.RegionInstanceGroupManagersClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a managed instance group using the information that you specify in the request.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a managed instance group using the information that you specify in the request.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListRegionInstanceGroupManagersRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.region_instance_group_managers.pagers.ListPager
Retrieves the list of managed instance groups that are contained within the specified region.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.list_errors
list_errors(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListErrorsRegionInstanceGroupManagersRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> (
google.cloud.compute_v1.services.region_instance_group_managers.pagers.ListErrorsPager
)
Lists all errors thrown by actions on instances for a given regional managed instance group.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.list_managed_instances
list_managed_instances(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListManagedInstancesRegionInstanceGroupManagersRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> (
google.cloud.compute_v1.services.region_instance_group_managers.pagers.ListManagedInstancesPager
)
Lists the instances in the managed instance group and instances that are scheduled to be created.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.list_per_instance_configs
list_per_instance_configs(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListPerInstanceConfigsRegionInstanceGroupManagersRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> (
google.cloud.compute_v1.services.region_instance_group_managers.pagers.ListPerInstanceConfigsPager
)
Lists all of the per-instance configurations defined for the managed instance group.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.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.region_instance_group_managers.RegionInstanceGroupManagersClient.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.region_instance_group_managers.RegionInstanceGroupManagersClient.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.region_instance_group_managers.RegionInstanceGroupManagersClient.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.region_instance_group_managers.RegionInstanceGroupManagersClient.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.region_instance_group_managers.RegionInstanceGroupManagersClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRegionInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates a managed instance group using the information that you specify in the request.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.patch_per_instance_configs
patch_per_instance_configs(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchPerInstanceConfigsRegionInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
region_instance_group_manager_patch_instance_config_req_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionInstanceGroupManagerPatchInstanceConfigReq
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Inserts or patches per-instance configurations for the managed instance group.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.patch_per_instance_configs_unary
patch_per_instance_configs_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchPerInstanceConfigsRegionInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
region_instance_group_manager_patch_instance_config_req_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionInstanceGroupManagerPatchInstanceConfigReq
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Inserts or patches per-instance configurations for the managed instance group.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRegionInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates a managed instance group using the information that you specify in the request.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.recreate_instances
recreate_instances(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RecreateInstancesRegionInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
region_instance_group_managers_recreate_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionInstanceGroupManagersRecreateRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> 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.region_instance_group_managers.RegionInstanceGroupManagersClient.recreate_instances_unary
recreate_instances_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RecreateInstancesRegionInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
region_instance_group_managers_recreate_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionInstanceGroupManagersRecreateRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> 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.region_instance_group_managers.RegionInstanceGroupManagersClient.resize
resize(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ResizeRegionInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Changes the intended size of the managed instance group.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.resize_unary
resize_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ResizeRegionInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Changes the intended size of the managed instance group.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.set_instance_template
set_instance_template(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetInstanceTemplateRegionInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
region_instance_group_managers_set_template_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionInstanceGroupManagersSetTemplateRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the instance template to use when creating new instances or recreating instances in this group.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.set_instance_template_unary
set_instance_template_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetInstanceTemplateRegionInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
region_instance_group_managers_set_template_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionInstanceGroupManagersSetTemplateRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the instance template to use when creating new instances or recreating instances in this group.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.set_target_pools
set_target_pools(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetTargetPoolsRegionInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
region_instance_group_managers_set_target_pools_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionInstanceGroupManagersSetTargetPoolsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Modifies the target pools to which all new instances in this group are assigned.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.set_target_pools_unary
set_target_pools_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetTargetPoolsRegionInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
region_instance_group_managers_set_target_pools_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionInstanceGroupManagersSetTargetPoolsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Modifies the target pools to which all new instances in this group are assigned.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.update_per_instance_configs
update_per_instance_configs(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
region_instance_group_manager_update_instance_config_req_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionInstanceGroupManagerUpdateInstanceConfigReq
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Inserts or updates per-instance configurations for the managed instance group.
google.cloud.compute_v1.services.region_instance_group_managers.RegionInstanceGroupManagersClient.update_per_instance_configs_unary
update_per_instance_configs_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instance_group_manager: typing.Optional[str] = None,
region_instance_group_manager_update_instance_config_req_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionInstanceGroupManagerUpdateInstanceConfigReq
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Inserts or updates per-instance configurations for the managed instance group.
google.cloud.compute_v1.services.region_instance_group_managers.pagers.ListErrorsPager
ListErrorsPager(
method: typing.Callable[
[...],
google.cloud.compute_v1.types.compute.RegionInstanceGroupManagersListErrorsResponse,
],
request: google.cloud.compute_v1.types.compute.ListErrorsRegionInstanceGroupManagersRequest,
response: google.cloud.compute_v1.types.compute.RegionInstanceGroupManagersListErrorsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_instance_group_managers.pagers.ListErrorsPager
google.cloud.compute_v1.services.region_instance_group_managers.pagers.ListManagedInstancesPager
ListManagedInstancesPager(
method: typing.Callable[
[...],
google.cloud.compute_v1.types.compute.RegionInstanceGroupManagersListInstancesResponse,
],
request: google.cloud.compute_v1.types.compute.ListManagedInstancesRegionInstanceGroupManagersRequest,
response: google.cloud.compute_v1.types.compute.RegionInstanceGroupManagersListInstancesResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_instance_group_managers.pagers.ListManagedInstancesPager
google.cloud.compute_v1.services.region_instance_group_managers.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.RegionInstanceGroupManagerList
],
request: google.cloud.compute_v1.types.compute.ListRegionInstanceGroupManagersRequest,
response: google.cloud.compute_v1.types.compute.RegionInstanceGroupManagerList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_instance_group_managers.pagers.ListPager
google.cloud.compute_v1.services.region_instance_group_managers.pagers.ListPerInstanceConfigsPager
ListPerInstanceConfigsPager(
method: typing.Callable[
[...],
google.cloud.compute_v1.types.compute.RegionInstanceGroupManagersListInstanceConfigsResp,
],
request: google.cloud.compute_v1.types.compute.ListPerInstanceConfigsRegionInstanceGroupManagersRequest,
response: google.cloud.compute_v1.types.compute.RegionInstanceGroupManagersListInstanceConfigsResp,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_instance_group_managers.pagers.ListPerInstanceConfigsPager
google.cloud.compute_v1.services.region_instance_groups.RegionInstanceGroupsClient
RegionInstanceGroupsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.region_instance_groups.transports.base.RegionInstanceGroupsTransport, typing.Callable[[...], google.cloud.compute_v1.services.region_instance_groups.transports.base.RegionInstanceGroupsTransport]]] = 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 region instance groups client.
See more: google.cloud.compute_v1.services.region_instance_groups.RegionInstanceGroupsClient
google.cloud.compute_v1.services.region_instance_groups.RegionInstanceGroupsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.region_instance_groups.RegionInstanceGroupsClient.exit
google.cloud.compute_v1.services.region_instance_groups.RegionInstanceGroupsClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.region_instance_groups.RegionInstanceGroupsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.region_instance_groups.RegionInstanceGroupsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.region_instance_groups.RegionInstanceGroupsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.region_instance_groups.RegionInstanceGroupsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.region_instance_groups.RegionInstanceGroupsClient.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.region_instance_groups.RegionInstanceGroupsClient.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.region_instance_groups.RegionInstanceGroupsClient.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.region_instance_groups.RegionInstanceGroupsClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetRegionInstanceGroupRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.InstanceGroup
Returns the specified instance group resource.
See more: google.cloud.compute_v1.services.region_instance_groups.RegionInstanceGroupsClient.get
google.cloud.compute_v1.services.region_instance_groups.RegionInstanceGroupsClient.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.region_instance_groups.RegionInstanceGroupsClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListRegionInstanceGroupsRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.region_instance_groups.pagers.ListPager
Retrieves the list of instance group resources contained within the specified region.
See more: google.cloud.compute_v1.services.region_instance_groups.RegionInstanceGroupsClient.list
google.cloud.compute_v1.services.region_instance_groups.RegionInstanceGroupsClient.list_instances
list_instances(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListInstancesRegionInstanceGroupsRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instance_group: typing.Optional[str] = None,
region_instance_groups_list_instances_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionInstanceGroupsListInstancesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.services.region_instance_groups.pagers.ListInstancesPager
Lists the instances in the specified instance group and displays information about the named ports.
See more: google.cloud.compute_v1.services.region_instance_groups.RegionInstanceGroupsClient.list_instances
google.cloud.compute_v1.services.region_instance_groups.RegionInstanceGroupsClient.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.region_instance_groups.RegionInstanceGroupsClient.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.region_instance_groups.RegionInstanceGroupsClient.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.region_instance_groups.RegionInstanceGroupsClient.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.region_instance_groups.RegionInstanceGroupsClient.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.region_instance_groups.RegionInstanceGroupsClient.set_named_ports
set_named_ports(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetNamedPortsRegionInstanceGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instance_group: typing.Optional[str] = None,
region_instance_groups_set_named_ports_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionInstanceGroupsSetNamedPortsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the named ports for the specified regional instance group.
See more: google.cloud.compute_v1.services.region_instance_groups.RegionInstanceGroupsClient.set_named_ports
google.cloud.compute_v1.services.region_instance_groups.RegionInstanceGroupsClient.set_named_ports_unary
set_named_ports_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetNamedPortsRegionInstanceGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instance_group: typing.Optional[str] = None,
region_instance_groups_set_named_ports_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionInstanceGroupsSetNamedPortsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the named ports for the specified regional instance group.
google.cloud.compute_v1.services.region_instance_groups.pagers.ListInstancesPager
ListInstancesPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.RegionInstanceGroupsListInstances
],
request: google.cloud.compute_v1.types.compute.ListInstancesRegionInstanceGroupsRequest,
response: google.cloud.compute_v1.types.compute.RegionInstanceGroupsListInstances,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_instance_groups.pagers.ListInstancesPager
google.cloud.compute_v1.services.region_instance_groups.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.RegionInstanceGroupList
],
request: google.cloud.compute_v1.types.compute.ListRegionInstanceGroupsRequest,
response: google.cloud.compute_v1.types.compute.RegionInstanceGroupList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_instance_groups.pagers.ListPager
google.cloud.compute_v1.services.region_instance_templates.RegionInstanceTemplatesClient
RegionInstanceTemplatesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.region_instance_templates.transports.base.RegionInstanceTemplatesTransport, typing.Callable[[...], google.cloud.compute_v1.services.region_instance_templates.transports.base.RegionInstanceTemplatesTransport]]] = 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 region instance templates client.
See more: google.cloud.compute_v1.services.region_instance_templates.RegionInstanceTemplatesClient
google.cloud.compute_v1.services.region_instance_templates.RegionInstanceTemplatesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.region_instance_templates.RegionInstanceTemplatesClient.exit
google.cloud.compute_v1.services.region_instance_templates.RegionInstanceTemplatesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.region_instance_templates.RegionInstanceTemplatesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.region_instance_templates.RegionInstanceTemplatesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.region_instance_templates.RegionInstanceTemplatesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.region_instance_templates.RegionInstanceTemplatesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.region_instance_templates.RegionInstanceTemplatesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionInstanceTemplateRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instance_template: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified instance template.
See more: google.cloud.compute_v1.services.region_instance_templates.RegionInstanceTemplatesClient.delete
google.cloud.compute_v1.services.region_instance_templates.RegionInstanceTemplatesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionInstanceTemplateRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instance_template: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified instance template.
google.cloud.compute_v1.services.region_instance_templates.RegionInstanceTemplatesClient.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.region_instance_templates.RegionInstanceTemplatesClient.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.region_instance_templates.RegionInstanceTemplatesClient.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.region_instance_templates.RegionInstanceTemplatesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetRegionInstanceTemplateRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instance_template: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.InstanceTemplate
Returns the specified instance template.
See more: google.cloud.compute_v1.services.region_instance_templates.RegionInstanceTemplatesClient.get
google.cloud.compute_v1.services.region_instance_templates.RegionInstanceTemplatesClient.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.region_instance_templates.RegionInstanceTemplatesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionInstanceTemplateRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instance_template_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceTemplate
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates an instance template in the specified project and region using the global instance template whose URL is included in the request.
See more: google.cloud.compute_v1.services.region_instance_templates.RegionInstanceTemplatesClient.insert
google.cloud.compute_v1.services.region_instance_templates.RegionInstanceTemplatesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionInstanceTemplateRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instance_template_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceTemplate
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates an instance template in the specified project and region using the global instance template whose URL is included in the request.
google.cloud.compute_v1.services.region_instance_templates.RegionInstanceTemplatesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListRegionInstanceTemplatesRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.region_instance_templates.pagers.ListPager
Retrieves a list of instance templates that are contained within the specified project and region.
See more: google.cloud.compute_v1.services.region_instance_templates.RegionInstanceTemplatesClient.list
google.cloud.compute_v1.services.region_instance_templates.RegionInstanceTemplatesClient.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.region_instance_templates.RegionInstanceTemplatesClient.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.region_instance_templates.RegionInstanceTemplatesClient.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.region_instance_templates.RegionInstanceTemplatesClient.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.region_instance_templates.RegionInstanceTemplatesClient.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.region_instance_templates.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.InstanceTemplateList
],
request: google.cloud.compute_v1.types.compute.ListRegionInstanceTemplatesRequest,
response: google.cloud.compute_v1.types.compute.InstanceTemplateList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_instance_templates.pagers.ListPager
google.cloud.compute_v1.services.region_instances.RegionInstancesClient
RegionInstancesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.region_instances.transports.base.RegionInstancesTransport, typing.Callable[[...], google.cloud.compute_v1.services.region_instances.transports.base.RegionInstancesTransport]]] = 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 region instances client.
See more: google.cloud.compute_v1.services.region_instances.RegionInstancesClient
google.cloud.compute_v1.services.region_instances.RegionInstancesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.region_instances.RegionInstancesClient.exit
google.cloud.compute_v1.services.region_instances.RegionInstancesClient.bulk_insert
bulk_insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.BulkInsertRegionInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
bulk_insert_instance_resource_resource: typing.Optional[
google.cloud.compute_v1.types.compute.BulkInsertInstanceResource
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates multiple instances in a given region.
See more: google.cloud.compute_v1.services.region_instances.RegionInstancesClient.bulk_insert
google.cloud.compute_v1.services.region_instances.RegionInstancesClient.bulk_insert_unary
bulk_insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.BulkInsertRegionInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
bulk_insert_instance_resource_resource: typing.Optional[
google.cloud.compute_v1.types.compute.BulkInsertInstanceResource
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates multiple instances in a given region.
See more: google.cloud.compute_v1.services.region_instances.RegionInstancesClient.bulk_insert_unary
google.cloud.compute_v1.services.region_instances.RegionInstancesClient.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.region_instances.RegionInstancesClient.common_billing_account_path
google.cloud.compute_v1.services.region_instances.RegionInstancesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.region_instances.RegionInstancesClient.common_folder_path
google.cloud.compute_v1.services.region_instances.RegionInstancesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.region_instances.RegionInstancesClient.common_location_path
google.cloud.compute_v1.services.region_instances.RegionInstancesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.region_instances.RegionInstancesClient.common_organization_path
google.cloud.compute_v1.services.region_instances.RegionInstancesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.region_instances.RegionInstancesClient.common_project_path
google.cloud.compute_v1.services.region_instances.RegionInstancesClient.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.region_instances.RegionInstancesClient.from_service_account_file
google.cloud.compute_v1.services.region_instances.RegionInstancesClient.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.region_instances.RegionInstancesClient.from_service_account_info
google.cloud.compute_v1.services.region_instances.RegionInstancesClient.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.region_instances.RegionInstancesClient.from_service_account_json
google.cloud.compute_v1.services.region_instances.RegionInstancesClient.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.region_instances.RegionInstancesClient.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.region_instances.RegionInstancesClient.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.region_instances.RegionInstancesClient.parse_common_folder_path
google.cloud.compute_v1.services.region_instances.RegionInstancesClient.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.region_instances.RegionInstancesClient.parse_common_location_path
google.cloud.compute_v1.services.region_instances.RegionInstancesClient.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.region_instances.RegionInstancesClient.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.region_instances.RegionInstancesClient.parse_common_project_path
google.cloud.compute_v1.services.region_instant_snapshots.RegionInstantSnapshotsClient
RegionInstantSnapshotsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.region_instant_snapshots.transports.base.RegionInstantSnapshotsTransport, typing.Callable[[...], google.cloud.compute_v1.services.region_instant_snapshots.transports.base.RegionInstantSnapshotsTransport]]] = 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 region instant snapshots client.
See more: google.cloud.compute_v1.services.region_instant_snapshots.RegionInstantSnapshotsClient
google.cloud.compute_v1.services.region_instant_snapshots.RegionInstantSnapshotsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.region_instant_snapshots.RegionInstantSnapshotsClient.exit
google.cloud.compute_v1.services.region_instant_snapshots.RegionInstantSnapshotsClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.region_instant_snapshots.RegionInstantSnapshotsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.region_instant_snapshots.RegionInstantSnapshotsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.region_instant_snapshots.RegionInstantSnapshotsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.region_instant_snapshots.RegionInstantSnapshotsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.region_instant_snapshots.RegionInstantSnapshotsClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionInstantSnapshotRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instant_snapshot: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified InstantSnapshot resource.
See more: google.cloud.compute_v1.services.region_instant_snapshots.RegionInstantSnapshotsClient.delete
google.cloud.compute_v1.services.region_instant_snapshots.RegionInstantSnapshotsClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionInstantSnapshotRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instant_snapshot: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified InstantSnapshot resource.
See more: google.cloud.compute_v1.services.region_instant_snapshots.RegionInstantSnapshotsClient.delete_unary
google.cloud.compute_v1.services.region_instant_snapshots.RegionInstantSnapshotsClient.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.region_instant_snapshots.RegionInstantSnapshotsClient.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.region_instant_snapshots.RegionInstantSnapshotsClient.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.region_instant_snapshots.RegionInstantSnapshotsClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetRegionInstantSnapshotRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instant_snapshot: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.InstantSnapshot
Returns the specified InstantSnapshot resource in the specified region.
See more: google.cloud.compute_v1.services.region_instant_snapshots.RegionInstantSnapshotsClient.get
google.cloud.compute_v1.services.region_instant_snapshots.RegionInstantSnapshotsClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetIamPolicyRegionInstantSnapshotRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Gets the access control policy for a resource.
google.cloud.compute_v1.services.region_instant_snapshots.RegionInstantSnapshotsClient.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.region_instant_snapshots.RegionInstantSnapshotsClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionInstantSnapshotRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instant_snapshot_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstantSnapshot
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates an instant snapshot in the specified region.
See more: google.cloud.compute_v1.services.region_instant_snapshots.RegionInstantSnapshotsClient.insert
google.cloud.compute_v1.services.region_instant_snapshots.RegionInstantSnapshotsClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionInstantSnapshotRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
instant_snapshot_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstantSnapshot
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates an instant snapshot in the specified region.
See more: google.cloud.compute_v1.services.region_instant_snapshots.RegionInstantSnapshotsClient.insert_unary
google.cloud.compute_v1.services.region_instant_snapshots.RegionInstantSnapshotsClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListRegionInstantSnapshotsRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.region_instant_snapshots.pagers.ListPager
Retrieves the list of InstantSnapshot resources contained within the specified region.
See more: google.cloud.compute_v1.services.region_instant_snapshots.RegionInstantSnapshotsClient.list
google.cloud.compute_v1.services.region_instant_snapshots.RegionInstantSnapshotsClient.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.region_instant_snapshots.RegionInstantSnapshotsClient.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.region_instant_snapshots.RegionInstantSnapshotsClient.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.region_instant_snapshots.RegionInstantSnapshotsClient.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.region_instant_snapshots.RegionInstantSnapshotsClient.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.region_instant_snapshots.RegionInstantSnapshotsClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetIamPolicyRegionInstantSnapshotRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
region_set_policy_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionSetPolicyRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Sets the access control policy on the specified resource.
google.cloud.compute_v1.services.region_instant_snapshots.RegionInstantSnapshotsClient.set_labels
set_labels(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsRegionInstantSnapshotRequest,
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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the labels on a instantSnapshot in the given region.
See more: google.cloud.compute_v1.services.region_instant_snapshots.RegionInstantSnapshotsClient.set_labels
google.cloud.compute_v1.services.region_instant_snapshots.RegionInstantSnapshotsClient.set_labels_unary
set_labels_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsRegionInstantSnapshotRequest,
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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the labels on a instantSnapshot in the given region.
google.cloud.compute_v1.services.region_instant_snapshots.RegionInstantSnapshotsClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.TestIamPermissionsRegionInstantSnapshotRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
google.cloud.compute_v1.services.region_instant_snapshots.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.InstantSnapshotList
],
request: google.cloud.compute_v1.types.compute.ListRegionInstantSnapshotsRequest,
response: google.cloud.compute_v1.types.compute.InstantSnapshotList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_instant_snapshots.pagers.ListPager
google.cloud.compute_v1.services.region_network_endpoint_groups.RegionNetworkEndpointGroupsClient
RegionNetworkEndpointGroupsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.region_network_endpoint_groups.transports.base.RegionNetworkEndpointGroupsTransport, typing.Callable[[...], google.cloud.compute_v1.services.region_network_endpoint_groups.transports.base.RegionNetworkEndpointGroupsTransport]]] = 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 region network endpoint groups client.
See more: google.cloud.compute_v1.services.region_network_endpoint_groups.RegionNetworkEndpointGroupsClient
google.cloud.compute_v1.services.region_network_endpoint_groups.RegionNetworkEndpointGroupsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
google.cloud.compute_v1.services.region_network_endpoint_groups.RegionNetworkEndpointGroupsClient.attach_network_endpoints
attach_network_endpoints(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AttachNetworkEndpointsRegionNetworkEndpointGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
network_endpoint_group: typing.Optional[str] = None,
region_network_endpoint_groups_attach_endpoints_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionNetworkEndpointGroupsAttachEndpointsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Attach a list of network endpoints to the specified network endpoint group.
google.cloud.compute_v1.services.region_network_endpoint_groups.RegionNetworkEndpointGroupsClient.attach_network_endpoints_unary
attach_network_endpoints_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AttachNetworkEndpointsRegionNetworkEndpointGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
network_endpoint_group: typing.Optional[str] = None,
region_network_endpoint_groups_attach_endpoints_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionNetworkEndpointGroupsAttachEndpointsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Attach a list of network endpoints to the specified network endpoint group.
google.cloud.compute_v1.services.region_network_endpoint_groups.RegionNetworkEndpointGroupsClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.region_network_endpoint_groups.RegionNetworkEndpointGroupsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.region_network_endpoint_groups.RegionNetworkEndpointGroupsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.region_network_endpoint_groups.RegionNetworkEndpointGroupsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.region_network_endpoint_groups.RegionNetworkEndpointGroupsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.region_network_endpoint_groups.RegionNetworkEndpointGroupsClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionNetworkEndpointGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified network endpoint group.
google.cloud.compute_v1.services.region_network_endpoint_groups.RegionNetworkEndpointGroupsClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionNetworkEndpointGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified network endpoint group.
google.cloud.compute_v1.services.region_network_endpoint_groups.RegionNetworkEndpointGroupsClient.detach_network_endpoints
detach_network_endpoints(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DetachNetworkEndpointsRegionNetworkEndpointGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
network_endpoint_group: typing.Optional[str] = None,
region_network_endpoint_groups_detach_endpoints_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionNetworkEndpointGroupsDetachEndpointsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Detach the network endpoint from the specified network endpoint group.
google.cloud.compute_v1.services.region_network_endpoint_groups.RegionNetworkEndpointGroupsClient.detach_network_endpoints_unary
detach_network_endpoints_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DetachNetworkEndpointsRegionNetworkEndpointGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
network_endpoint_group: typing.Optional[str] = None,
region_network_endpoint_groups_detach_endpoints_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionNetworkEndpointGroupsDetachEndpointsRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Detach the network endpoint from the specified network endpoint group.
google.cloud.compute_v1.services.region_network_endpoint_groups.RegionNetworkEndpointGroupsClient.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.region_network_endpoint_groups.RegionNetworkEndpointGroupsClient.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.region_network_endpoint_groups.RegionNetworkEndpointGroupsClient.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.region_network_endpoint_groups.RegionNetworkEndpointGroupsClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetRegionNetworkEndpointGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.NetworkEndpointGroup
Returns the specified network endpoint group.
google.cloud.compute_v1.services.region_network_endpoint_groups.RegionNetworkEndpointGroupsClient.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.region_network_endpoint_groups.RegionNetworkEndpointGroupsClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionNetworkEndpointGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> 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.region_network_endpoint_groups.RegionNetworkEndpointGroupsClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionNetworkEndpointGroupRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> 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.region_network_endpoint_groups.RegionNetworkEndpointGroupsClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListRegionNetworkEndpointGroupsRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.region_network_endpoint_groups.pagers.ListPager
Retrieves the list of regional network endpoint groups available to the specified project in the given region.
google.cloud.compute_v1.services.region_network_endpoint_groups.RegionNetworkEndpointGroupsClient.list_network_endpoints
list_network_endpoints(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListNetworkEndpointsRegionNetworkEndpointGroupsRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> (
google.cloud.compute_v1.services.region_network_endpoint_groups.pagers.ListNetworkEndpointsPager
)
Lists the network endpoints in the specified network endpoint group.
google.cloud.compute_v1.services.region_network_endpoint_groups.RegionNetworkEndpointGroupsClient.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.region_network_endpoint_groups.RegionNetworkEndpointGroupsClient.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.region_network_endpoint_groups.RegionNetworkEndpointGroupsClient.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.region_network_endpoint_groups.RegionNetworkEndpointGroupsClient.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.region_network_endpoint_groups.RegionNetworkEndpointGroupsClient.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.region_network_endpoint_groups.pagers.ListNetworkEndpointsPager
ListNetworkEndpointsPager(
method: typing.Callable[
[...],
google.cloud.compute_v1.types.compute.NetworkEndpointGroupsListNetworkEndpoints,
],
request: google.cloud.compute_v1.types.compute.ListNetworkEndpointsRegionNetworkEndpointGroupsRequest,
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, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_network_endpoint_groups.pagers.ListNetworkEndpointsPager
google.cloud.compute_v1.services.region_network_endpoint_groups.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.NetworkEndpointGroupList
],
request: google.cloud.compute_v1.types.compute.ListRegionNetworkEndpointGroupsRequest,
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, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_network_endpoint_groups.pagers.ListPager
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient
RegionNetworkFirewallPoliciesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.region_network_firewall_policies.transports.base.RegionNetworkFirewallPoliciesTransport, typing.Callable[[...], google.cloud.compute_v1.services.region_network_firewall_policies.transports.base.RegionNetworkFirewallPoliciesTransport]]] = 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 region network firewall policies client.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.add_association
add_association(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddAssociationRegionNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Inserts an association for the specified network firewall policy.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.add_association_unary
add_association_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddAssociationRegionNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Inserts an association for the specified network firewall policy.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.add_rule
add_rule(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddRuleRegionNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Inserts a rule into a network firewall policy.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.add_rule_unary
add_rule_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddRuleRegionNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Inserts a rule into a network firewall policy.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.clone_rules
clone_rules(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.CloneRulesRegionNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Copies rules to the specified network firewall policy.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.clone_rules_unary
clone_rules_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.CloneRulesRegionNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Copies rules to the specified network firewall policy.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified network firewall policy.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified network firewall policy.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.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.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.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.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.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.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetRegionNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.FirewallPolicy
Returns the specified network firewall policy.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.get_association
get_association(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetAssociationRegionNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.FirewallPolicyAssociation
Gets an association with the specified name.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.get_effective_firewalls
get_effective_firewalls(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
network: 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, str]] = ()
) -> (
google.cloud.compute_v1.types.compute.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse
)
Returns the effective firewalls on a given network.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetIamPolicyRegionNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Gets the access control policy for a resource.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.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.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.get_rule
get_rule(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetRuleRegionNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.FirewallPolicyRule
Gets a rule of the specified priority.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a new network firewall policy in the specified project and region.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a new network firewall policy in the specified project and region.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListRegionNetworkFirewallPoliciesRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.region_network_firewall_policies.pagers.ListPager
Lists all the network firewall policies that have been configured for the specified project in the given region.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.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.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.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.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.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.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.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.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.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.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRegionNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches the specified network firewall policy.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.patch_rule
patch_rule(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRuleRegionNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches a rule of the specified priority.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.patch_rule_unary
patch_rule_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRuleRegionNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Patches a rule of the specified priority.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRegionNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Patches the specified network firewall policy.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.remove_association
remove_association(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemoveAssociationRegionNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Removes an association for the specified network firewall policy.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.remove_association_unary
remove_association_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemoveAssociationRegionNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Removes an association for the specified network firewall policy.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.remove_rule
remove_rule(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemoveRuleRegionNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes a rule of the specified priority.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.remove_rule_unary
remove_rule_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemoveRuleRegionNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes a rule of the specified priority.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetIamPolicyRegionNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
region_set_policy_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionSetPolicyRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Sets the access control policy on the specified resource.
google.cloud.compute_v1.services.region_network_firewall_policies.RegionNetworkFirewallPoliciesClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.TestIamPermissionsRegionNetworkFirewallPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
google.cloud.compute_v1.services.region_network_firewall_policies.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.FirewallPolicyList
],
request: google.cloud.compute_v1.types.compute.ListRegionNetworkFirewallPoliciesRequest,
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, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_network_firewall_policies.pagers.ListPager
google.cloud.compute_v1.services.region_notification_endpoints.RegionNotificationEndpointsClient
RegionNotificationEndpointsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.region_notification_endpoints.transports.base.RegionNotificationEndpointsTransport, typing.Callable[[...], google.cloud.compute_v1.services.region_notification_endpoints.transports.base.RegionNotificationEndpointsTransport]]] = 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 region notification endpoints client.
See more: google.cloud.compute_v1.services.region_notification_endpoints.RegionNotificationEndpointsClient
google.cloud.compute_v1.services.region_notification_endpoints.RegionNotificationEndpointsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
google.cloud.compute_v1.services.region_notification_endpoints.RegionNotificationEndpointsClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.region_notification_endpoints.RegionNotificationEndpointsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.region_notification_endpoints.RegionNotificationEndpointsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.region_notification_endpoints.RegionNotificationEndpointsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.region_notification_endpoints.RegionNotificationEndpointsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.region_notification_endpoints.RegionNotificationEndpointsClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionNotificationEndpointRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
notification_endpoint: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified NotificationEndpoint in the given region.
google.cloud.compute_v1.services.region_notification_endpoints.RegionNotificationEndpointsClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionNotificationEndpointRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
notification_endpoint: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified NotificationEndpoint in the given region.
google.cloud.compute_v1.services.region_notification_endpoints.RegionNotificationEndpointsClient.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.region_notification_endpoints.RegionNotificationEndpointsClient.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.region_notification_endpoints.RegionNotificationEndpointsClient.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.region_notification_endpoints.RegionNotificationEndpointsClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetRegionNotificationEndpointRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
notification_endpoint: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.NotificationEndpoint
Returns the specified NotificationEndpoint resource in the given region.
See more: google.cloud.compute_v1.services.region_notification_endpoints.RegionNotificationEndpointsClient.get
google.cloud.compute_v1.services.region_notification_endpoints.RegionNotificationEndpointsClient.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.region_notification_endpoints.RegionNotificationEndpointsClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionNotificationEndpointRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
notification_endpoint_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NotificationEndpoint
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Create a NotificationEndpoint in the specified project in the given region using the parameters that are included in the request.
google.cloud.compute_v1.services.region_notification_endpoints.RegionNotificationEndpointsClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionNotificationEndpointRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
notification_endpoint_resource: typing.Optional[
google.cloud.compute_v1.types.compute.NotificationEndpoint
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Create a NotificationEndpoint in the specified project in the given region using the parameters that are included in the request.
google.cloud.compute_v1.services.region_notification_endpoints.RegionNotificationEndpointsClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListRegionNotificationEndpointsRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.region_notification_endpoints.pagers.ListPager
Lists the NotificationEndpoints for a project in the given region.
google.cloud.compute_v1.services.region_notification_endpoints.RegionNotificationEndpointsClient.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.region_notification_endpoints.RegionNotificationEndpointsClient.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.region_notification_endpoints.RegionNotificationEndpointsClient.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.region_notification_endpoints.RegionNotificationEndpointsClient.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.region_notification_endpoints.RegionNotificationEndpointsClient.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.region_notification_endpoints.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.NotificationEndpointList
],
request: google.cloud.compute_v1.types.compute.ListRegionNotificationEndpointsRequest,
response: google.cloud.compute_v1.types.compute.NotificationEndpointList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_notification_endpoints.pagers.ListPager
google.cloud.compute_v1.services.region_operations.RegionOperationsClient
RegionOperationsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.region_operations.transports.base.RegionOperationsTransport, typing.Callable[[...], google.cloud.compute_v1.services.region_operations.transports.base.RegionOperationsTransport]]] = 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 region operations client.
See more: google.cloud.compute_v1.services.region_operations.RegionOperationsClient
google.cloud.compute_v1.services.region_operations.RegionOperationsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.region_operations.RegionOperationsClient.exit
google.cloud.compute_v1.services.region_operations.RegionOperationsClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.region_operations.RegionOperationsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.region_operations.RegionOperationsClient.common_folder_path
google.cloud.compute_v1.services.region_operations.RegionOperationsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.region_operations.RegionOperationsClient.common_location_path
google.cloud.compute_v1.services.region_operations.RegionOperationsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.region_operations.RegionOperationsClient.common_organization_path
google.cloud.compute_v1.services.region_operations.RegionOperationsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.region_operations.RegionOperationsClient.common_project_path
google.cloud.compute_v1.services.region_operations.RegionOperationsClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionOperationRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.DeleteRegionOperationResponse
Deletes the specified region-specific Operations resource.
See more: google.cloud.compute_v1.services.region_operations.RegionOperationsClient.delete
google.cloud.compute_v1.services.region_operations.RegionOperationsClient.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.region_operations.RegionOperationsClient.from_service_account_file
google.cloud.compute_v1.services.region_operations.RegionOperationsClient.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.region_operations.RegionOperationsClient.from_service_account_info
google.cloud.compute_v1.services.region_operations.RegionOperationsClient.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.region_operations.RegionOperationsClient.from_service_account_json
google.cloud.compute_v1.services.region_operations.RegionOperationsClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetRegionOperationRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Retrieves the specified region-specific Operations resource.
See more: google.cloud.compute_v1.services.region_operations.RegionOperationsClient.get
google.cloud.compute_v1.services.region_operations.RegionOperationsClient.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.region_operations.RegionOperationsClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListRegionOperationsRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.region_operations.pagers.ListPager
Retrieves a list of Operation resources contained within the specified region.
See more: google.cloud.compute_v1.services.region_operations.RegionOperationsClient.list
google.cloud.compute_v1.services.region_operations.RegionOperationsClient.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.region_operations.RegionOperationsClient.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.region_operations.RegionOperationsClient.parse_common_folder_path
google.cloud.compute_v1.services.region_operations.RegionOperationsClient.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.region_operations.RegionOperationsClient.parse_common_location_path
google.cloud.compute_v1.services.region_operations.RegionOperationsClient.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.region_operations.RegionOperationsClient.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.region_operations.RegionOperationsClient.parse_common_project_path
google.cloud.compute_v1.services.region_operations.RegionOperationsClient.wait
wait(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.WaitRegionOperationRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> 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.region_operations.RegionOperationsClient.wait
google.cloud.compute_v1.services.region_operations.pagers.ListPager
ListPager(
method: typing.Callable[[...], google.cloud.compute_v1.types.compute.OperationList],
request: google.cloud.compute_v1.types.compute.ListRegionOperationsRequest,
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, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_operations.pagers.ListPager
google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient
RegionSecurityPoliciesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.region_security_policies.transports.base.RegionSecurityPoliciesTransport, typing.Callable[[...], google.cloud.compute_v1.services.region_security_policies.transports.base.RegionSecurityPoliciesTransport]]] = 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 region security policies client.
See more: google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient
google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.exit
google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.add_rule
add_rule(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddRuleRegionSecurityPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
security_policy: typing.Optional[str] = None,
security_policy_rule_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SecurityPolicyRule
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Inserts a rule into a security policy.
See more: google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.add_rule
google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.add_rule_unary
add_rule_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddRuleRegionSecurityPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
security_policy: typing.Optional[str] = None,
security_policy_rule_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SecurityPolicyRule
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Inserts a rule into a security policy.
google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionSecurityPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
security_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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified policy.
See more: google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.delete
google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionSecurityPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
security_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified policy.
See more: google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.delete_unary
google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.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.region_security_policies.RegionSecurityPoliciesClient.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.region_security_policies.RegionSecurityPoliciesClient.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.region_security_policies.RegionSecurityPoliciesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetRegionSecurityPolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
security_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.SecurityPolicy
List all of the ordered rules present in a single specified policy.
See more: google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.get
google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.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.region_security_policies.RegionSecurityPoliciesClient.get_rule
get_rule(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetRuleRegionSecurityPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
security_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.SecurityPolicyRule
Gets a rule at the specified priority.
See more: google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.get_rule
google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionSecurityPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
security_policy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SecurityPolicy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> 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.region_security_policies.RegionSecurityPoliciesClient.insert
google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionSecurityPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
security_policy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SecurityPolicy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> 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.region_security_policies.RegionSecurityPoliciesClient.insert_unary
google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListRegionSecurityPoliciesRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.region_security_policies.pagers.ListPager
List all the policies that have been configured for the specified project and region.
See more: google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.list
google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.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.region_security_policies.RegionSecurityPoliciesClient.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.region_security_policies.RegionSecurityPoliciesClient.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.region_security_policies.RegionSecurityPoliciesClient.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.region_security_policies.RegionSecurityPoliciesClient.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.region_security_policies.RegionSecurityPoliciesClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRegionSecurityPolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
security_policy: typing.Optional[str] = None,
security_policy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SecurityPolicy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches the specified policy with the data included in the request.
See more: google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.patch
google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.patch_rule
patch_rule(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRuleRegionSecurityPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
security_policy: typing.Optional[str] = None,
security_policy_rule_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SecurityPolicyRule
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches a rule at the specified priority.
See more: google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.patch_rule
google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.patch_rule_unary
patch_rule_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRuleRegionSecurityPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
security_policy: typing.Optional[str] = None,
security_policy_rule_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SecurityPolicyRule
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Patches a rule at the specified priority.
google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRegionSecurityPolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
security_policy: typing.Optional[str] = None,
security_policy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SecurityPolicy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> 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.region_security_policies.RegionSecurityPoliciesClient.patch_unary
google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.remove_rule
remove_rule(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemoveRuleRegionSecurityPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
security_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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes a rule at the specified priority.
See more: google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.remove_rule
google.cloud.compute_v1.services.region_security_policies.RegionSecurityPoliciesClient.remove_rule_unary
remove_rule_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemoveRuleRegionSecurityPolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
security_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes a rule at the specified priority.
google.cloud.compute_v1.services.region_security_policies.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.SecurityPolicyList
],
request: google.cloud.compute_v1.types.compute.ListRegionSecurityPoliciesRequest,
response: google.cloud.compute_v1.types.compute.SecurityPolicyList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_security_policies.pagers.ListPager
google.cloud.compute_v1.services.region_ssl_certificates.RegionSslCertificatesClient
RegionSslCertificatesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.region_ssl_certificates.transports.base.RegionSslCertificatesTransport, typing.Callable[[...], google.cloud.compute_v1.services.region_ssl_certificates.transports.base.RegionSslCertificatesTransport]]] = 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 region ssl certificates client.
See more: google.cloud.compute_v1.services.region_ssl_certificates.RegionSslCertificatesClient
google.cloud.compute_v1.services.region_ssl_certificates.RegionSslCertificatesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.region_ssl_certificates.RegionSslCertificatesClient.exit
google.cloud.compute_v1.services.region_ssl_certificates.RegionSslCertificatesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.region_ssl_certificates.RegionSslCertificatesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.region_ssl_certificates.RegionSslCertificatesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.region_ssl_certificates.RegionSslCertificatesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.region_ssl_certificates.RegionSslCertificatesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.region_ssl_certificates.RegionSslCertificatesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionSslCertificateRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
ssl_certificate: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified SslCertificate resource in the region.
See more: google.cloud.compute_v1.services.region_ssl_certificates.RegionSslCertificatesClient.delete
google.cloud.compute_v1.services.region_ssl_certificates.RegionSslCertificatesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionSslCertificateRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
ssl_certificate: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified SslCertificate resource in the region.
See more: google.cloud.compute_v1.services.region_ssl_certificates.RegionSslCertificatesClient.delete_unary
google.cloud.compute_v1.services.region_ssl_certificates.RegionSslCertificatesClient.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.region_ssl_certificates.RegionSslCertificatesClient.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.region_ssl_certificates.RegionSslCertificatesClient.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.region_ssl_certificates.RegionSslCertificatesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetRegionSslCertificateRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
ssl_certificate: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.SslCertificate
Returns the specified SslCertificate resource in the specified region.
See more: google.cloud.compute_v1.services.region_ssl_certificates.RegionSslCertificatesClient.get
google.cloud.compute_v1.services.region_ssl_certificates.RegionSslCertificatesClient.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.region_ssl_certificates.RegionSslCertificatesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionSslCertificateRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
ssl_certificate_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SslCertificate
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a SslCertificate resource in the specified project and region using the data included in the request.
See more: google.cloud.compute_v1.services.region_ssl_certificates.RegionSslCertificatesClient.insert
google.cloud.compute_v1.services.region_ssl_certificates.RegionSslCertificatesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionSslCertificateRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
ssl_certificate_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SslCertificate
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a SslCertificate resource in the specified project and region using the data included in the request.
See more: google.cloud.compute_v1.services.region_ssl_certificates.RegionSslCertificatesClient.insert_unary
google.cloud.compute_v1.services.region_ssl_certificates.RegionSslCertificatesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListRegionSslCertificatesRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.region_ssl_certificates.pagers.ListPager
Retrieves the list of SslCertificate resources available to the specified project in the specified region.
See more: google.cloud.compute_v1.services.region_ssl_certificates.RegionSslCertificatesClient.list
google.cloud.compute_v1.services.region_ssl_certificates.RegionSslCertificatesClient.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.region_ssl_certificates.RegionSslCertificatesClient.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.region_ssl_certificates.RegionSslCertificatesClient.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.region_ssl_certificates.RegionSslCertificatesClient.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.region_ssl_certificates.RegionSslCertificatesClient.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.region_ssl_certificates.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.SslCertificateList
],
request: google.cloud.compute_v1.types.compute.ListRegionSslCertificatesRequest,
response: google.cloud.compute_v1.types.compute.SslCertificateList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_ssl_certificates.pagers.ListPager
google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient
RegionSslPoliciesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.region_ssl_policies.transports.base.RegionSslPoliciesTransport, typing.Callable[[...], google.cloud.compute_v1.services.region_ssl_policies.transports.base.RegionSslPoliciesTransport]]] = 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 region ssl policies client.
See more: google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient
google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient.exit
google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient.common_folder_path
google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient.common_location_path
google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient.common_project_path
google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionSslPolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
ssl_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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified SSL policy.
See more: google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient.delete
google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionSslPolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
ssl_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified SSL policy.
See more: google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient.delete_unary
google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient.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.region_ssl_policies.RegionSslPoliciesClient.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.region_ssl_policies.RegionSslPoliciesClient.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.region_ssl_policies.RegionSslPoliciesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetRegionSslPolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
ssl_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.SslPolicy
Lists all of the ordered rules present in a single specified policy.
See more: google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient.get
google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient.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.region_ssl_policies.RegionSslPoliciesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionSslPolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
ssl_policy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SslPolicy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a new policy in the specified project and region using the data included in the request.
See more: google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient.insert
google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionSslPolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
ssl_policy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SslPolicy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a new policy in the specified project and region using the data included in the request.
See more: google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient.insert_unary
google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListRegionSslPoliciesRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.region_ssl_policies.pagers.ListPager
Lists all the SSL policies that have been configured for the specified project and region.
See more: google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient.list
google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient.list_available_features
list_available_features(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListAvailableFeaturesRegionSslPoliciesRequest,
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, str]] = ()
) -> google.cloud.compute_v1.types.compute.SslPoliciesListAvailableFeaturesResponse
Lists all features that can be specified in the SSL policy when using custom profile.
See more: google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient.list_available_features
google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient.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.region_ssl_policies.RegionSslPoliciesClient.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.region_ssl_policies.RegionSslPoliciesClient.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.region_ssl_policies.RegionSslPoliciesClient.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.region_ssl_policies.RegionSslPoliciesClient.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.region_ssl_policies.RegionSslPoliciesClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRegionSslPolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
ssl_policy: typing.Optional[str] = None,
ssl_policy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SslPolicy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches the specified SSL policy with the data included in the request.
See more: google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient.patch
google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRegionSslPolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
ssl_policy: typing.Optional[str] = None,
ssl_policy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SslPolicy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Patches the specified SSL policy with the data included in the request.
See more: google.cloud.compute_v1.services.region_ssl_policies.RegionSslPoliciesClient.patch_unary
google.cloud.compute_v1.services.region_ssl_policies.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.SslPoliciesList
],
request: google.cloud.compute_v1.types.compute.ListRegionSslPoliciesRequest,
response: google.cloud.compute_v1.types.compute.SslPoliciesList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_ssl_policies.pagers.ListPager
google.cloud.compute_v1.services.region_target_http_proxies.RegionTargetHttpProxiesClient
RegionTargetHttpProxiesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.region_target_http_proxies.transports.base.RegionTargetHttpProxiesTransport, typing.Callable[[...], google.cloud.compute_v1.services.region_target_http_proxies.transports.base.RegionTargetHttpProxiesTransport]]] = 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 region target http proxies client.
See more: google.cloud.compute_v1.services.region_target_http_proxies.RegionTargetHttpProxiesClient
google.cloud.compute_v1.services.region_target_http_proxies.RegionTargetHttpProxiesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.region_target_http_proxies.RegionTargetHttpProxiesClient.exit
google.cloud.compute_v1.services.region_target_http_proxies.RegionTargetHttpProxiesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.region_target_http_proxies.RegionTargetHttpProxiesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.region_target_http_proxies.RegionTargetHttpProxiesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.region_target_http_proxies.RegionTargetHttpProxiesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.region_target_http_proxies.RegionTargetHttpProxiesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.region_target_http_proxies.RegionTargetHttpProxiesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionTargetHttpProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_http_proxy: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified TargetHttpProxy resource.
See more: google.cloud.compute_v1.services.region_target_http_proxies.RegionTargetHttpProxiesClient.delete
google.cloud.compute_v1.services.region_target_http_proxies.RegionTargetHttpProxiesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionTargetHttpProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_http_proxy: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified TargetHttpProxy resource.
google.cloud.compute_v1.services.region_target_http_proxies.RegionTargetHttpProxiesClient.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.region_target_http_proxies.RegionTargetHttpProxiesClient.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.region_target_http_proxies.RegionTargetHttpProxiesClient.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.region_target_http_proxies.RegionTargetHttpProxiesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetRegionTargetHttpProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_http_proxy: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TargetHttpProxy
Returns the specified TargetHttpProxy resource in the specified region.
See more: google.cloud.compute_v1.services.region_target_http_proxies.RegionTargetHttpProxiesClient.get
google.cloud.compute_v1.services.region_target_http_proxies.RegionTargetHttpProxiesClient.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.region_target_http_proxies.RegionTargetHttpProxiesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionTargetHttpProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_http_proxy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetHttpProxy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a TargetHttpProxy resource in the specified project and region using the data included in the request.
See more: google.cloud.compute_v1.services.region_target_http_proxies.RegionTargetHttpProxiesClient.insert
google.cloud.compute_v1.services.region_target_http_proxies.RegionTargetHttpProxiesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionTargetHttpProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_http_proxy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetHttpProxy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a TargetHttpProxy resource in the specified project and region using the data included in the request.
google.cloud.compute_v1.services.region_target_http_proxies.RegionTargetHttpProxiesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListRegionTargetHttpProxiesRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.region_target_http_proxies.pagers.ListPager
Retrieves the list of TargetHttpProxy resources available to the specified project in the specified region.
See more: google.cloud.compute_v1.services.region_target_http_proxies.RegionTargetHttpProxiesClient.list
google.cloud.compute_v1.services.region_target_http_proxies.RegionTargetHttpProxiesClient.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.region_target_http_proxies.RegionTargetHttpProxiesClient.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.region_target_http_proxies.RegionTargetHttpProxiesClient.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.region_target_http_proxies.RegionTargetHttpProxiesClient.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.region_target_http_proxies.RegionTargetHttpProxiesClient.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.region_target_http_proxies.RegionTargetHttpProxiesClient.set_url_map
set_url_map(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetUrlMapRegionTargetHttpProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_http_proxy: typing.Optional[str] = None,
url_map_reference_resource: typing.Optional[
google.cloud.compute_v1.types.compute.UrlMapReference
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Changes the URL map for TargetHttpProxy.
google.cloud.compute_v1.services.region_target_http_proxies.RegionTargetHttpProxiesClient.set_url_map_unary
set_url_map_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetUrlMapRegionTargetHttpProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_http_proxy: typing.Optional[str] = None,
url_map_reference_resource: typing.Optional[
google.cloud.compute_v1.types.compute.UrlMapReference
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Changes the URL map for TargetHttpProxy.
google.cloud.compute_v1.services.region_target_http_proxies.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.TargetHttpProxyList
],
request: google.cloud.compute_v1.types.compute.ListRegionTargetHttpProxiesRequest,
response: google.cloud.compute_v1.types.compute.TargetHttpProxyList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_target_http_proxies.pagers.ListPager
google.cloud.compute_v1.services.region_target_https_proxies.RegionTargetHttpsProxiesClient
RegionTargetHttpsProxiesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.region_target_https_proxies.transports.base.RegionTargetHttpsProxiesTransport, typing.Callable[[...], google.cloud.compute_v1.services.region_target_https_proxies.transports.base.RegionTargetHttpsProxiesTransport]]] = 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 region target https proxies client.
See more: google.cloud.compute_v1.services.region_target_https_proxies.RegionTargetHttpsProxiesClient
google.cloud.compute_v1.services.region_target_https_proxies.RegionTargetHttpsProxiesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.region_target_https_proxies.RegionTargetHttpsProxiesClient.exit
google.cloud.compute_v1.services.region_target_https_proxies.RegionTargetHttpsProxiesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.region_target_https_proxies.RegionTargetHttpsProxiesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.region_target_https_proxies.RegionTargetHttpsProxiesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.region_target_https_proxies.RegionTargetHttpsProxiesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.region_target_https_proxies.RegionTargetHttpsProxiesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.region_target_https_proxies.RegionTargetHttpsProxiesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionTargetHttpsProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_https_proxy: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified TargetHttpsProxy resource.
See more: google.cloud.compute_v1.services.region_target_https_proxies.RegionTargetHttpsProxiesClient.delete
google.cloud.compute_v1.services.region_target_https_proxies.RegionTargetHttpsProxiesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionTargetHttpsProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_https_proxy: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified TargetHttpsProxy resource.
google.cloud.compute_v1.services.region_target_https_proxies.RegionTargetHttpsProxiesClient.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.region_target_https_proxies.RegionTargetHttpsProxiesClient.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.region_target_https_proxies.RegionTargetHttpsProxiesClient.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.region_target_https_proxies.RegionTargetHttpsProxiesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetRegionTargetHttpsProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_https_proxy: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TargetHttpsProxy
Returns the specified TargetHttpsProxy resource in the specified region.
See more: google.cloud.compute_v1.services.region_target_https_proxies.RegionTargetHttpsProxiesClient.get
google.cloud.compute_v1.services.region_target_https_proxies.RegionTargetHttpsProxiesClient.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.region_target_https_proxies.RegionTargetHttpsProxiesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionTargetHttpsProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_https_proxy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetHttpsProxy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a TargetHttpsProxy resource in the specified project and region using the data included in the request.
See more: google.cloud.compute_v1.services.region_target_https_proxies.RegionTargetHttpsProxiesClient.insert
google.cloud.compute_v1.services.region_target_https_proxies.RegionTargetHttpsProxiesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionTargetHttpsProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_https_proxy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetHttpsProxy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a TargetHttpsProxy resource in the specified project and region using the data included in the request.
google.cloud.compute_v1.services.region_target_https_proxies.RegionTargetHttpsProxiesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListRegionTargetHttpsProxiesRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.region_target_https_proxies.pagers.ListPager
Retrieves the list of TargetHttpsProxy resources available to the specified project in the specified region.
See more: google.cloud.compute_v1.services.region_target_https_proxies.RegionTargetHttpsProxiesClient.list
google.cloud.compute_v1.services.region_target_https_proxies.RegionTargetHttpsProxiesClient.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.region_target_https_proxies.RegionTargetHttpsProxiesClient.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.region_target_https_proxies.RegionTargetHttpsProxiesClient.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.region_target_https_proxies.RegionTargetHttpsProxiesClient.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.region_target_https_proxies.RegionTargetHttpsProxiesClient.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.region_target_https_proxies.RegionTargetHttpsProxiesClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRegionTargetHttpsProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_https_proxy: typing.Optional[str] = None,
target_https_proxy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetHttpsProxy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches the specified regional TargetHttpsProxy resource with the data included in the request.
See more: google.cloud.compute_v1.services.region_target_https_proxies.RegionTargetHttpsProxiesClient.patch
google.cloud.compute_v1.services.region_target_https_proxies.RegionTargetHttpsProxiesClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRegionTargetHttpsProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_https_proxy: typing.Optional[str] = None,
target_https_proxy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetHttpsProxy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Patches the specified regional TargetHttpsProxy resource with the data included in the request.
google.cloud.compute_v1.services.region_target_https_proxies.RegionTargetHttpsProxiesClient.set_ssl_certificates
set_ssl_certificates(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetSslCertificatesRegionTargetHttpsProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_https_proxy: typing.Optional[str] = None,
region_target_https_proxies_set_ssl_certificates_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionTargetHttpsProxiesSetSslCertificatesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Replaces SslCertificates for TargetHttpsProxy.
google.cloud.compute_v1.services.region_target_https_proxies.RegionTargetHttpsProxiesClient.set_ssl_certificates_unary
set_ssl_certificates_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetSslCertificatesRegionTargetHttpsProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_https_proxy: typing.Optional[str] = None,
region_target_https_proxies_set_ssl_certificates_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionTargetHttpsProxiesSetSslCertificatesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Replaces SslCertificates for TargetHttpsProxy.
google.cloud.compute_v1.services.region_target_https_proxies.RegionTargetHttpsProxiesClient.set_url_map
set_url_map(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetUrlMapRegionTargetHttpsProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_https_proxy: typing.Optional[str] = None,
url_map_reference_resource: typing.Optional[
google.cloud.compute_v1.types.compute.UrlMapReference
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Changes the URL map for TargetHttpsProxy.
google.cloud.compute_v1.services.region_target_https_proxies.RegionTargetHttpsProxiesClient.set_url_map_unary
set_url_map_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetUrlMapRegionTargetHttpsProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_https_proxy: typing.Optional[str] = None,
url_map_reference_resource: typing.Optional[
google.cloud.compute_v1.types.compute.UrlMapReference
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Changes the URL map for TargetHttpsProxy.
google.cloud.compute_v1.services.region_target_https_proxies.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.TargetHttpsProxyList
],
request: google.cloud.compute_v1.types.compute.ListRegionTargetHttpsProxiesRequest,
response: google.cloud.compute_v1.types.compute.TargetHttpsProxyList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_target_https_proxies.pagers.ListPager
google.cloud.compute_v1.services.region_target_tcp_proxies.RegionTargetTcpProxiesClient
RegionTargetTcpProxiesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.region_target_tcp_proxies.transports.base.RegionTargetTcpProxiesTransport, typing.Callable[[...], google.cloud.compute_v1.services.region_target_tcp_proxies.transports.base.RegionTargetTcpProxiesTransport]]] = 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 region target tcp proxies client.
See more: google.cloud.compute_v1.services.region_target_tcp_proxies.RegionTargetTcpProxiesClient
google.cloud.compute_v1.services.region_target_tcp_proxies.RegionTargetTcpProxiesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.region_target_tcp_proxies.RegionTargetTcpProxiesClient.exit
google.cloud.compute_v1.services.region_target_tcp_proxies.RegionTargetTcpProxiesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.region_target_tcp_proxies.RegionTargetTcpProxiesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.region_target_tcp_proxies.RegionTargetTcpProxiesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.region_target_tcp_proxies.RegionTargetTcpProxiesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.region_target_tcp_proxies.RegionTargetTcpProxiesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.region_target_tcp_proxies.RegionTargetTcpProxiesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionTargetTcpProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_tcp_proxy: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified TargetTcpProxy resource.
See more: google.cloud.compute_v1.services.region_target_tcp_proxies.RegionTargetTcpProxiesClient.delete
google.cloud.compute_v1.services.region_target_tcp_proxies.RegionTargetTcpProxiesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionTargetTcpProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_tcp_proxy: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified TargetTcpProxy resource.
See more: google.cloud.compute_v1.services.region_target_tcp_proxies.RegionTargetTcpProxiesClient.delete_unary
google.cloud.compute_v1.services.region_target_tcp_proxies.RegionTargetTcpProxiesClient.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.region_target_tcp_proxies.RegionTargetTcpProxiesClient.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.region_target_tcp_proxies.RegionTargetTcpProxiesClient.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.region_target_tcp_proxies.RegionTargetTcpProxiesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetRegionTargetTcpProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_tcp_proxy: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TargetTcpProxy
Returns the specified TargetTcpProxy resource.
See more: google.cloud.compute_v1.services.region_target_tcp_proxies.RegionTargetTcpProxiesClient.get
google.cloud.compute_v1.services.region_target_tcp_proxies.RegionTargetTcpProxiesClient.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.region_target_tcp_proxies.RegionTargetTcpProxiesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionTargetTcpProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_tcp_proxy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetTcpProxy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a TargetTcpProxy resource in the specified project and region using the data included in the request.
See more: google.cloud.compute_v1.services.region_target_tcp_proxies.RegionTargetTcpProxiesClient.insert
google.cloud.compute_v1.services.region_target_tcp_proxies.RegionTargetTcpProxiesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionTargetTcpProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_tcp_proxy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetTcpProxy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a TargetTcpProxy resource in the specified project and region using the data included in the request.
See more: google.cloud.compute_v1.services.region_target_tcp_proxies.RegionTargetTcpProxiesClient.insert_unary
google.cloud.compute_v1.services.region_target_tcp_proxies.RegionTargetTcpProxiesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListRegionTargetTcpProxiesRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.region_target_tcp_proxies.pagers.ListPager
Retrieves a list of TargetTcpProxy resources available to the specified project in a given region.
See more: google.cloud.compute_v1.services.region_target_tcp_proxies.RegionTargetTcpProxiesClient.list
google.cloud.compute_v1.services.region_target_tcp_proxies.RegionTargetTcpProxiesClient.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.region_target_tcp_proxies.RegionTargetTcpProxiesClient.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.region_target_tcp_proxies.RegionTargetTcpProxiesClient.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.region_target_tcp_proxies.RegionTargetTcpProxiesClient.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.region_target_tcp_proxies.RegionTargetTcpProxiesClient.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.region_target_tcp_proxies.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.TargetTcpProxyList
],
request: google.cloud.compute_v1.types.compute.ListRegionTargetTcpProxiesRequest,
response: google.cloud.compute_v1.types.compute.TargetTcpProxyList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_target_tcp_proxies.pagers.ListPager
google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient
RegionUrlMapsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.region_url_maps.transports.base.RegionUrlMapsTransport, typing.Callable[[...], google.cloud.compute_v1.services.region_url_maps.transports.base.RegionUrlMapsTransport]]] = 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 region url maps client.
See more: google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient
google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.exit
google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.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.region_url_maps.RegionUrlMapsClient.common_billing_account_path
google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.common_folder_path
google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.common_location_path
google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.common_organization_path
google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.common_project_path
google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionUrlMapRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
url_map: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified UrlMap resource.
See more: google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.delete
google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteRegionUrlMapRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
url_map: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified UrlMap resource.
See more: google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.delete_unary
google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.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.region_url_maps.RegionUrlMapsClient.from_service_account_file
google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.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.region_url_maps.RegionUrlMapsClient.from_service_account_info
google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.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.region_url_maps.RegionUrlMapsClient.from_service_account_json
google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetRegionUrlMapRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
url_map: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.UrlMap
Returns the specified UrlMap resource.
See more: google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.get
google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.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.region_url_maps.RegionUrlMapsClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionUrlMapRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
url_map_resource: typing.Optional[
google.cloud.compute_v1.types.compute.UrlMap
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a UrlMap resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.insert
google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertRegionUrlMapRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
url_map_resource: typing.Optional[
google.cloud.compute_v1.types.compute.UrlMap
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a UrlMap resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.insert_unary
google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListRegionUrlMapsRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.region_url_maps.pagers.ListPager
Retrieves the list of UrlMap resources available to the specified project in the specified region.
See more: google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.list
google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.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.region_url_maps.RegionUrlMapsClient.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.region_url_maps.RegionUrlMapsClient.parse_common_folder_path
google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.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.region_url_maps.RegionUrlMapsClient.parse_common_location_path
google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.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.region_url_maps.RegionUrlMapsClient.parse_common_organization_path
google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.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.region_url_maps.RegionUrlMapsClient.parse_common_project_path
google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRegionUrlMapRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
url_map: typing.Optional[str] = None,
url_map_resource: typing.Optional[
google.cloud.compute_v1.types.compute.UrlMap
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches the specified UrlMap resource with the data included in the request.
See more: google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.patch
google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRegionUrlMapRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
url_map: typing.Optional[str] = None,
url_map_resource: typing.Optional[
google.cloud.compute_v1.types.compute.UrlMap
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Patches the specified UrlMap resource with the data included in the request.
See more: google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.patch_unary
google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.update
update(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateRegionUrlMapRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
url_map: typing.Optional[str] = None,
url_map_resource: typing.Optional[
google.cloud.compute_v1.types.compute.UrlMap
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates the specified UrlMap resource with the data included in the request.
See more: google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.update
google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.update_unary
update_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateRegionUrlMapRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
url_map: typing.Optional[str] = None,
url_map_resource: typing.Optional[
google.cloud.compute_v1.types.compute.UrlMap
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates the specified UrlMap resource with the data included in the request.
See more: google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.update_unary
google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.validate
validate(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ValidateRegionUrlMapRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
url_map: typing.Optional[str] = None,
region_url_maps_validate_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionUrlMapsValidateRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.UrlMapsValidateResponse
Runs static validation for the UrlMap.
See more: google.cloud.compute_v1.services.region_url_maps.RegionUrlMapsClient.validate
google.cloud.compute_v1.services.region_url_maps.pagers.ListPager
ListPager(
method: typing.Callable[[...], google.cloud.compute_v1.types.compute.UrlMapList],
request: google.cloud.compute_v1.types.compute.ListRegionUrlMapsRequest,
response: google.cloud.compute_v1.types.compute.UrlMapList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_url_maps.pagers.ListPager
google.cloud.compute_v1.services.region_zones.RegionZonesClient
RegionZonesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.region_zones.transports.base.RegionZonesTransport, typing.Callable[[...], google.cloud.compute_v1.services.region_zones.transports.base.RegionZonesTransport]]] = 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 region zones client.
See more: google.cloud.compute_v1.services.region_zones.RegionZonesClient
google.cloud.compute_v1.services.region_zones.RegionZonesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.region_zones.RegionZonesClient.exit
google.cloud.compute_v1.services.region_zones.RegionZonesClient.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.region_zones.RegionZonesClient.common_billing_account_path
google.cloud.compute_v1.services.region_zones.RegionZonesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.region_zones.RegionZonesClient.common_folder_path
google.cloud.compute_v1.services.region_zones.RegionZonesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.region_zones.RegionZonesClient.common_location_path
google.cloud.compute_v1.services.region_zones.RegionZonesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.region_zones.RegionZonesClient.common_organization_path
google.cloud.compute_v1.services.region_zones.RegionZonesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.region_zones.RegionZonesClient.common_project_path
google.cloud.compute_v1.services.region_zones.RegionZonesClient.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.region_zones.RegionZonesClient.from_service_account_file
google.cloud.compute_v1.services.region_zones.RegionZonesClient.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.region_zones.RegionZonesClient.from_service_account_info
google.cloud.compute_v1.services.region_zones.RegionZonesClient.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.region_zones.RegionZonesClient.from_service_account_json
google.cloud.compute_v1.services.region_zones.RegionZonesClient.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.region_zones.RegionZonesClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.region_zones.RegionZonesClient.list
list(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ListRegionZonesRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.region_zones.pagers.ListPager
Retrieves the list of Zone resources under the specific region available to the specified project.
See more: google.cloud.compute_v1.services.region_zones.RegionZonesClient.list
google.cloud.compute_v1.services.region_zones.RegionZonesClient.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.region_zones.RegionZonesClient.parse_common_billing_account_path
google.cloud.compute_v1.services.region_zones.RegionZonesClient.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.region_zones.RegionZonesClient.parse_common_folder_path
google.cloud.compute_v1.services.region_zones.RegionZonesClient.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.region_zones.RegionZonesClient.parse_common_location_path
google.cloud.compute_v1.services.region_zones.RegionZonesClient.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.region_zones.RegionZonesClient.parse_common_organization_path
google.cloud.compute_v1.services.region_zones.RegionZonesClient.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.region_zones.RegionZonesClient.parse_common_project_path
google.cloud.compute_v1.services.region_zones.pagers.ListPager
ListPager(
method: typing.Callable[[...], google.cloud.compute_v1.types.compute.ZoneList],
request: google.cloud.compute_v1.types.compute.ListRegionZonesRequest,
response: google.cloud.compute_v1.types.compute.ZoneList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.region_zones.pagers.ListPager
google.cloud.compute_v1.services.regions.RegionsClient
RegionsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.regions.transports.base.RegionsTransport, typing.Callable[[...], google.cloud.compute_v1.services.regions.transports.base.RegionsTransport]]] = 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 regions client.
See more: google.cloud.compute_v1.services.regions.RegionsClient
google.cloud.compute_v1.services.regions.RegionsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.regions.RegionsClient.exit
google.cloud.compute_v1.services.regions.RegionsClient.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.regions.RegionsClient.common_billing_account_path
google.cloud.compute_v1.services.regions.RegionsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.regions.RegionsClient.common_folder_path
google.cloud.compute_v1.services.regions.RegionsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.regions.RegionsClient.common_location_path
google.cloud.compute_v1.services.regions.RegionsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.regions.RegionsClient.common_organization_path
google.cloud.compute_v1.services.regions.RegionsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.regions.RegionsClient.common_project_path
google.cloud.compute_v1.services.regions.RegionsClient.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.regions.RegionsClient.from_service_account_file
google.cloud.compute_v1.services.regions.RegionsClient.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.regions.RegionsClient.from_service_account_info
google.cloud.compute_v1.services.regions.RegionsClient.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.regions.RegionsClient.from_service_account_json
google.cloud.compute_v1.services.regions.RegionsClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetRegionRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Region
Returns the specified Region resource.
See more: google.cloud.compute_v1.services.regions.RegionsClient.get
google.cloud.compute_v1.services.regions.RegionsClient.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.regions.RegionsClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.regions.RegionsClient.list
list(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ListRegionsRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.regions.pagers.ListPager
Retrieves the list of region resources available to the specified project.
See more: google.cloud.compute_v1.services.regions.RegionsClient.list
google.cloud.compute_v1.services.regions.RegionsClient.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.regions.RegionsClient.parse_common_billing_account_path
google.cloud.compute_v1.services.regions.RegionsClient.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.regions.RegionsClient.parse_common_folder_path
google.cloud.compute_v1.services.regions.RegionsClient.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.regions.RegionsClient.parse_common_location_path
google.cloud.compute_v1.services.regions.RegionsClient.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.regions.RegionsClient.parse_common_organization_path
google.cloud.compute_v1.services.regions.RegionsClient.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.regions.RegionsClient.parse_common_project_path
google.cloud.compute_v1.services.regions.pagers.ListPager
ListPager(
method: typing.Callable[[...], google.cloud.compute_v1.types.compute.RegionList],
request: google.cloud.compute_v1.types.compute.ListRegionsRequest,
response: google.cloud.compute_v1.types.compute.RegionList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.regions.pagers.ListPager
google.cloud.compute_v1.services.reservations.ReservationsClient
ReservationsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.reservations.transports.base.ReservationsTransport, typing.Callable[[...], google.cloud.compute_v1.services.reservations.transports.base.ReservationsTransport]]] = 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 reservations client.
See more: google.cloud.compute_v1.services.reservations.ReservationsClient
google.cloud.compute_v1.services.reservations.ReservationsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.reservations.ReservationsClient.exit
google.cloud.compute_v1.services.reservations.ReservationsClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListReservationsRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.reservations.pagers.AggregatedListPager
Retrieves an aggregated list of reservations.
See more: google.cloud.compute_v1.services.reservations.ReservationsClient.aggregated_list
google.cloud.compute_v1.services.reservations.ReservationsClient.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.reservations.ReservationsClient.common_billing_account_path
google.cloud.compute_v1.services.reservations.ReservationsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.reservations.ReservationsClient.common_folder_path
google.cloud.compute_v1.services.reservations.ReservationsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.reservations.ReservationsClient.common_location_path
google.cloud.compute_v1.services.reservations.ReservationsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.reservations.ReservationsClient.common_organization_path
google.cloud.compute_v1.services.reservations.ReservationsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.reservations.ReservationsClient.common_project_path
google.cloud.compute_v1.services.reservations.ReservationsClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteReservationRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
reservation: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified reservation.
See more: google.cloud.compute_v1.services.reservations.ReservationsClient.delete
google.cloud.compute_v1.services.reservations.ReservationsClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteReservationRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
reservation: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified reservation.
See more: google.cloud.compute_v1.services.reservations.ReservationsClient.delete_unary
google.cloud.compute_v1.services.reservations.ReservationsClient.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.reservations.ReservationsClient.from_service_account_file
google.cloud.compute_v1.services.reservations.ReservationsClient.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.reservations.ReservationsClient.from_service_account_info
google.cloud.compute_v1.services.reservations.ReservationsClient.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.reservations.ReservationsClient.from_service_account_json
google.cloud.compute_v1.services.reservations.ReservationsClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetReservationRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
reservation: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Reservation
Retrieves information about the specified reservation.
See more: google.cloud.compute_v1.services.reservations.ReservationsClient.get
google.cloud.compute_v1.services.reservations.ReservationsClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetIamPolicyReservationRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Gets the access control policy for a resource.
See more: google.cloud.compute_v1.services.reservations.ReservationsClient.get_iam_policy
google.cloud.compute_v1.services.reservations.ReservationsClient.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.reservations.ReservationsClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.reservations.ReservationsClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertReservationRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
reservation_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Reservation
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a new reservation.
See more: google.cloud.compute_v1.services.reservations.ReservationsClient.insert
google.cloud.compute_v1.services.reservations.ReservationsClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertReservationRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
reservation_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Reservation
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a new reservation.
See more: google.cloud.compute_v1.services.reservations.ReservationsClient.insert_unary
google.cloud.compute_v1.services.reservations.ReservationsClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListReservationsRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.reservations.pagers.ListPager
A list of all the reservations that have been configured for the specified project in specified zone.
See more: google.cloud.compute_v1.services.reservations.ReservationsClient.list
google.cloud.compute_v1.services.reservations.ReservationsClient.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.reservations.ReservationsClient.parse_common_billing_account_path
google.cloud.compute_v1.services.reservations.ReservationsClient.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.reservations.ReservationsClient.parse_common_folder_path
google.cloud.compute_v1.services.reservations.ReservationsClient.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.reservations.ReservationsClient.parse_common_location_path
google.cloud.compute_v1.services.reservations.ReservationsClient.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.reservations.ReservationsClient.parse_common_organization_path
google.cloud.compute_v1.services.reservations.ReservationsClient.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.reservations.ReservationsClient.parse_common_project_path
google.cloud.compute_v1.services.reservations.ReservationsClient.resize
resize(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ResizeReservationRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
reservation: typing.Optional[str] = None,
reservations_resize_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ReservationsResizeRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Resizes the reservation (applicable to standalone reservations only).
See more: google.cloud.compute_v1.services.reservations.ReservationsClient.resize
google.cloud.compute_v1.services.reservations.ReservationsClient.resize_unary
resize_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ResizeReservationRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
reservation: typing.Optional[str] = None,
reservations_resize_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ReservationsResizeRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Resizes the reservation (applicable to standalone reservations only).
See more: google.cloud.compute_v1.services.reservations.ReservationsClient.resize_unary
google.cloud.compute_v1.services.reservations.ReservationsClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetIamPolicyReservationRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Sets the access control policy on the specified resource.
See more: google.cloud.compute_v1.services.reservations.ReservationsClient.set_iam_policy
google.cloud.compute_v1.services.reservations.ReservationsClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.TestIamPermissionsReservationRequest,
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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
See more: google.cloud.compute_v1.services.reservations.ReservationsClient.test_iam_permissions
google.cloud.compute_v1.services.reservations.ReservationsClient.update
update(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateReservationRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
reservation: typing.Optional[str] = None,
reservation_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Reservation
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Update share settings of the reservation.
See more: google.cloud.compute_v1.services.reservations.ReservationsClient.update
google.cloud.compute_v1.services.reservations.ReservationsClient.update_unary
update_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateReservationRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
reservation: typing.Optional[str] = None,
reservation_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Reservation
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Update share settings of the reservation.
See more: google.cloud.compute_v1.services.reservations.ReservationsClient.update_unary
google.cloud.compute_v1.services.reservations.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.ReservationAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListReservationsRequest,
response: google.cloud.compute_v1.types.compute.ReservationAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.reservations.pagers.AggregatedListPager
google.cloud.compute_v1.services.reservations.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.ReservationList
],
request: google.cloud.compute_v1.types.compute.ListReservationsRequest,
response: google.cloud.compute_v1.types.compute.ReservationList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.reservations.pagers.ListPager
google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient
ResourcePoliciesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.resource_policies.transports.base.ResourcePoliciesTransport, typing.Callable[[...], google.cloud.compute_v1.services.resource_policies.transports.base.ResourcePoliciesTransport]]] = 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 resource policies client.
See more: google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient
google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.exit
google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListResourcePoliciesRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.resource_policies.pagers.AggregatedListPager
Retrieves an aggregated list of resource policies.
See more: google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.aggregated_list
google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.common_folder_path
google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.common_location_path
google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.common_organization_path
google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.common_project_path
google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteResourcePolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
resource_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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified resource policy.
See more: google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.delete
google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteResourcePolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
resource_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified resource policy.
See more: google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.delete_unary
google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.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.resource_policies.ResourcePoliciesClient.from_service_account_file
google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.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.resource_policies.ResourcePoliciesClient.from_service_account_info
google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.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.resource_policies.ResourcePoliciesClient.from_service_account_json
google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetResourcePolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
resource_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.ResourcePolicy
Retrieves all information of the specified resource policy.
See more: google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.get
google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetIamPolicyResourcePolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Gets the access control policy for a resource.
See more: google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.get_iam_policy
google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.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.resource_policies.ResourcePoliciesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertResourcePolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
resource_policy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ResourcePolicy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a new resource policy.
See more: google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.insert
google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertResourcePolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
resource_policy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ResourcePolicy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a new resource policy.
See more: google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.insert_unary
google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListResourcePoliciesRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.resource_policies.pagers.ListPager
A list all the resource policies that have been configured for the specified project in specified region.
See more: google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.list
google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.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.resource_policies.ResourcePoliciesClient.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.resource_policies.ResourcePoliciesClient.parse_common_folder_path
google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.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.resource_policies.ResourcePoliciesClient.parse_common_location_path
google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.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.resource_policies.ResourcePoliciesClient.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.resource_policies.ResourcePoliciesClient.parse_common_project_path
google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchResourcePolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
resource_policy: typing.Optional[str] = None,
resource_policy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ResourcePolicy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Modify the specified resource policy.
See more: google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.patch
google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchResourcePolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
resource_policy: typing.Optional[str] = None,
resource_policy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ResourcePolicy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Modify the specified resource policy.
See more: google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.patch_unary
google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetIamPolicyResourcePolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
region_set_policy_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionSetPolicyRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Sets the access control policy on the specified resource.
See more: google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.set_iam_policy
google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.TestIamPermissionsResourcePolicyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
See more: google.cloud.compute_v1.services.resource_policies.ResourcePoliciesClient.test_iam_permissions
google.cloud.compute_v1.services.resource_policies.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.ResourcePolicyAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListResourcePoliciesRequest,
response: google.cloud.compute_v1.types.compute.ResourcePolicyAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.resource_policies.pagers.AggregatedListPager
google.cloud.compute_v1.services.resource_policies.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.ResourcePolicyList
],
request: google.cloud.compute_v1.types.compute.ListResourcePoliciesRequest,
response: google.cloud.compute_v1.types.compute.ResourcePolicyList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.resource_policies.pagers.ListPager
google.cloud.compute_v1.services.routers.RoutersClient
RoutersClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.routers.transports.base.RoutersTransport, typing.Callable[[...], google.cloud.compute_v1.services.routers.transports.base.RoutersTransport]]] = 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 routers client.
See more: google.cloud.compute_v1.services.routers.RoutersClient
google.cloud.compute_v1.services.routers.RoutersClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.routers.RoutersClient.exit
google.cloud.compute_v1.services.routers.RoutersClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListRoutersRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.routers.pagers.AggregatedListPager
Retrieves an aggregated list of routers.
See more: google.cloud.compute_v1.services.routers.RoutersClient.aggregated_list
google.cloud.compute_v1.services.routers.RoutersClient.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.routers.RoutersClient.common_billing_account_path
google.cloud.compute_v1.services.routers.RoutersClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.routers.RoutersClient.common_folder_path
google.cloud.compute_v1.services.routers.RoutersClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.routers.RoutersClient.common_location_path
google.cloud.compute_v1.services.routers.RoutersClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.routers.RoutersClient.common_organization_path
google.cloud.compute_v1.services.routers.RoutersClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.routers.RoutersClient.common_project_path
google.cloud.compute_v1.services.routers.RoutersClient.delete
delete(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeleteRouterRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
router: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified Router resource.
See more: google.cloud.compute_v1.services.routers.RoutersClient.delete
google.cloud.compute_v1.services.routers.RoutersClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeleteRouterRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
router: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified Router resource.
See more: google.cloud.compute_v1.services.routers.RoutersClient.delete_unary
google.cloud.compute_v1.services.routers.RoutersClient.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.routers.RoutersClient.from_service_account_file
google.cloud.compute_v1.services.routers.RoutersClient.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.routers.RoutersClient.from_service_account_info
google.cloud.compute_v1.services.routers.RoutersClient.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.routers.RoutersClient.from_service_account_json
google.cloud.compute_v1.services.routers.RoutersClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetRouterRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
router: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Router
Returns the specified Router resource.
See more: google.cloud.compute_v1.services.routers.RoutersClient.get
google.cloud.compute_v1.services.routers.RoutersClient.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.routers.RoutersClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.routers.RoutersClient.get_nat_ip_info
get_nat_ip_info(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetNatIpInfoRouterRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
router: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.NatIpInfoResponse
Retrieves runtime NAT IP information.
See more: google.cloud.compute_v1.services.routers.RoutersClient.get_nat_ip_info
google.cloud.compute_v1.services.routers.RoutersClient.get_nat_mapping_info
get_nat_mapping_info(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetNatMappingInfoRoutersRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
router: 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, str]] = ()
) -> google.cloud.compute_v1.services.routers.pagers.GetNatMappingInfoPager
Retrieves runtime Nat mapping information of VM endpoints.
See more: google.cloud.compute_v1.services.routers.RoutersClient.get_nat_mapping_info
google.cloud.compute_v1.services.routers.RoutersClient.get_router_status
get_router_status(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetRouterStatusRouterRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
router: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.RouterStatusResponse
Retrieves runtime information of the specified router.
See more: google.cloud.compute_v1.services.routers.RoutersClient.get_router_status
google.cloud.compute_v1.services.routers.RoutersClient.insert
insert(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.InsertRouterRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
router_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Router
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a Router resource in the specified project and region using the data included in the request.
See more: google.cloud.compute_v1.services.routers.RoutersClient.insert
google.cloud.compute_v1.services.routers.RoutersClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.InsertRouterRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
router_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Router
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a Router resource in the specified project and region using the data included in the request.
See more: google.cloud.compute_v1.services.routers.RoutersClient.insert_unary
google.cloud.compute_v1.services.routers.RoutersClient.list
list(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ListRoutersRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.routers.pagers.ListPager
Retrieves a list of Router resources available to the specified project.
See more: google.cloud.compute_v1.services.routers.RoutersClient.list
google.cloud.compute_v1.services.routers.RoutersClient.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.routers.RoutersClient.parse_common_billing_account_path
google.cloud.compute_v1.services.routers.RoutersClient.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.routers.RoutersClient.parse_common_folder_path
google.cloud.compute_v1.services.routers.RoutersClient.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.routers.RoutersClient.parse_common_location_path
google.cloud.compute_v1.services.routers.RoutersClient.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.routers.RoutersClient.parse_common_organization_path
google.cloud.compute_v1.services.routers.RoutersClient.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.routers.RoutersClient.parse_common_project_path
google.cloud.compute_v1.services.routers.RoutersClient.patch
patch(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.PatchRouterRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
router: typing.Optional[str] = None,
router_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Router
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches the specified Router resource with the data included in the request.
See more: google.cloud.compute_v1.services.routers.RoutersClient.patch
google.cloud.compute_v1.services.routers.RoutersClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.PatchRouterRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
router: typing.Optional[str] = None,
router_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Router
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Patches the specified Router resource with the data included in the request.
See more: google.cloud.compute_v1.services.routers.RoutersClient.patch_unary
google.cloud.compute_v1.services.routers.RoutersClient.preview
preview(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.PreviewRouterRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
router: typing.Optional[str] = None,
router_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Router
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.RoutersPreviewResponse
Preview fields auto-generated during router create and update operations.
See more: google.cloud.compute_v1.services.routers.RoutersClient.preview
google.cloud.compute_v1.services.routers.RoutersClient.update
update(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.UpdateRouterRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
router: typing.Optional[str] = None,
router_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Router
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates the specified Router resource with the data included in the request.
See more: google.cloud.compute_v1.services.routers.RoutersClient.update
google.cloud.compute_v1.services.routers.RoutersClient.update_unary
update_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.UpdateRouterRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
router: typing.Optional[str] = None,
router_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Router
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates the specified Router resource with the data included in the request.
See more: google.cloud.compute_v1.services.routers.RoutersClient.update_unary
google.cloud.compute_v1.services.routers.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.RouterAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListRoutersRequest,
response: google.cloud.compute_v1.types.compute.RouterAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.routers.pagers.AggregatedListPager
google.cloud.compute_v1.services.routers.pagers.GetNatMappingInfoPager
GetNatMappingInfoPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.VmEndpointNatMappingsList
],
request: google.cloud.compute_v1.types.compute.GetNatMappingInfoRoutersRequest,
response: google.cloud.compute_v1.types.compute.VmEndpointNatMappingsList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.routers.pagers.GetNatMappingInfoPager
google.cloud.compute_v1.services.routers.pagers.ListPager
ListPager(
method: typing.Callable[[...], google.cloud.compute_v1.types.compute.RouterList],
request: google.cloud.compute_v1.types.compute.ListRoutersRequest,
response: google.cloud.compute_v1.types.compute.RouterList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.routers.pagers.ListPager
google.cloud.compute_v1.services.routes.RoutesClient
RoutesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.routes.transports.base.RoutesTransport, typing.Callable[[...], google.cloud.compute_v1.services.routes.transports.base.RoutesTransport]]] = 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 routes client.
See more: google.cloud.compute_v1.services.routes.RoutesClient
google.cloud.compute_v1.services.routes.RoutesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.routes.RoutesClient.exit
google.cloud.compute_v1.services.routes.RoutesClient.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.routes.RoutesClient.common_billing_account_path
google.cloud.compute_v1.services.routes.RoutesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.routes.RoutesClient.common_folder_path
google.cloud.compute_v1.services.routes.RoutesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.routes.RoutesClient.common_location_path
google.cloud.compute_v1.services.routes.RoutesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.routes.RoutesClient.common_organization_path
google.cloud.compute_v1.services.routes.RoutesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.routes.RoutesClient.common_project_path
google.cloud.compute_v1.services.routes.RoutesClient.delete
delete(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeleteRouteRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
route: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified Route resource.
See more: google.cloud.compute_v1.services.routes.RoutesClient.delete
google.cloud.compute_v1.services.routes.RoutesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeleteRouteRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
route: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified Route resource.
See more: google.cloud.compute_v1.services.routes.RoutesClient.delete_unary
google.cloud.compute_v1.services.routes.RoutesClient.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.routes.RoutesClient.from_service_account_file
google.cloud.compute_v1.services.routes.RoutesClient.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.routes.RoutesClient.from_service_account_info
google.cloud.compute_v1.services.routes.RoutesClient.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.routes.RoutesClient.from_service_account_json
google.cloud.compute_v1.services.routes.RoutesClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetRouteRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
route: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Route
Returns the specified Route resource.
See more: google.cloud.compute_v1.services.routes.RoutesClient.get
google.cloud.compute_v1.services.routes.RoutesClient.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.routes.RoutesClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.routes.RoutesClient.insert
insert(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.InsertRouteRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
route_resource: typing.Optional[google.cloud.compute_v1.types.compute.Route] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a Route resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.routes.RoutesClient.insert
google.cloud.compute_v1.services.routes.RoutesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.InsertRouteRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
route_resource: typing.Optional[google.cloud.compute_v1.types.compute.Route] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a Route resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.routes.RoutesClient.insert_unary
google.cloud.compute_v1.services.routes.RoutesClient.list
list(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ListRoutesRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.routes.pagers.ListPager
Retrieves the list of Route resources available to the specified project.
See more: google.cloud.compute_v1.services.routes.RoutesClient.list
google.cloud.compute_v1.services.routes.RoutesClient.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.routes.RoutesClient.parse_common_billing_account_path
google.cloud.compute_v1.services.routes.RoutesClient.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.routes.RoutesClient.parse_common_folder_path
google.cloud.compute_v1.services.routes.RoutesClient.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.routes.RoutesClient.parse_common_location_path
google.cloud.compute_v1.services.routes.RoutesClient.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.routes.RoutesClient.parse_common_organization_path
google.cloud.compute_v1.services.routes.RoutesClient.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.routes.RoutesClient.parse_common_project_path
google.cloud.compute_v1.services.routes.pagers.ListPager
ListPager(
method: typing.Callable[[...], google.cloud.compute_v1.types.compute.RouteList],
request: google.cloud.compute_v1.types.compute.ListRoutesRequest,
response: google.cloud.compute_v1.types.compute.RouteList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.routes.pagers.ListPager
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient
SecurityPoliciesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.security_policies.transports.base.SecurityPoliciesTransport, typing.Callable[[...], google.cloud.compute_v1.services.security_policies.transports.base.SecurityPoliciesTransport]]] = 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 security policies client.
See more: google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.exit
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.add_rule
add_rule(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddRuleSecurityPolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
security_policy: typing.Optional[str] = None,
security_policy_rule_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SecurityPolicyRule
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Inserts a rule into a security policy.
See more: google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.add_rule
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.add_rule_unary
add_rule_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddRuleSecurityPolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
security_policy: typing.Optional[str] = None,
security_policy_rule_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SecurityPolicyRule
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Inserts a rule into a security policy.
See more: google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.add_rule_unary
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListSecurityPoliciesRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.security_policies.pagers.AggregatedListPager
Retrieves the list of all SecurityPolicy resources, regional and global, available to the specified project.
See more: google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.aggregated_list
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.common_folder_path
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.common_location_path
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.common_organization_path
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.common_project_path
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteSecurityPolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
security_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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified policy.
See more: google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.delete
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteSecurityPolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
security_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified policy.
See more: google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.delete_unary
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.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.security_policies.SecurityPoliciesClient.from_service_account_file
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.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.security_policies.SecurityPoliciesClient.from_service_account_info
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.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.security_policies.SecurityPoliciesClient.from_service_account_json
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetSecurityPolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
security_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.SecurityPolicy
List all of the ordered rules present in a single specified policy.
See more: google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.get
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.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.security_policies.SecurityPoliciesClient.get_rule
get_rule(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetRuleSecurityPolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
security_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.SecurityPolicyRule
Gets a rule at the specified priority.
See more: google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.get_rule
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertSecurityPolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
security_policy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SecurityPolicy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> 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.security_policies.SecurityPoliciesClient.insert
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertSecurityPolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
security_policy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SecurityPolicy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> 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.security_policies.SecurityPoliciesClient.insert_unary
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListSecurityPoliciesRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.security_policies.pagers.ListPager
List all the policies that have been configured for the specified project.
See more: google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.list
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.list_preconfigured_expression_sets
list_preconfigured_expression_sets(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListPreconfiguredExpressionSetsSecurityPoliciesRequest,
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, str]] = ()
) -> (
google.cloud.compute_v1.types.compute.SecurityPoliciesListPreconfiguredExpressionSetsResponse
)
Gets the current list of preconfigured Web Application Firewall (WAF) expressions.
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.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.security_policies.SecurityPoliciesClient.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.security_policies.SecurityPoliciesClient.parse_common_folder_path
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.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.security_policies.SecurityPoliciesClient.parse_common_location_path
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.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.security_policies.SecurityPoliciesClient.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.security_policies.SecurityPoliciesClient.parse_common_project_path
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchSecurityPolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
security_policy: typing.Optional[str] = None,
security_policy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SecurityPolicy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches the specified policy with the data included in the request.
See more: google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.patch
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.patch_rule
patch_rule(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRuleSecurityPolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
security_policy: typing.Optional[str] = None,
security_policy_rule_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SecurityPolicyRule
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches a rule at the specified priority.
See more: google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.patch_rule
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.patch_rule_unary
patch_rule_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchRuleSecurityPolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
security_policy: typing.Optional[str] = None,
security_policy_rule_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SecurityPolicyRule
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Patches a rule at the specified priority.
See more: google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.patch_rule_unary
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchSecurityPolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
security_policy: typing.Optional[str] = None,
security_policy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SecurityPolicy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> 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.security_policies.SecurityPoliciesClient.patch_unary
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.remove_rule
remove_rule(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemoveRuleSecurityPolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
security_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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes a rule at the specified priority.
See more: google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.remove_rule
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.remove_rule_unary
remove_rule_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemoveRuleSecurityPolicyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
security_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes a rule at the specified priority.
See more: google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.remove_rule_unary
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.set_labels
set_labels(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsSecurityPolicyRequest, 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the labels on a security policy.
See more: google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.set_labels
google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.set_labels_unary
set_labels_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsSecurityPolicyRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the labels on a security policy.
See more: google.cloud.compute_v1.services.security_policies.SecurityPoliciesClient.set_labels_unary
google.cloud.compute_v1.services.security_policies.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.SecurityPoliciesAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListSecurityPoliciesRequest,
response: google.cloud.compute_v1.types.compute.SecurityPoliciesAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.security_policies.pagers.AggregatedListPager
google.cloud.compute_v1.services.security_policies.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.SecurityPolicyList
],
request: google.cloud.compute_v1.types.compute.ListSecurityPoliciesRequest,
response: google.cloud.compute_v1.types.compute.SecurityPolicyList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.security_policies.pagers.ListPager
google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient
ServiceAttachmentsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.service_attachments.transports.base.ServiceAttachmentsTransport, typing.Callable[[...], google.cloud.compute_v1.services.service_attachments.transports.base.ServiceAttachmentsTransport]]] = 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 service attachments client.
See more: google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient
google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.exit
google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListServiceAttachmentsRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.service_attachments.pagers.AggregatedListPager
Retrieves the list of all ServiceAttachment resources, regional and global, available to the specified project.
See more: google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.aggregated_list
google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.common_folder_path
google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.common_location_path
google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.common_project_path
google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteServiceAttachmentRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
service_attachment: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified ServiceAttachment in the given scope.
See more: google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.delete
google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteServiceAttachmentRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
service_attachment: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified ServiceAttachment in the given scope.
See more: google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.delete_unary
google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.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.service_attachments.ServiceAttachmentsClient.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.service_attachments.ServiceAttachmentsClient.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.service_attachments.ServiceAttachmentsClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetServiceAttachmentRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
service_attachment: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.ServiceAttachment
Returns the specified ServiceAttachment resource in the given scope.
See more: google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.get
google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetIamPolicyServiceAttachmentRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Gets the access control policy for a resource.
See more: google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.get_iam_policy
google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.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.service_attachments.ServiceAttachmentsClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertServiceAttachmentRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
service_attachment_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ServiceAttachment
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a ServiceAttachment in the specified project in the given scope using the parameters that are included in the request.
See more: google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.insert
google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertServiceAttachmentRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
service_attachment_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ServiceAttachment
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a ServiceAttachment in the specified project in the given scope using the parameters that are included in the request.
See more: google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.insert_unary
google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListServiceAttachmentsRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.service_attachments.pagers.ListPager
Lists the ServiceAttachments for a project in the given scope.
See more: google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.list
google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.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.service_attachments.ServiceAttachmentsClient.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.service_attachments.ServiceAttachmentsClient.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.service_attachments.ServiceAttachmentsClient.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.service_attachments.ServiceAttachmentsClient.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.service_attachments.ServiceAttachmentsClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchServiceAttachmentRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
service_attachment: typing.Optional[str] = None,
service_attachment_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ServiceAttachment
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches the specified ServiceAttachment resource with the data included in the request.
See more: google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.patch
google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchServiceAttachmentRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
service_attachment: typing.Optional[str] = None,
service_attachment_resource: typing.Optional[
google.cloud.compute_v1.types.compute.ServiceAttachment
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Patches the specified ServiceAttachment resource with the data included in the request.
See more: google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.patch_unary
google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetIamPolicyServiceAttachmentRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
region_set_policy_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionSetPolicyRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Sets the access control policy on the specified resource.
See more: google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.set_iam_policy
google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.TestIamPermissionsServiceAttachmentRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
See more: google.cloud.compute_v1.services.service_attachments.ServiceAttachmentsClient.test_iam_permissions
google.cloud.compute_v1.services.service_attachments.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.ServiceAttachmentAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListServiceAttachmentsRequest,
response: google.cloud.compute_v1.types.compute.ServiceAttachmentAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.service_attachments.pagers.AggregatedListPager
google.cloud.compute_v1.services.service_attachments.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.ServiceAttachmentList
],
request: google.cloud.compute_v1.types.compute.ListServiceAttachmentsRequest,
response: google.cloud.compute_v1.types.compute.ServiceAttachmentList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.service_attachments.pagers.ListPager
google.cloud.compute_v1.services.snapshot_settings_service.SnapshotSettingsServiceClient
SnapshotSettingsServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.snapshot_settings_service.transports.base.SnapshotSettingsServiceTransport, typing.Callable[[...], google.cloud.compute_v1.services.snapshot_settings_service.transports.base.SnapshotSettingsServiceTransport]]] = 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 snapshot settings service client.
See more: google.cloud.compute_v1.services.snapshot_settings_service.SnapshotSettingsServiceClient
google.cloud.compute_v1.services.snapshot_settings_service.SnapshotSettingsServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.snapshot_settings_service.SnapshotSettingsServiceClient.exit
google.cloud.compute_v1.services.snapshot_settings_service.SnapshotSettingsServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.snapshot_settings_service.SnapshotSettingsServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.compute_v1.services.snapshot_settings_service.SnapshotSettingsServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.compute_v1.services.snapshot_settings_service.SnapshotSettingsServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.snapshot_settings_service.SnapshotSettingsServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.compute_v1.services.snapshot_settings_service.SnapshotSettingsServiceClient.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.snapshot_settings_service.SnapshotSettingsServiceClient.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.snapshot_settings_service.SnapshotSettingsServiceClient.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.snapshot_settings_service.SnapshotSettingsServiceClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetSnapshotSettingRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.SnapshotSettings
Get snapshot settings.
See more: google.cloud.compute_v1.services.snapshot_settings_service.SnapshotSettingsServiceClient.get
google.cloud.compute_v1.services.snapshot_settings_service.SnapshotSettingsServiceClient.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.snapshot_settings_service.SnapshotSettingsServiceClient.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.snapshot_settings_service.SnapshotSettingsServiceClient.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.snapshot_settings_service.SnapshotSettingsServiceClient.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.snapshot_settings_service.SnapshotSettingsServiceClient.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.snapshot_settings_service.SnapshotSettingsServiceClient.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.snapshot_settings_service.SnapshotSettingsServiceClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchSnapshotSettingRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
snapshot_settings_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SnapshotSettings
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patch snapshot settings.
See more: google.cloud.compute_v1.services.snapshot_settings_service.SnapshotSettingsServiceClient.patch
google.cloud.compute_v1.services.snapshot_settings_service.SnapshotSettingsServiceClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchSnapshotSettingRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
snapshot_settings_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SnapshotSettings
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Patch snapshot settings.
See more: google.cloud.compute_v1.services.snapshot_settings_service.SnapshotSettingsServiceClient.patch_unary
google.cloud.compute_v1.services.snapshots.SnapshotsClient
SnapshotsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.snapshots.transports.base.SnapshotsTransport, typing.Callable[[...], google.cloud.compute_v1.services.snapshots.transports.base.SnapshotsTransport]]] = 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 snapshots client.
See more: google.cloud.compute_v1.services.snapshots.SnapshotsClient
google.cloud.compute_v1.services.snapshots.SnapshotsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.snapshots.SnapshotsClient.exit
google.cloud.compute_v1.services.snapshots.SnapshotsClient.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.snapshots.SnapshotsClient.common_billing_account_path
google.cloud.compute_v1.services.snapshots.SnapshotsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.snapshots.SnapshotsClient.common_folder_path
google.cloud.compute_v1.services.snapshots.SnapshotsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.snapshots.SnapshotsClient.common_location_path
google.cloud.compute_v1.services.snapshots.SnapshotsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.snapshots.SnapshotsClient.common_organization_path
google.cloud.compute_v1.services.snapshots.SnapshotsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.snapshots.SnapshotsClient.common_project_path
google.cloud.compute_v1.services.snapshots.SnapshotsClient.delete
delete(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeleteSnapshotRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
snapshot: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified Snapshot resource.
See more: google.cloud.compute_v1.services.snapshots.SnapshotsClient.delete
google.cloud.compute_v1.services.snapshots.SnapshotsClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeleteSnapshotRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
snapshot: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified Snapshot resource.
See more: google.cloud.compute_v1.services.snapshots.SnapshotsClient.delete_unary
google.cloud.compute_v1.services.snapshots.SnapshotsClient.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.snapshots.SnapshotsClient.from_service_account_file
google.cloud.compute_v1.services.snapshots.SnapshotsClient.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.snapshots.SnapshotsClient.from_service_account_info
google.cloud.compute_v1.services.snapshots.SnapshotsClient.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.snapshots.SnapshotsClient.from_service_account_json
google.cloud.compute_v1.services.snapshots.SnapshotsClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetSnapshotRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
snapshot: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Snapshot
Returns the specified Snapshot resource.
See more: google.cloud.compute_v1.services.snapshots.SnapshotsClient.get
google.cloud.compute_v1.services.snapshots.SnapshotsClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetIamPolicySnapshotRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Gets the access control policy for a resource.
See more: google.cloud.compute_v1.services.snapshots.SnapshotsClient.get_iam_policy
google.cloud.compute_v1.services.snapshots.SnapshotsClient.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.snapshots.SnapshotsClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.snapshots.SnapshotsClient.insert
insert(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.InsertSnapshotRequest, dict]
] = None,
*,
project: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a snapshot in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.snapshots.SnapshotsClient.insert
google.cloud.compute_v1.services.snapshots.SnapshotsClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.InsertSnapshotRequest, dict]
] = None,
*,
project: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a snapshot in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.snapshots.SnapshotsClient.insert_unary
google.cloud.compute_v1.services.snapshots.SnapshotsClient.list
list(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ListSnapshotsRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.snapshots.pagers.ListPager
Retrieves the list of Snapshot resources contained within the specified project.
See more: google.cloud.compute_v1.services.snapshots.SnapshotsClient.list
google.cloud.compute_v1.services.snapshots.SnapshotsClient.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.snapshots.SnapshotsClient.parse_common_billing_account_path
google.cloud.compute_v1.services.snapshots.SnapshotsClient.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.snapshots.SnapshotsClient.parse_common_folder_path
google.cloud.compute_v1.services.snapshots.SnapshotsClient.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.snapshots.SnapshotsClient.parse_common_location_path
google.cloud.compute_v1.services.snapshots.SnapshotsClient.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.snapshots.SnapshotsClient.parse_common_organization_path
google.cloud.compute_v1.services.snapshots.SnapshotsClient.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.snapshots.SnapshotsClient.parse_common_project_path
google.cloud.compute_v1.services.snapshots.SnapshotsClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetIamPolicySnapshotRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Sets the access control policy on the specified resource.
See more: google.cloud.compute_v1.services.snapshots.SnapshotsClient.set_iam_policy
google.cloud.compute_v1.services.snapshots.SnapshotsClient.set_labels
set_labels(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsSnapshotRequest, 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the labels on a snapshot.
See more: google.cloud.compute_v1.services.snapshots.SnapshotsClient.set_labels
google.cloud.compute_v1.services.snapshots.SnapshotsClient.set_labels_unary
set_labels_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsSnapshotRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the labels on a snapshot.
See more: google.cloud.compute_v1.services.snapshots.SnapshotsClient.set_labels_unary
google.cloud.compute_v1.services.snapshots.SnapshotsClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.TestIamPermissionsSnapshotRequest,
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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
See more: google.cloud.compute_v1.services.snapshots.SnapshotsClient.test_iam_permissions
google.cloud.compute_v1.services.snapshots.pagers.ListPager
ListPager(
method: typing.Callable[[...], google.cloud.compute_v1.types.compute.SnapshotList],
request: google.cloud.compute_v1.types.compute.ListSnapshotsRequest,
response: google.cloud.compute_v1.types.compute.SnapshotList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.snapshots.pagers.ListPager
google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient
SslCertificatesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.ssl_certificates.transports.base.SslCertificatesTransport, typing.Callable[[...], google.cloud.compute_v1.services.ssl_certificates.transports.base.SslCertificatesTransport]]] = 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 ssl certificates client.
See more: google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient
google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.exit
google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListSslCertificatesRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.ssl_certificates.pagers.AggregatedListPager
Retrieves the list of all SslCertificate resources, regional and global, available to the specified project.
See more: google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.aggregated_list
google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.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.ssl_certificates.SslCertificatesClient.common_billing_account_path
google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.common_folder_path
google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.common_location_path
google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.common_organization_path
google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.common_project_path
google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteSslCertificateRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
ssl_certificate: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified SslCertificate resource.
See more: google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.delete
google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteSslCertificateRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
ssl_certificate: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified SslCertificate resource.
See more: google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.delete_unary
google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.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.ssl_certificates.SslCertificatesClient.from_service_account_file
google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.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.ssl_certificates.SslCertificatesClient.from_service_account_info
google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.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.ssl_certificates.SslCertificatesClient.from_service_account_json
google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetSslCertificateRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
ssl_certificate: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.SslCertificate
Returns the specified SslCertificate resource.
See more: google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.get
google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.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.ssl_certificates.SslCertificatesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertSslCertificateRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
ssl_certificate_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SslCertificate
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a SslCertificate resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.insert
google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertSslCertificateRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
ssl_certificate_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SslCertificate
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a SslCertificate resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.insert_unary
google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListSslCertificatesRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.ssl_certificates.pagers.ListPager
Retrieves the list of SslCertificate resources available to the specified project.
See more: google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.list
google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.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.ssl_certificates.SslCertificatesClient.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.ssl_certificates.SslCertificatesClient.parse_common_folder_path
google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.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.ssl_certificates.SslCertificatesClient.parse_common_location_path
google.cloud.compute_v1.services.ssl_certificates.SslCertificatesClient.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.ssl_certificates.SslCertificatesClient.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.ssl_certificates.SslCertificatesClient.parse_common_project_path
google.cloud.compute_v1.services.ssl_certificates.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.SslCertificateAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListSslCertificatesRequest,
response: google.cloud.compute_v1.types.compute.SslCertificateAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.ssl_certificates.pagers.AggregatedListPager
google.cloud.compute_v1.services.ssl_certificates.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.SslCertificateList
],
request: google.cloud.compute_v1.types.compute.ListSslCertificatesRequest,
response: google.cloud.compute_v1.types.compute.SslCertificateList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.ssl_certificates.pagers.ListPager
google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient
SslPoliciesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.ssl_policies.transports.base.SslPoliciesTransport, typing.Callable[[...], google.cloud.compute_v1.services.ssl_policies.transports.base.SslPoliciesTransport]]] = 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 ssl policies client.
See more: google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient
google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.exit
google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListSslPoliciesRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.ssl_policies.pagers.AggregatedListPager
Retrieves the list of all SslPolicy resources, regional and global, available to the specified project.
See more: google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.aggregated_list
google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.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.ssl_policies.SslPoliciesClient.common_billing_account_path
google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.common_folder_path
google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.common_location_path
google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.common_organization_path
google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.common_project_path
google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.delete
delete(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeleteSslPolicyRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
ssl_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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified SSL policy.
See more: google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.delete
google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeleteSslPolicyRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
ssl_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified SSL policy.
See more: google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.delete_unary
google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.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.ssl_policies.SslPoliciesClient.from_service_account_file
google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.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.ssl_policies.SslPoliciesClient.from_service_account_info
google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.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.ssl_policies.SslPoliciesClient.from_service_account_json
google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetSslPolicyRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
ssl_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.SslPolicy
Lists all of the ordered rules present in a single specified policy.
See more: google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.get
google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.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.ssl_policies.SslPoliciesClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.insert
insert(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.InsertSslPolicyRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
ssl_policy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SslPolicy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Returns the specified SSL policy resource.
See more: google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.insert
google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.InsertSslPolicyRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
ssl_policy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SslPolicy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Returns the specified SSL policy resource.
See more: google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.insert_unary
google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.list
list(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ListSslPoliciesRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.ssl_policies.pagers.ListPager
Lists all the SSL policies that have been configured for the specified project.
See more: google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.list
google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.list_available_features
list_available_features(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListAvailableFeaturesSslPoliciesRequest,
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, str]] = ()
) -> google.cloud.compute_v1.types.compute.SslPoliciesListAvailableFeaturesResponse
Lists all features that can be specified in the SSL policy when using custom profile.
See more: google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.list_available_features
google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.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.ssl_policies.SslPoliciesClient.parse_common_billing_account_path
google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.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.ssl_policies.SslPoliciesClient.parse_common_folder_path
google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.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.ssl_policies.SslPoliciesClient.parse_common_location_path
google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.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.ssl_policies.SslPoliciesClient.parse_common_organization_path
google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.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.ssl_policies.SslPoliciesClient.parse_common_project_path
google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.patch
patch(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.PatchSslPolicyRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
ssl_policy: typing.Optional[str] = None,
ssl_policy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SslPolicy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches the specified SSL policy with the data included in the request.
See more: google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.patch
google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.PatchSslPolicyRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
ssl_policy: typing.Optional[str] = None,
ssl_policy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SslPolicy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Patches the specified SSL policy with the data included in the request.
See more: google.cloud.compute_v1.services.ssl_policies.SslPoliciesClient.patch_unary
google.cloud.compute_v1.services.ssl_policies.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.SslPoliciesAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListSslPoliciesRequest,
response: google.cloud.compute_v1.types.compute.SslPoliciesAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.ssl_policies.pagers.AggregatedListPager
google.cloud.compute_v1.services.ssl_policies.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.SslPoliciesList
],
request: google.cloud.compute_v1.types.compute.ListSslPoliciesRequest,
response: google.cloud.compute_v1.types.compute.SslPoliciesList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.ssl_policies.pagers.ListPager
google.cloud.compute_v1.services.storage_pool_types.StoragePoolTypesClient
StoragePoolTypesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.storage_pool_types.transports.base.StoragePoolTypesTransport, typing.Callable[[...], google.cloud.compute_v1.services.storage_pool_types.transports.base.StoragePoolTypesTransport]]] = 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 storage pool types client.
See more: google.cloud.compute_v1.services.storage_pool_types.StoragePoolTypesClient
google.cloud.compute_v1.services.storage_pool_types.StoragePoolTypesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.storage_pool_types.StoragePoolTypesClient.exit
google.cloud.compute_v1.services.storage_pool_types.StoragePoolTypesClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListStoragePoolTypesRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.storage_pool_types.pagers.AggregatedListPager
Retrieves an aggregated list of storage pool types.
See more: google.cloud.compute_v1.services.storage_pool_types.StoragePoolTypesClient.aggregated_list
google.cloud.compute_v1.services.storage_pool_types.StoragePoolTypesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.storage_pool_types.StoragePoolTypesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.storage_pool_types.StoragePoolTypesClient.common_folder_path
google.cloud.compute_v1.services.storage_pool_types.StoragePoolTypesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.storage_pool_types.StoragePoolTypesClient.common_location_path
google.cloud.compute_v1.services.storage_pool_types.StoragePoolTypesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.storage_pool_types.StoragePoolTypesClient.common_organization_path
google.cloud.compute_v1.services.storage_pool_types.StoragePoolTypesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.storage_pool_types.StoragePoolTypesClient.common_project_path
google.cloud.compute_v1.services.storage_pool_types.StoragePoolTypesClient.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.storage_pool_types.StoragePoolTypesClient.from_service_account_file
google.cloud.compute_v1.services.storage_pool_types.StoragePoolTypesClient.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.storage_pool_types.StoragePoolTypesClient.from_service_account_info
google.cloud.compute_v1.services.storage_pool_types.StoragePoolTypesClient.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.storage_pool_types.StoragePoolTypesClient.from_service_account_json
google.cloud.compute_v1.services.storage_pool_types.StoragePoolTypesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetStoragePoolTypeRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
storage_pool_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.StoragePoolType
Returns the specified storage pool type.
See more: google.cloud.compute_v1.services.storage_pool_types.StoragePoolTypesClient.get
google.cloud.compute_v1.services.storage_pool_types.StoragePoolTypesClient.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.storage_pool_types.StoragePoolTypesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListStoragePoolTypesRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.storage_pool_types.pagers.ListPager
Retrieves a list of storage pool types available to the specified project.
See more: google.cloud.compute_v1.services.storage_pool_types.StoragePoolTypesClient.list
google.cloud.compute_v1.services.storage_pool_types.StoragePoolTypesClient.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.storage_pool_types.StoragePoolTypesClient.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.storage_pool_types.StoragePoolTypesClient.parse_common_folder_path
google.cloud.compute_v1.services.storage_pool_types.StoragePoolTypesClient.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.storage_pool_types.StoragePoolTypesClient.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.storage_pool_types.StoragePoolTypesClient.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.storage_pool_types.StoragePoolTypesClient.parse_common_project_path
google.cloud.compute_v1.services.storage_pool_types.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.StoragePoolTypeAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListStoragePoolTypesRequest,
response: google.cloud.compute_v1.types.compute.StoragePoolTypeAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.storage_pool_types.pagers.AggregatedListPager
google.cloud.compute_v1.services.storage_pool_types.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.StoragePoolTypeList
],
request: google.cloud.compute_v1.types.compute.ListStoragePoolTypesRequest,
response: google.cloud.compute_v1.types.compute.StoragePoolTypeList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.storage_pool_types.pagers.ListPager
google.cloud.compute_v1.services.storage_pools.StoragePoolsClient
StoragePoolsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.storage_pools.transports.base.StoragePoolsTransport, typing.Callable[[...], google.cloud.compute_v1.services.storage_pools.transports.base.StoragePoolsTransport]]] = 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 storage pools client.
See more: google.cloud.compute_v1.services.storage_pools.StoragePoolsClient
google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.exit
google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListStoragePoolsRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.storage_pools.pagers.AggregatedListPager
Retrieves an aggregated list of storage pools.
See more: google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.aggregated_list
google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.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.storage_pools.StoragePoolsClient.common_billing_account_path
google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.common_folder_path
google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.common_location_path
google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.common_organization_path
google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.common_project_path
google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteStoragePoolRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
storage_pool: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified storage pool.
See more: google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.delete
google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteStoragePoolRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
storage_pool: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified storage pool.
See more: google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.delete_unary
google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.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.storage_pools.StoragePoolsClient.from_service_account_file
google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.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.storage_pools.StoragePoolsClient.from_service_account_info
google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.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.storage_pools.StoragePoolsClient.from_service_account_json
google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetStoragePoolRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
storage_pool: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.StoragePool
Returns a specified storage pool.
See more: google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.get
google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetIamPolicyStoragePoolRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Gets the access control policy for a resource.
See more: google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.get_iam_policy
google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.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.storage_pools.StoragePoolsClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertStoragePoolRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
storage_pool_resource: typing.Optional[
google.cloud.compute_v1.types.compute.StoragePool
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a storage pool in the specified project using the data in the request.
See more: google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.insert
google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertStoragePoolRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
storage_pool_resource: typing.Optional[
google.cloud.compute_v1.types.compute.StoragePool
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a storage pool in the specified project using the data in the request.
See more: google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.insert_unary
google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListStoragePoolsRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.storage_pools.pagers.ListPager
Retrieves a list of storage pools contained within the specified zone.
See more: google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.list
google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.list_disks
list_disks(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListDisksStoragePoolsRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
storage_pool: 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, str]] = ()
) -> google.cloud.compute_v1.services.storage_pools.pagers.ListDisksPager
Lists the disks in a specified storage pool.
See more: google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.list_disks
google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.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.storage_pools.StoragePoolsClient.parse_common_billing_account_path
google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.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.storage_pools.StoragePoolsClient.parse_common_folder_path
google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.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.storage_pools.StoragePoolsClient.parse_common_location_path
google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.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.storage_pools.StoragePoolsClient.parse_common_organization_path
google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.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.storage_pools.StoragePoolsClient.parse_common_project_path
google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetIamPolicyStoragePoolRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Sets the access control policy on the specified resource.
See more: google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.set_iam_policy
google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.TestIamPermissionsStoragePoolRequest,
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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
See more: google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.test_iam_permissions
google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.update
update(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateStoragePoolRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
storage_pool: typing.Optional[str] = None,
storage_pool_resource: typing.Optional[
google.cloud.compute_v1.types.compute.StoragePool
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates the specified storagePool with the data included in the request.
See more: google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.update
google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.update_unary
update_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.UpdateStoragePoolRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
storage_pool: typing.Optional[str] = None,
storage_pool_resource: typing.Optional[
google.cloud.compute_v1.types.compute.StoragePool
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates the specified storagePool with the data included in the request.
See more: google.cloud.compute_v1.services.storage_pools.StoragePoolsClient.update_unary
google.cloud.compute_v1.services.storage_pools.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.StoragePoolAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListStoragePoolsRequest,
response: google.cloud.compute_v1.types.compute.StoragePoolAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.storage_pools.pagers.AggregatedListPager
google.cloud.compute_v1.services.storage_pools.pagers.ListDisksPager
ListDisksPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.StoragePoolListDisks
],
request: google.cloud.compute_v1.types.compute.ListDisksStoragePoolsRequest,
response: google.cloud.compute_v1.types.compute.StoragePoolListDisks,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.storage_pools.pagers.ListDisksPager
google.cloud.compute_v1.services.storage_pools.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.StoragePoolList
],
request: google.cloud.compute_v1.types.compute.ListStoragePoolsRequest,
response: google.cloud.compute_v1.types.compute.StoragePoolList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.storage_pools.pagers.ListPager
google.cloud.compute_v1.services.subnetworks.SubnetworksClient
SubnetworksClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.subnetworks.transports.base.SubnetworksTransport, typing.Callable[[...], google.cloud.compute_v1.services.subnetworks.transports.base.SubnetworksTransport]]] = 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 subnetworks client.
See more: google.cloud.compute_v1.services.subnetworks.SubnetworksClient
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.subnetworks.SubnetworksClient.exit
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListSubnetworksRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.subnetworks.pagers.AggregatedListPager
Retrieves an aggregated list of subnetworks.
See more: google.cloud.compute_v1.services.subnetworks.SubnetworksClient.aggregated_list
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.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.subnetworks.SubnetworksClient.common_billing_account_path
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.subnetworks.SubnetworksClient.common_folder_path
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.subnetworks.SubnetworksClient.common_location_path
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.subnetworks.SubnetworksClient.common_organization_path
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.subnetworks.SubnetworksClient.common_project_path
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteSubnetworkRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
subnetwork: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified subnetwork.
See more: google.cloud.compute_v1.services.subnetworks.SubnetworksClient.delete
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteSubnetworkRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
subnetwork: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified subnetwork.
See more: google.cloud.compute_v1.services.subnetworks.SubnetworksClient.delete_unary
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.expand_ip_cidr_range
expand_ip_cidr_range(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ExpandIpCidrRangeSubnetworkRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
subnetwork: typing.Optional[str] = None,
subnetworks_expand_ip_cidr_range_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SubnetworksExpandIpCidrRangeRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Expands the IP CIDR range of the subnetwork to a specified value.
See more: google.cloud.compute_v1.services.subnetworks.SubnetworksClient.expand_ip_cidr_range
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.expand_ip_cidr_range_unary
expand_ip_cidr_range_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ExpandIpCidrRangeSubnetworkRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
subnetwork: typing.Optional[str] = None,
subnetworks_expand_ip_cidr_range_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SubnetworksExpandIpCidrRangeRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Expands the IP CIDR range of the subnetwork to a specified value.
See more: google.cloud.compute_v1.services.subnetworks.SubnetworksClient.expand_ip_cidr_range_unary
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.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.subnetworks.SubnetworksClient.from_service_account_file
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.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.subnetworks.SubnetworksClient.from_service_account_info
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.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.subnetworks.SubnetworksClient.from_service_account_json
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetSubnetworkRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
subnetwork: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Subnetwork
Returns the specified subnetwork.
See more: google.cloud.compute_v1.services.subnetworks.SubnetworksClient.get
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.get_iam_policy
get_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetIamPolicySubnetworkRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Gets the access control policy for a resource.
See more: google.cloud.compute_v1.services.subnetworks.SubnetworksClient.get_iam_policy
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.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.subnetworks.SubnetworksClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertSubnetworkRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
subnetwork_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Subnetwork
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a subnetwork in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.subnetworks.SubnetworksClient.insert
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertSubnetworkRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
subnetwork_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Subnetwork
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a subnetwork in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.subnetworks.SubnetworksClient.insert_unary
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.list
list(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ListSubnetworksRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.subnetworks.pagers.ListPager
Retrieves a list of subnetworks available to the specified project.
See more: google.cloud.compute_v1.services.subnetworks.SubnetworksClient.list
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.list_usable
list_usable(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListUsableSubnetworksRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.subnetworks.pagers.ListUsablePager
Retrieves an aggregated list of all usable subnetworks in the project.
See more: google.cloud.compute_v1.services.subnetworks.SubnetworksClient.list_usable
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.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.subnetworks.SubnetworksClient.parse_common_billing_account_path
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.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.subnetworks.SubnetworksClient.parse_common_folder_path
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.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.subnetworks.SubnetworksClient.parse_common_location_path
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.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.subnetworks.SubnetworksClient.parse_common_organization_path
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.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.subnetworks.SubnetworksClient.parse_common_project_path
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.patch
patch(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.PatchSubnetworkRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
subnetwork: typing.Optional[str] = None,
subnetwork_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Subnetwork
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches the specified subnetwork with the data included in the request.
See more: google.cloud.compute_v1.services.subnetworks.SubnetworksClient.patch
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.PatchSubnetworkRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
subnetwork: typing.Optional[str] = None,
subnetwork_resource: typing.Optional[
google.cloud.compute_v1.types.compute.Subnetwork
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Patches the specified subnetwork with the data included in the request.
See more: google.cloud.compute_v1.services.subnetworks.SubnetworksClient.patch_unary
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.set_iam_policy
set_iam_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetIamPolicySubnetworkRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
resource: typing.Optional[str] = None,
region_set_policy_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.RegionSetPolicyRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Policy
Sets the access control policy on the specified resource.
See more: google.cloud.compute_v1.services.subnetworks.SubnetworksClient.set_iam_policy
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.set_private_ip_google_access
set_private_ip_google_access(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetPrivateIpGoogleAccessSubnetworkRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
subnetwork: typing.Optional[str] = None,
subnetworks_set_private_ip_google_access_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SubnetworksSetPrivateIpGoogleAccessRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Set whether VMs in this subnet can access Google services without assigning external IP addresses through Private Google Access.
See more: google.cloud.compute_v1.services.subnetworks.SubnetworksClient.set_private_ip_google_access
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.set_private_ip_google_access_unary
set_private_ip_google_access_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetPrivateIpGoogleAccessSubnetworkRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
subnetwork: typing.Optional[str] = None,
subnetworks_set_private_ip_google_access_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SubnetworksSetPrivateIpGoogleAccessRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Set whether VMs in this subnet can access Google services without assigning external IP addresses through Private Google Access.
See more: google.cloud.compute_v1.services.subnetworks.SubnetworksClient.set_private_ip_google_access_unary
google.cloud.compute_v1.services.subnetworks.SubnetworksClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.TestIamPermissionsSubnetworkRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
See more: google.cloud.compute_v1.services.subnetworks.SubnetworksClient.test_iam_permissions
google.cloud.compute_v1.services.subnetworks.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.SubnetworkAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListSubnetworksRequest,
response: google.cloud.compute_v1.types.compute.SubnetworkAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.subnetworks.pagers.AggregatedListPager
google.cloud.compute_v1.services.subnetworks.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.SubnetworkList
],
request: google.cloud.compute_v1.types.compute.ListSubnetworksRequest,
response: google.cloud.compute_v1.types.compute.SubnetworkList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.subnetworks.pagers.ListPager
google.cloud.compute_v1.services.subnetworks.pagers.ListUsablePager
ListUsablePager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.UsableSubnetworksAggregatedList
],
request: google.cloud.compute_v1.types.compute.ListUsableSubnetworksRequest,
response: google.cloud.compute_v1.types.compute.UsableSubnetworksAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.subnetworks.pagers.ListUsablePager
google.cloud.compute_v1.services.target_grpc_proxies.TargetGrpcProxiesClient
TargetGrpcProxiesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.target_grpc_proxies.transports.base.TargetGrpcProxiesTransport, typing.Callable[[...], google.cloud.compute_v1.services.target_grpc_proxies.transports.base.TargetGrpcProxiesTransport]]] = 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 target grpc proxies client.
See more: google.cloud.compute_v1.services.target_grpc_proxies.TargetGrpcProxiesClient
google.cloud.compute_v1.services.target_grpc_proxies.TargetGrpcProxiesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.target_grpc_proxies.TargetGrpcProxiesClient.exit
google.cloud.compute_v1.services.target_grpc_proxies.TargetGrpcProxiesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.target_grpc_proxies.TargetGrpcProxiesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.target_grpc_proxies.TargetGrpcProxiesClient.common_folder_path
google.cloud.compute_v1.services.target_grpc_proxies.TargetGrpcProxiesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.target_grpc_proxies.TargetGrpcProxiesClient.common_location_path
google.cloud.compute_v1.services.target_grpc_proxies.TargetGrpcProxiesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.target_grpc_proxies.TargetGrpcProxiesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.target_grpc_proxies.TargetGrpcProxiesClient.common_project_path
google.cloud.compute_v1.services.target_grpc_proxies.TargetGrpcProxiesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteTargetGrpcProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_grpc_proxy: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified TargetGrpcProxy in the given scope.
See more: google.cloud.compute_v1.services.target_grpc_proxies.TargetGrpcProxiesClient.delete
google.cloud.compute_v1.services.target_grpc_proxies.TargetGrpcProxiesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteTargetGrpcProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_grpc_proxy: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified TargetGrpcProxy in the given scope.
See more: google.cloud.compute_v1.services.target_grpc_proxies.TargetGrpcProxiesClient.delete_unary
google.cloud.compute_v1.services.target_grpc_proxies.TargetGrpcProxiesClient.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.target_grpc_proxies.TargetGrpcProxiesClient.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.target_grpc_proxies.TargetGrpcProxiesClient.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.target_grpc_proxies.TargetGrpcProxiesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetTargetGrpcProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_grpc_proxy: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TargetGrpcProxy
Returns the specified TargetGrpcProxy resource in the given scope.
See more: google.cloud.compute_v1.services.target_grpc_proxies.TargetGrpcProxiesClient.get
google.cloud.compute_v1.services.target_grpc_proxies.TargetGrpcProxiesClient.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.target_grpc_proxies.TargetGrpcProxiesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertTargetGrpcProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_grpc_proxy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetGrpcProxy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a TargetGrpcProxy in the specified project in the given scope using the parameters that are included in the request.
See more: google.cloud.compute_v1.services.target_grpc_proxies.TargetGrpcProxiesClient.insert
google.cloud.compute_v1.services.target_grpc_proxies.TargetGrpcProxiesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertTargetGrpcProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_grpc_proxy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetGrpcProxy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a TargetGrpcProxy in the specified project in the given scope using the parameters that are included in the request.
See more: google.cloud.compute_v1.services.target_grpc_proxies.TargetGrpcProxiesClient.insert_unary
google.cloud.compute_v1.services.target_grpc_proxies.TargetGrpcProxiesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListTargetGrpcProxiesRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.target_grpc_proxies.pagers.ListPager
Lists the TargetGrpcProxies for a project in the given scope.
See more: google.cloud.compute_v1.services.target_grpc_proxies.TargetGrpcProxiesClient.list
google.cloud.compute_v1.services.target_grpc_proxies.TargetGrpcProxiesClient.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.target_grpc_proxies.TargetGrpcProxiesClient.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.target_grpc_proxies.TargetGrpcProxiesClient.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.target_grpc_proxies.TargetGrpcProxiesClient.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.target_grpc_proxies.TargetGrpcProxiesClient.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.target_grpc_proxies.TargetGrpcProxiesClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchTargetGrpcProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_grpc_proxy: typing.Optional[str] = None,
target_grpc_proxy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetGrpcProxy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches the specified TargetGrpcProxy resource with the data included in the request.
See more: google.cloud.compute_v1.services.target_grpc_proxies.TargetGrpcProxiesClient.patch
google.cloud.compute_v1.services.target_grpc_proxies.TargetGrpcProxiesClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchTargetGrpcProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_grpc_proxy: typing.Optional[str] = None,
target_grpc_proxy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetGrpcProxy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Patches the specified TargetGrpcProxy resource with the data included in the request.
See more: google.cloud.compute_v1.services.target_grpc_proxies.TargetGrpcProxiesClient.patch_unary
google.cloud.compute_v1.services.target_grpc_proxies.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.TargetGrpcProxyList
],
request: google.cloud.compute_v1.types.compute.ListTargetGrpcProxiesRequest,
response: google.cloud.compute_v1.types.compute.TargetGrpcProxyList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.target_grpc_proxies.pagers.ListPager
google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient
TargetHttpProxiesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.target_http_proxies.transports.base.TargetHttpProxiesTransport, typing.Callable[[...], google.cloud.compute_v1.services.target_http_proxies.transports.base.TargetHttpProxiesTransport]]] = 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 target http proxies client.
See more: google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient
google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.exit
google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListTargetHttpProxiesRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.target_http_proxies.pagers.AggregatedListPager
Retrieves the list of all TargetHttpProxy resources, regional and global, available to the specified project.
See more: google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.aggregated_list
google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.common_folder_path
google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.common_location_path
google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.common_project_path
google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteTargetHttpProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_http_proxy: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified TargetHttpProxy resource.
See more: google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.delete
google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteTargetHttpProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_http_proxy: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified TargetHttpProxy resource.
See more: google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.delete_unary
google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.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.target_http_proxies.TargetHttpProxiesClient.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.target_http_proxies.TargetHttpProxiesClient.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.target_http_proxies.TargetHttpProxiesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetTargetHttpProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_http_proxy: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TargetHttpProxy
Returns the specified TargetHttpProxy resource.
See more: google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.get
google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.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.target_http_proxies.TargetHttpProxiesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertTargetHttpProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_http_proxy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetHttpProxy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a TargetHttpProxy resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.insert
google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertTargetHttpProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_http_proxy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetHttpProxy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a TargetHttpProxy resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.insert_unary
google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListTargetHttpProxiesRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.target_http_proxies.pagers.ListPager
Retrieves the list of TargetHttpProxy resources available to the specified project.
See more: google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.list
google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.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.target_http_proxies.TargetHttpProxiesClient.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.target_http_proxies.TargetHttpProxiesClient.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.target_http_proxies.TargetHttpProxiesClient.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.target_http_proxies.TargetHttpProxiesClient.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.target_http_proxies.TargetHttpProxiesClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchTargetHttpProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_http_proxy: typing.Optional[str] = None,
target_http_proxy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetHttpProxy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches the specified TargetHttpProxy resource with the data included in the request.
See more: google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.patch
google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchTargetHttpProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_http_proxy: typing.Optional[str] = None,
target_http_proxy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetHttpProxy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Patches the specified TargetHttpProxy resource with the data included in the request.
See more: google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.patch_unary
google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.set_url_map
set_url_map(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetUrlMapTargetHttpProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_http_proxy: typing.Optional[str] = None,
url_map_reference_resource: typing.Optional[
google.cloud.compute_v1.types.compute.UrlMapReference
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Changes the URL map for TargetHttpProxy.
See more: google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.set_url_map
google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.set_url_map_unary
set_url_map_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetUrlMapTargetHttpProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_http_proxy: typing.Optional[str] = None,
url_map_reference_resource: typing.Optional[
google.cloud.compute_v1.types.compute.UrlMapReference
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Changes the URL map for TargetHttpProxy.
See more: google.cloud.compute_v1.services.target_http_proxies.TargetHttpProxiesClient.set_url_map_unary
google.cloud.compute_v1.services.target_http_proxies.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.TargetHttpProxyAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListTargetHttpProxiesRequest,
response: google.cloud.compute_v1.types.compute.TargetHttpProxyAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.target_http_proxies.pagers.AggregatedListPager
google.cloud.compute_v1.services.target_http_proxies.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.TargetHttpProxyList
],
request: google.cloud.compute_v1.types.compute.ListTargetHttpProxiesRequest,
response: google.cloud.compute_v1.types.compute.TargetHttpProxyList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.target_http_proxies.pagers.ListPager
google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient
TargetHttpsProxiesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.target_https_proxies.transports.base.TargetHttpsProxiesTransport, typing.Callable[[...], google.cloud.compute_v1.services.target_https_proxies.transports.base.TargetHttpsProxiesTransport]]] = 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 target https proxies client.
See more: google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient
google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.exit
google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListTargetHttpsProxiesRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.target_https_proxies.pagers.AggregatedListPager
Retrieves the list of all TargetHttpsProxy resources, regional and global, available to the specified project.
See more: google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.aggregated_list
google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.common_folder_path
google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.common_location_path
google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.common_project_path
google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteTargetHttpsProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_https_proxy: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified TargetHttpsProxy resource.
See more: google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.delete
google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteTargetHttpsProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_https_proxy: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified TargetHttpsProxy resource.
See more: google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.delete_unary
google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.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.target_https_proxies.TargetHttpsProxiesClient.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.target_https_proxies.TargetHttpsProxiesClient.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.target_https_proxies.TargetHttpsProxiesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetTargetHttpsProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_https_proxy: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TargetHttpsProxy
Returns the specified TargetHttpsProxy resource.
See more: google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.get
google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.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.target_https_proxies.TargetHttpsProxiesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertTargetHttpsProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_https_proxy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetHttpsProxy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a TargetHttpsProxy resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.insert
google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertTargetHttpsProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_https_proxy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetHttpsProxy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a TargetHttpsProxy resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.insert_unary
google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListTargetHttpsProxiesRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.target_https_proxies.pagers.ListPager
Retrieves the list of TargetHttpsProxy resources available to the specified project.
See more: google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.list
google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.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.target_https_proxies.TargetHttpsProxiesClient.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.target_https_proxies.TargetHttpsProxiesClient.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.target_https_proxies.TargetHttpsProxiesClient.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.target_https_proxies.TargetHttpsProxiesClient.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.target_https_proxies.TargetHttpsProxiesClient.patch
patch(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchTargetHttpsProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_https_proxy: typing.Optional[str] = None,
target_https_proxy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetHttpsProxy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches the specified TargetHttpsProxy resource with the data included in the request.
See more: google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.patch
google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.PatchTargetHttpsProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_https_proxy: typing.Optional[str] = None,
target_https_proxy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetHttpsProxy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Patches the specified TargetHttpsProxy resource with the data included in the request.
See more: google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.patch_unary
google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.set_certificate_map
set_certificate_map(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetCertificateMapTargetHttpsProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
target_https_proxy: typing.Optional[str] = None,
target_https_proxies_set_certificate_map_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetHttpsProxiesSetCertificateMapRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Changes the Certificate Map for TargetHttpsProxy.
See more: google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.set_certificate_map
google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.set_certificate_map_unary
set_certificate_map_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetCertificateMapTargetHttpsProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
target_https_proxy: typing.Optional[str] = None,
target_https_proxies_set_certificate_map_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetHttpsProxiesSetCertificateMapRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Changes the Certificate Map for TargetHttpsProxy.
google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.set_quic_override
set_quic_override(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetQuicOverrideTargetHttpsProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
target_https_proxy: typing.Optional[str] = None,
target_https_proxies_set_quic_override_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetHttpsProxiesSetQuicOverrideRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the QUIC override policy for TargetHttpsProxy.
See more: google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.set_quic_override
google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.set_quic_override_unary
set_quic_override_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetQuicOverrideTargetHttpsProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
target_https_proxy: typing.Optional[str] = None,
target_https_proxies_set_quic_override_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetHttpsProxiesSetQuicOverrideRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the QUIC override policy for TargetHttpsProxy.
google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.set_ssl_certificates
set_ssl_certificates(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetSslCertificatesTargetHttpsProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
target_https_proxy: typing.Optional[str] = None,
target_https_proxies_set_ssl_certificates_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetHttpsProxiesSetSslCertificatesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Replaces SslCertificates for TargetHttpsProxy.
See more: google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.set_ssl_certificates
google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.set_ssl_certificates_unary
set_ssl_certificates_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetSslCertificatesTargetHttpsProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
target_https_proxy: typing.Optional[str] = None,
target_https_proxies_set_ssl_certificates_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetHttpsProxiesSetSslCertificatesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Replaces SslCertificates for TargetHttpsProxy.
google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.set_ssl_policy
set_ssl_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetSslPolicyTargetHttpsProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
target_https_proxy: typing.Optional[str] = None,
ssl_policy_reference_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SslPolicyReference
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the SSL policy for TargetHttpsProxy.
See more: google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.set_ssl_policy
google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.set_ssl_policy_unary
set_ssl_policy_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetSslPolicyTargetHttpsProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
target_https_proxy: typing.Optional[str] = None,
ssl_policy_reference_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SslPolicyReference
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the SSL policy for TargetHttpsProxy.
See more: google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.set_ssl_policy_unary
google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.set_url_map
set_url_map(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetUrlMapTargetHttpsProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_https_proxy: typing.Optional[str] = None,
url_map_reference_resource: typing.Optional[
google.cloud.compute_v1.types.compute.UrlMapReference
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Changes the URL map for TargetHttpsProxy.
See more: google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.set_url_map
google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.set_url_map_unary
set_url_map_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetUrlMapTargetHttpsProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_https_proxy: typing.Optional[str] = None,
url_map_reference_resource: typing.Optional[
google.cloud.compute_v1.types.compute.UrlMapReference
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Changes the URL map for TargetHttpsProxy.
See more: google.cloud.compute_v1.services.target_https_proxies.TargetHttpsProxiesClient.set_url_map_unary
google.cloud.compute_v1.services.target_https_proxies.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.TargetHttpsProxyAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListTargetHttpsProxiesRequest,
response: google.cloud.compute_v1.types.compute.TargetHttpsProxyAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.target_https_proxies.pagers.AggregatedListPager
google.cloud.compute_v1.services.target_https_proxies.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.TargetHttpsProxyList
],
request: google.cloud.compute_v1.types.compute.ListTargetHttpsProxiesRequest,
response: google.cloud.compute_v1.types.compute.TargetHttpsProxyList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.target_https_proxies.pagers.ListPager
google.cloud.compute_v1.services.target_instances.TargetInstancesClient
TargetInstancesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.target_instances.transports.base.TargetInstancesTransport, typing.Callable[[...], google.cloud.compute_v1.services.target_instances.transports.base.TargetInstancesTransport]]] = 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 target instances client.
See more: google.cloud.compute_v1.services.target_instances.TargetInstancesClient
google.cloud.compute_v1.services.target_instances.TargetInstancesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.target_instances.TargetInstancesClient.exit
google.cloud.compute_v1.services.target_instances.TargetInstancesClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListTargetInstancesRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.target_instances.pagers.AggregatedListPager
Retrieves an aggregated list of target instances.
See more: google.cloud.compute_v1.services.target_instances.TargetInstancesClient.aggregated_list
google.cloud.compute_v1.services.target_instances.TargetInstancesClient.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.target_instances.TargetInstancesClient.common_billing_account_path
google.cloud.compute_v1.services.target_instances.TargetInstancesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.target_instances.TargetInstancesClient.common_folder_path
google.cloud.compute_v1.services.target_instances.TargetInstancesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.target_instances.TargetInstancesClient.common_location_path
google.cloud.compute_v1.services.target_instances.TargetInstancesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.target_instances.TargetInstancesClient.common_organization_path
google.cloud.compute_v1.services.target_instances.TargetInstancesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.target_instances.TargetInstancesClient.common_project_path
google.cloud.compute_v1.services.target_instances.TargetInstancesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteTargetInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
target_instance: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified TargetInstance resource.
See more: google.cloud.compute_v1.services.target_instances.TargetInstancesClient.delete
google.cloud.compute_v1.services.target_instances.TargetInstancesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteTargetInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
target_instance: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified TargetInstance resource.
See more: google.cloud.compute_v1.services.target_instances.TargetInstancesClient.delete_unary
google.cloud.compute_v1.services.target_instances.TargetInstancesClient.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.target_instances.TargetInstancesClient.from_service_account_file
google.cloud.compute_v1.services.target_instances.TargetInstancesClient.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.target_instances.TargetInstancesClient.from_service_account_info
google.cloud.compute_v1.services.target_instances.TargetInstancesClient.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.target_instances.TargetInstancesClient.from_service_account_json
google.cloud.compute_v1.services.target_instances.TargetInstancesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetTargetInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
target_instance: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TargetInstance
Returns the specified TargetInstance resource.
See more: google.cloud.compute_v1.services.target_instances.TargetInstancesClient.get
google.cloud.compute_v1.services.target_instances.TargetInstancesClient.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.target_instances.TargetInstancesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertTargetInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
target_instance_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetInstance
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a TargetInstance resource in the specified project and zone using the data included in the request.
See more: google.cloud.compute_v1.services.target_instances.TargetInstancesClient.insert
google.cloud.compute_v1.services.target_instances.TargetInstancesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertTargetInstanceRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
target_instance_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetInstance
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a TargetInstance resource in the specified project and zone using the data included in the request.
See more: google.cloud.compute_v1.services.target_instances.TargetInstancesClient.insert_unary
google.cloud.compute_v1.services.target_instances.TargetInstancesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListTargetInstancesRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.target_instances.pagers.ListPager
Retrieves a list of TargetInstance resources available to the specified project and zone.
See more: google.cloud.compute_v1.services.target_instances.TargetInstancesClient.list
google.cloud.compute_v1.services.target_instances.TargetInstancesClient.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.target_instances.TargetInstancesClient.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.target_instances.TargetInstancesClient.parse_common_folder_path
google.cloud.compute_v1.services.target_instances.TargetInstancesClient.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.target_instances.TargetInstancesClient.parse_common_location_path
google.cloud.compute_v1.services.target_instances.TargetInstancesClient.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.target_instances.TargetInstancesClient.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.target_instances.TargetInstancesClient.parse_common_project_path
google.cloud.compute_v1.services.target_instances.TargetInstancesClient.set_security_policy
set_security_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetSecurityPolicyTargetInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
target_instance: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the Google Cloud Armor security policy for the specified target instance.
See more: google.cloud.compute_v1.services.target_instances.TargetInstancesClient.set_security_policy
google.cloud.compute_v1.services.target_instances.TargetInstancesClient.set_security_policy_unary
set_security_policy_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetSecurityPolicyTargetInstanceRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
zone: typing.Optional[str] = None,
target_instance: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the Google Cloud Armor security policy for the specified target instance.
See more: google.cloud.compute_v1.services.target_instances.TargetInstancesClient.set_security_policy_unary
google.cloud.compute_v1.services.target_instances.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.TargetInstanceAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListTargetInstancesRequest,
response: google.cloud.compute_v1.types.compute.TargetInstanceAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.target_instances.pagers.AggregatedListPager
google.cloud.compute_v1.services.target_instances.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.TargetInstanceList
],
request: google.cloud.compute_v1.types.compute.ListTargetInstancesRequest,
response: google.cloud.compute_v1.types.compute.TargetInstanceList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.target_instances.pagers.ListPager
google.cloud.compute_v1.services.target_pools.TargetPoolsClient
TargetPoolsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.target_pools.transports.base.TargetPoolsTransport, typing.Callable[[...], google.cloud.compute_v1.services.target_pools.transports.base.TargetPoolsTransport]]] = 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 target pools client.
See more: google.cloud.compute_v1.services.target_pools.TargetPoolsClient
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.target_pools.TargetPoolsClient.exit
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.add_health_check
add_health_check(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddHealthCheckTargetPoolRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_pool: typing.Optional[str] = None,
target_pools_add_health_check_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetPoolsAddHealthCheckRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Adds health check URLs to a target pool.
See more: google.cloud.compute_v1.services.target_pools.TargetPoolsClient.add_health_check
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.add_health_check_unary
add_health_check_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddHealthCheckTargetPoolRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_pool: typing.Optional[str] = None,
target_pools_add_health_check_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetPoolsAddHealthCheckRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Adds health check URLs to a target pool.
See more: google.cloud.compute_v1.services.target_pools.TargetPoolsClient.add_health_check_unary
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.add_instance
add_instance(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddInstanceTargetPoolRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_pool: typing.Optional[str] = None,
target_pools_add_instance_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetPoolsAddInstanceRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Adds an instance to a target pool.
See more: google.cloud.compute_v1.services.target_pools.TargetPoolsClient.add_instance
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.add_instance_unary
add_instance_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AddInstanceTargetPoolRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_pool: typing.Optional[str] = None,
target_pools_add_instance_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetPoolsAddInstanceRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Adds an instance to a target pool.
See more: google.cloud.compute_v1.services.target_pools.TargetPoolsClient.add_instance_unary
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListTargetPoolsRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.target_pools.pagers.AggregatedListPager
Retrieves an aggregated list of target pools.
See more: google.cloud.compute_v1.services.target_pools.TargetPoolsClient.aggregated_list
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.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.target_pools.TargetPoolsClient.common_billing_account_path
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.target_pools.TargetPoolsClient.common_folder_path
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.target_pools.TargetPoolsClient.common_location_path
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.target_pools.TargetPoolsClient.common_organization_path
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.target_pools.TargetPoolsClient.common_project_path
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteTargetPoolRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_pool: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified target pool.
See more: google.cloud.compute_v1.services.target_pools.TargetPoolsClient.delete
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteTargetPoolRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_pool: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified target pool.
See more: google.cloud.compute_v1.services.target_pools.TargetPoolsClient.delete_unary
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.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.target_pools.TargetPoolsClient.from_service_account_file
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.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.target_pools.TargetPoolsClient.from_service_account_info
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.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.target_pools.TargetPoolsClient.from_service_account_json
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetTargetPoolRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_pool: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TargetPool
Returns the specified target pool.
See more: google.cloud.compute_v1.services.target_pools.TargetPoolsClient.get
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.get_health
get_health(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetHealthTargetPoolRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_pool: typing.Optional[str] = None,
instance_reference_resource: typing.Optional[
google.cloud.compute_v1.types.compute.InstanceReference
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.TargetPoolInstanceHealth
Gets the most recent health check results for each IP for the instance that is referenced by the given target pool.
See more: google.cloud.compute_v1.services.target_pools.TargetPoolsClient.get_health
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.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.target_pools.TargetPoolsClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertTargetPoolRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_pool_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetPool
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a target pool in the specified project and region using the data included in the request.
See more: google.cloud.compute_v1.services.target_pools.TargetPoolsClient.insert
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertTargetPoolRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_pool_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetPool
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a target pool in the specified project and region using the data included in the request.
See more: google.cloud.compute_v1.services.target_pools.TargetPoolsClient.insert_unary
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.list
list(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ListTargetPoolsRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.target_pools.pagers.ListPager
Retrieves a list of target pools available to the specified project and region.
See more: google.cloud.compute_v1.services.target_pools.TargetPoolsClient.list
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.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.target_pools.TargetPoolsClient.parse_common_billing_account_path
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.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.target_pools.TargetPoolsClient.parse_common_folder_path
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.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.target_pools.TargetPoolsClient.parse_common_location_path
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.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.target_pools.TargetPoolsClient.parse_common_organization_path
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.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.target_pools.TargetPoolsClient.parse_common_project_path
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.remove_health_check
remove_health_check(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemoveHealthCheckTargetPoolRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_pool: typing.Optional[str] = None,
target_pools_remove_health_check_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetPoolsRemoveHealthCheckRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Removes health check URL from a target pool.
See more: google.cloud.compute_v1.services.target_pools.TargetPoolsClient.remove_health_check
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.remove_health_check_unary
remove_health_check_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemoveHealthCheckTargetPoolRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_pool: typing.Optional[str] = None,
target_pools_remove_health_check_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetPoolsRemoveHealthCheckRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Removes health check URL from a target pool.
See more: google.cloud.compute_v1.services.target_pools.TargetPoolsClient.remove_health_check_unary
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.remove_instance
remove_instance(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemoveInstanceTargetPoolRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_pool: typing.Optional[str] = None,
target_pools_remove_instance_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetPoolsRemoveInstanceRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Removes instance URL from a target pool.
See more: google.cloud.compute_v1.services.target_pools.TargetPoolsClient.remove_instance
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.remove_instance_unary
remove_instance_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.RemoveInstanceTargetPoolRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_pool: typing.Optional[str] = None,
target_pools_remove_instance_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetPoolsRemoveInstanceRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Removes instance URL from a target pool.
See more: google.cloud.compute_v1.services.target_pools.TargetPoolsClient.remove_instance_unary
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.set_backup
set_backup(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetBackupTargetPoolRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_pool: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Changes a backup target pool's configurations.
See more: google.cloud.compute_v1.services.target_pools.TargetPoolsClient.set_backup
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.set_backup_unary
set_backup_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetBackupTargetPoolRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_pool: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Changes a backup target pool's configurations.
See more: google.cloud.compute_v1.services.target_pools.TargetPoolsClient.set_backup_unary
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.set_security_policy
set_security_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetSecurityPolicyTargetPoolRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_pool: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the Google Cloud Armor security policy for the specified target pool.
See more: google.cloud.compute_v1.services.target_pools.TargetPoolsClient.set_security_policy
google.cloud.compute_v1.services.target_pools.TargetPoolsClient.set_security_policy_unary
set_security_policy_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetSecurityPolicyTargetPoolRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_pool: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the Google Cloud Armor security policy for the specified target pool.
See more: google.cloud.compute_v1.services.target_pools.TargetPoolsClient.set_security_policy_unary
google.cloud.compute_v1.services.target_pools.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.TargetPoolAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListTargetPoolsRequest,
response: google.cloud.compute_v1.types.compute.TargetPoolAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.target_pools.pagers.AggregatedListPager
google.cloud.compute_v1.services.target_pools.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.TargetPoolList
],
request: google.cloud.compute_v1.types.compute.ListTargetPoolsRequest,
response: google.cloud.compute_v1.types.compute.TargetPoolList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.target_pools.pagers.ListPager
google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient
TargetSslProxiesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.target_ssl_proxies.transports.base.TargetSslProxiesTransport, typing.Callable[[...], google.cloud.compute_v1.services.target_ssl_proxies.transports.base.TargetSslProxiesTransport]]] = 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 target ssl proxies client.
See more: google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient
google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.exit
google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.common_folder_path
google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.common_location_path
google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.common_organization_path
google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.common_project_path
google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteTargetSslProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_ssl_proxy: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified TargetSslProxy resource.
See more: google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.delete
google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteTargetSslProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_ssl_proxy: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified TargetSslProxy resource.
See more: google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.delete_unary
google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.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.target_ssl_proxies.TargetSslProxiesClient.from_service_account_file
google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.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.target_ssl_proxies.TargetSslProxiesClient.from_service_account_info
google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.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.target_ssl_proxies.TargetSslProxiesClient.from_service_account_json
google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetTargetSslProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_ssl_proxy: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TargetSslProxy
Returns the specified TargetSslProxy resource.
See more: google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.get
google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.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.target_ssl_proxies.TargetSslProxiesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertTargetSslProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_ssl_proxy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetSslProxy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a TargetSslProxy resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.insert
google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertTargetSslProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_ssl_proxy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetSslProxy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a TargetSslProxy resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.insert_unary
google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListTargetSslProxiesRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.target_ssl_proxies.pagers.ListPager
Retrieves the list of TargetSslProxy resources available to the specified project.
See more: google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.list
google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.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.target_ssl_proxies.TargetSslProxiesClient.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.target_ssl_proxies.TargetSslProxiesClient.parse_common_folder_path
google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.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.target_ssl_proxies.TargetSslProxiesClient.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.target_ssl_proxies.TargetSslProxiesClient.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.target_ssl_proxies.TargetSslProxiesClient.parse_common_project_path
google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.set_backend_service
set_backend_service(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetBackendServiceTargetSslProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
target_ssl_proxy: typing.Optional[str] = None,
target_ssl_proxies_set_backend_service_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetSslProxiesSetBackendServiceRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Changes the BackendService for TargetSslProxy.
See more: google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.set_backend_service
google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.set_backend_service_unary
set_backend_service_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetBackendServiceTargetSslProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
target_ssl_proxy: typing.Optional[str] = None,
target_ssl_proxies_set_backend_service_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetSslProxiesSetBackendServiceRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Changes the BackendService for TargetSslProxy.
See more: google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.set_backend_service_unary
google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.set_certificate_map
set_certificate_map(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetCertificateMapTargetSslProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
target_ssl_proxy: typing.Optional[str] = None,
target_ssl_proxies_set_certificate_map_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetSslProxiesSetCertificateMapRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Changes the Certificate Map for TargetSslProxy.
See more: google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.set_certificate_map
google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.set_certificate_map_unary
set_certificate_map_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetCertificateMapTargetSslProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
target_ssl_proxy: typing.Optional[str] = None,
target_ssl_proxies_set_certificate_map_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetSslProxiesSetCertificateMapRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Changes the Certificate Map for TargetSslProxy.
See more: google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.set_certificate_map_unary
google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.set_proxy_header
set_proxy_header(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetProxyHeaderTargetSslProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
target_ssl_proxy: typing.Optional[str] = None,
target_ssl_proxies_set_proxy_header_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetSslProxiesSetProxyHeaderRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Changes the ProxyHeaderType for TargetSslProxy.
See more: google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.set_proxy_header
google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.set_proxy_header_unary
set_proxy_header_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetProxyHeaderTargetSslProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
target_ssl_proxy: typing.Optional[str] = None,
target_ssl_proxies_set_proxy_header_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetSslProxiesSetProxyHeaderRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Changes the ProxyHeaderType for TargetSslProxy.
See more: google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.set_proxy_header_unary
google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.set_ssl_certificates
set_ssl_certificates(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetSslCertificatesTargetSslProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
target_ssl_proxy: typing.Optional[str] = None,
target_ssl_proxies_set_ssl_certificates_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetSslProxiesSetSslCertificatesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Changes SslCertificates for TargetSslProxy.
See more: google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.set_ssl_certificates
google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.set_ssl_certificates_unary
set_ssl_certificates_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetSslCertificatesTargetSslProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
target_ssl_proxy: typing.Optional[str] = None,
target_ssl_proxies_set_ssl_certificates_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetSslProxiesSetSslCertificatesRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Changes SslCertificates for TargetSslProxy.
google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.set_ssl_policy
set_ssl_policy(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetSslPolicyTargetSslProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
target_ssl_proxy: typing.Optional[str] = None,
ssl_policy_reference_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SslPolicyReference
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the SSL policy for TargetSslProxy.
See more: google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.set_ssl_policy
google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.set_ssl_policy_unary
set_ssl_policy_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetSslPolicyTargetSslProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
target_ssl_proxy: typing.Optional[str] = None,
ssl_policy_reference_resource: typing.Optional[
google.cloud.compute_v1.types.compute.SslPolicyReference
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the SSL policy for TargetSslProxy.
See more: google.cloud.compute_v1.services.target_ssl_proxies.TargetSslProxiesClient.set_ssl_policy_unary
google.cloud.compute_v1.services.target_ssl_proxies.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.TargetSslProxyList
],
request: google.cloud.compute_v1.types.compute.ListTargetSslProxiesRequest,
response: google.cloud.compute_v1.types.compute.TargetSslProxyList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.target_ssl_proxies.pagers.ListPager
google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient
TargetTcpProxiesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.target_tcp_proxies.transports.base.TargetTcpProxiesTransport, typing.Callable[[...], google.cloud.compute_v1.services.target_tcp_proxies.transports.base.TargetTcpProxiesTransport]]] = 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 target tcp proxies client.
See more: google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient
google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.exit
google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListTargetTcpProxiesRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.target_tcp_proxies.pagers.AggregatedListPager
Retrieves the list of all TargetTcpProxy resources, regional and global, available to the specified project.
See more: google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.aggregated_list
google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.common_folder_path
google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.common_location_path
google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.common_organization_path
google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.common_project_path
google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteTargetTcpProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_tcp_proxy: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified TargetTcpProxy resource.
See more: google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.delete
google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteTargetTcpProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_tcp_proxy: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified TargetTcpProxy resource.
See more: google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.delete_unary
google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.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.target_tcp_proxies.TargetTcpProxiesClient.from_service_account_file
google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.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.target_tcp_proxies.TargetTcpProxiesClient.from_service_account_info
google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.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.target_tcp_proxies.TargetTcpProxiesClient.from_service_account_json
google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetTargetTcpProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_tcp_proxy: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TargetTcpProxy
Returns the specified TargetTcpProxy resource.
See more: google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.get
google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.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.target_tcp_proxies.TargetTcpProxiesClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertTargetTcpProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_tcp_proxy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetTcpProxy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a TargetTcpProxy resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.insert
google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertTargetTcpProxyRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
target_tcp_proxy_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetTcpProxy
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a TargetTcpProxy resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.insert_unary
google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListTargetTcpProxiesRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.target_tcp_proxies.pagers.ListPager
Retrieves the list of TargetTcpProxy resources available to the specified project.
See more: google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.list
google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.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.target_tcp_proxies.TargetTcpProxiesClient.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.target_tcp_proxies.TargetTcpProxiesClient.parse_common_folder_path
google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.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.target_tcp_proxies.TargetTcpProxiesClient.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.target_tcp_proxies.TargetTcpProxiesClient.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.target_tcp_proxies.TargetTcpProxiesClient.parse_common_project_path
google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.set_backend_service
set_backend_service(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetBackendServiceTargetTcpProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
target_tcp_proxy: typing.Optional[str] = None,
target_tcp_proxies_set_backend_service_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetTcpProxiesSetBackendServiceRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Changes the BackendService for TargetTcpProxy.
See more: google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.set_backend_service
google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.set_backend_service_unary
set_backend_service_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetBackendServiceTargetTcpProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
target_tcp_proxy: typing.Optional[str] = None,
target_tcp_proxies_set_backend_service_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetTcpProxiesSetBackendServiceRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Changes the BackendService for TargetTcpProxy.
See more: google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.set_backend_service_unary
google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.set_proxy_header
set_proxy_header(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetProxyHeaderTargetTcpProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
target_tcp_proxy: typing.Optional[str] = None,
target_tcp_proxies_set_proxy_header_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetTcpProxiesSetProxyHeaderRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Changes the ProxyHeaderType for TargetTcpProxy.
See more: google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.set_proxy_header
google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.set_proxy_header_unary
set_proxy_header_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetProxyHeaderTargetTcpProxyRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
target_tcp_proxy: typing.Optional[str] = None,
target_tcp_proxies_set_proxy_header_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetTcpProxiesSetProxyHeaderRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Changes the ProxyHeaderType for TargetTcpProxy.
See more: google.cloud.compute_v1.services.target_tcp_proxies.TargetTcpProxiesClient.set_proxy_header_unary
google.cloud.compute_v1.services.target_tcp_proxies.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.TargetTcpProxyAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListTargetTcpProxiesRequest,
response: google.cloud.compute_v1.types.compute.TargetTcpProxyAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.target_tcp_proxies.pagers.AggregatedListPager
google.cloud.compute_v1.services.target_tcp_proxies.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.TargetTcpProxyList
],
request: google.cloud.compute_v1.types.compute.ListTargetTcpProxiesRequest,
response: google.cloud.compute_v1.types.compute.TargetTcpProxyList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.target_tcp_proxies.pagers.ListPager
google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient
TargetVpnGatewaysClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.target_vpn_gateways.transports.base.TargetVpnGatewaysTransport, typing.Callable[[...], google.cloud.compute_v1.services.target_vpn_gateways.transports.base.TargetVpnGatewaysTransport]]] = 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 target vpn gateways client.
See more: google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient
google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient.exit
google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListTargetVpnGatewaysRequest,
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, str]] = ()
) -> google.cloud.compute_v1.services.target_vpn_gateways.pagers.AggregatedListPager
Retrieves an aggregated list of target VPN gateways.
See more: google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient.aggregated_list
google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient.common_folder_path
google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient.common_location_path
google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient.common_project_path
google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteTargetVpnGatewayRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified target VPN gateway.
See more: google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient.delete
google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteTargetVpnGatewayRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified target VPN gateway.
See more: google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient.delete_unary
google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient.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.target_vpn_gateways.TargetVpnGatewaysClient.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.target_vpn_gateways.TargetVpnGatewaysClient.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.target_vpn_gateways.TargetVpnGatewaysClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetTargetVpnGatewayRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TargetVpnGateway
Returns the specified target VPN gateway.
See more: google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient.get
google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient.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.target_vpn_gateways.TargetVpnGatewaysClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertTargetVpnGatewayRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_vpn_gateway_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetVpnGateway
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a target VPN gateway in the specified project and region using the data included in the request.
See more: google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient.insert
google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertTargetVpnGatewayRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
target_vpn_gateway_resource: typing.Optional[
google.cloud.compute_v1.types.compute.TargetVpnGateway
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a target VPN gateway in the specified project and region using the data included in the request.
See more: google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient.insert_unary
google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListTargetVpnGatewaysRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.target_vpn_gateways.pagers.ListPager
Retrieves a list of target VPN gateways available to the specified project and region.
See more: google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient.list
google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient.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.target_vpn_gateways.TargetVpnGatewaysClient.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.target_vpn_gateways.TargetVpnGatewaysClient.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.target_vpn_gateways.TargetVpnGatewaysClient.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.target_vpn_gateways.TargetVpnGatewaysClient.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.target_vpn_gateways.TargetVpnGatewaysClient.set_labels
set_labels(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsTargetVpnGatewayRequest, 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the labels on a TargetVpnGateway.
See more: google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient.set_labels
google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient.set_labels_unary
set_labels_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsTargetVpnGatewayRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the labels on a TargetVpnGateway.
See more: google.cloud.compute_v1.services.target_vpn_gateways.TargetVpnGatewaysClient.set_labels_unary
google.cloud.compute_v1.services.target_vpn_gateways.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.TargetVpnGatewayAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListTargetVpnGatewaysRequest,
response: google.cloud.compute_v1.types.compute.TargetVpnGatewayAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.target_vpn_gateways.pagers.AggregatedListPager
google.cloud.compute_v1.services.target_vpn_gateways.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.TargetVpnGatewayList
],
request: google.cloud.compute_v1.types.compute.ListTargetVpnGatewaysRequest,
response: google.cloud.compute_v1.types.compute.TargetVpnGatewayList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.target_vpn_gateways.pagers.ListPager
google.cloud.compute_v1.services.url_maps.UrlMapsClient
UrlMapsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.url_maps.transports.base.UrlMapsTransport, typing.Callable[[...], google.cloud.compute_v1.services.url_maps.transports.base.UrlMapsTransport]]] = 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 url maps client.
See more: google.cloud.compute_v1.services.url_maps.UrlMapsClient
google.cloud.compute_v1.services.url_maps.UrlMapsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.url_maps.UrlMapsClient.exit
google.cloud.compute_v1.services.url_maps.UrlMapsClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListUrlMapsRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.url_maps.pagers.AggregatedListPager
Retrieves the list of all UrlMap resources, regional and global, available to the specified project.
See more: google.cloud.compute_v1.services.url_maps.UrlMapsClient.aggregated_list
google.cloud.compute_v1.services.url_maps.UrlMapsClient.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.url_maps.UrlMapsClient.common_billing_account_path
google.cloud.compute_v1.services.url_maps.UrlMapsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.url_maps.UrlMapsClient.common_folder_path
google.cloud.compute_v1.services.url_maps.UrlMapsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.url_maps.UrlMapsClient.common_location_path
google.cloud.compute_v1.services.url_maps.UrlMapsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.url_maps.UrlMapsClient.common_organization_path
google.cloud.compute_v1.services.url_maps.UrlMapsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.url_maps.UrlMapsClient.common_project_path
google.cloud.compute_v1.services.url_maps.UrlMapsClient.delete
delete(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeleteUrlMapRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
url_map: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified UrlMap resource.
See more: google.cloud.compute_v1.services.url_maps.UrlMapsClient.delete
google.cloud.compute_v1.services.url_maps.UrlMapsClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeleteUrlMapRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
url_map: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified UrlMap resource.
See more: google.cloud.compute_v1.services.url_maps.UrlMapsClient.delete_unary
google.cloud.compute_v1.services.url_maps.UrlMapsClient.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.url_maps.UrlMapsClient.from_service_account_file
google.cloud.compute_v1.services.url_maps.UrlMapsClient.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.url_maps.UrlMapsClient.from_service_account_info
google.cloud.compute_v1.services.url_maps.UrlMapsClient.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.url_maps.UrlMapsClient.from_service_account_json
google.cloud.compute_v1.services.url_maps.UrlMapsClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetUrlMapRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
url_map: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.UrlMap
Returns the specified UrlMap resource.
See more: google.cloud.compute_v1.services.url_maps.UrlMapsClient.get
google.cloud.compute_v1.services.url_maps.UrlMapsClient.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.url_maps.UrlMapsClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.url_maps.UrlMapsClient.insert
insert(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.InsertUrlMapRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
url_map_resource: typing.Optional[
google.cloud.compute_v1.types.compute.UrlMap
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a UrlMap resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.url_maps.UrlMapsClient.insert
google.cloud.compute_v1.services.url_maps.UrlMapsClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.InsertUrlMapRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
url_map_resource: typing.Optional[
google.cloud.compute_v1.types.compute.UrlMap
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a UrlMap resource in the specified project using the data included in the request.
See more: google.cloud.compute_v1.services.url_maps.UrlMapsClient.insert_unary
google.cloud.compute_v1.services.url_maps.UrlMapsClient.invalidate_cache
invalidate_cache(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InvalidateCacheUrlMapRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
url_map: typing.Optional[str] = None,
cache_invalidation_rule_resource: typing.Optional[
google.cloud.compute_v1.types.compute.CacheInvalidationRule
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Initiates a cache invalidation operation, invalidating the specified path, scoped to the specified UrlMap.
See more: google.cloud.compute_v1.services.url_maps.UrlMapsClient.invalidate_cache
google.cloud.compute_v1.services.url_maps.UrlMapsClient.invalidate_cache_unary
invalidate_cache_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InvalidateCacheUrlMapRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
url_map: typing.Optional[str] = None,
cache_invalidation_rule_resource: typing.Optional[
google.cloud.compute_v1.types.compute.CacheInvalidationRule
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Initiates a cache invalidation operation, invalidating the specified path, scoped to the specified UrlMap.
See more: google.cloud.compute_v1.services.url_maps.UrlMapsClient.invalidate_cache_unary
google.cloud.compute_v1.services.url_maps.UrlMapsClient.list
list(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ListUrlMapsRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.url_maps.pagers.ListPager
Retrieves the list of UrlMap resources available to the specified project.
See more: google.cloud.compute_v1.services.url_maps.UrlMapsClient.list
google.cloud.compute_v1.services.url_maps.UrlMapsClient.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.url_maps.UrlMapsClient.parse_common_billing_account_path
google.cloud.compute_v1.services.url_maps.UrlMapsClient.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.url_maps.UrlMapsClient.parse_common_folder_path
google.cloud.compute_v1.services.url_maps.UrlMapsClient.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.url_maps.UrlMapsClient.parse_common_location_path
google.cloud.compute_v1.services.url_maps.UrlMapsClient.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.url_maps.UrlMapsClient.parse_common_organization_path
google.cloud.compute_v1.services.url_maps.UrlMapsClient.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.url_maps.UrlMapsClient.parse_common_project_path
google.cloud.compute_v1.services.url_maps.UrlMapsClient.patch
patch(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.PatchUrlMapRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
url_map: typing.Optional[str] = None,
url_map_resource: typing.Optional[
google.cloud.compute_v1.types.compute.UrlMap
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Patches the specified UrlMap resource with the data included in the request.
See more: google.cloud.compute_v1.services.url_maps.UrlMapsClient.patch
google.cloud.compute_v1.services.url_maps.UrlMapsClient.patch_unary
patch_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.PatchUrlMapRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
url_map: typing.Optional[str] = None,
url_map_resource: typing.Optional[
google.cloud.compute_v1.types.compute.UrlMap
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Patches the specified UrlMap resource with the data included in the request.
See more: google.cloud.compute_v1.services.url_maps.UrlMapsClient.patch_unary
google.cloud.compute_v1.services.url_maps.UrlMapsClient.update
update(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.UpdateUrlMapRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
url_map: typing.Optional[str] = None,
url_map_resource: typing.Optional[
google.cloud.compute_v1.types.compute.UrlMap
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Updates the specified UrlMap resource with the data included in the request.
See more: google.cloud.compute_v1.services.url_maps.UrlMapsClient.update
google.cloud.compute_v1.services.url_maps.UrlMapsClient.update_unary
update_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.UpdateUrlMapRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
url_map: typing.Optional[str] = None,
url_map_resource: typing.Optional[
google.cloud.compute_v1.types.compute.UrlMap
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Updates the specified UrlMap resource with the data included in the request.
See more: google.cloud.compute_v1.services.url_maps.UrlMapsClient.update_unary
google.cloud.compute_v1.services.url_maps.UrlMapsClient.validate
validate(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ValidateUrlMapRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
url_map: typing.Optional[str] = None,
url_maps_validate_request_resource: typing.Optional[
google.cloud.compute_v1.types.compute.UrlMapsValidateRequest
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.UrlMapsValidateResponse
Runs static validation for the UrlMap.
See more: google.cloud.compute_v1.services.url_maps.UrlMapsClient.validate
google.cloud.compute_v1.services.url_maps.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.UrlMapsAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListUrlMapsRequest,
response: google.cloud.compute_v1.types.compute.UrlMapsAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.url_maps.pagers.AggregatedListPager
google.cloud.compute_v1.services.url_maps.pagers.ListPager
ListPager(
method: typing.Callable[[...], google.cloud.compute_v1.types.compute.UrlMapList],
request: google.cloud.compute_v1.types.compute.ListUrlMapsRequest,
response: google.cloud.compute_v1.types.compute.UrlMapList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.url_maps.pagers.ListPager
google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient
VpnGatewaysClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.vpn_gateways.transports.base.VpnGatewaysTransport, typing.Callable[[...], google.cloud.compute_v1.services.vpn_gateways.transports.base.VpnGatewaysTransport]]] = 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 vpn gateways client.
See more: google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient
google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.exit
google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListVpnGatewaysRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.vpn_gateways.pagers.AggregatedListPager
Retrieves an aggregated list of VPN gateways.
See more: google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.aggregated_list
google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.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.vpn_gateways.VpnGatewaysClient.common_billing_account_path
google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.common_folder_path
google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.common_location_path
google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.common_organization_path
google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.common_project_path
google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteVpnGatewayRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified VPN gateway.
See more: google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.delete
google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteVpnGatewayRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified VPN gateway.
See more: google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.delete_unary
google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.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.vpn_gateways.VpnGatewaysClient.from_service_account_file
google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.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.vpn_gateways.VpnGatewaysClient.from_service_account_info
google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.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.vpn_gateways.VpnGatewaysClient.from_service_account_json
google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetVpnGatewayRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
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, str]] = ()
) -> google.cloud.compute_v1.types.compute.VpnGateway
Returns the specified VPN gateway.
See more: google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.get
google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.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.vpn_gateways.VpnGatewaysClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.get_status
get_status(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetStatusVpnGatewayRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
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, str]] = ()
) -> google.cloud.compute_v1.types.compute.VpnGatewaysGetStatusResponse
Returns the status for the specified VPN gateway.
See more: google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.get_status
google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.insert
insert(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertVpnGatewayRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
vpn_gateway_resource: typing.Optional[
google.cloud.compute_v1.types.compute.VpnGateway
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a VPN gateway in the specified project and region using the data included in the request.
See more: google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.insert
google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.InsertVpnGatewayRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
vpn_gateway_resource: typing.Optional[
google.cloud.compute_v1.types.compute.VpnGateway
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a VPN gateway in the specified project and region using the data included in the request.
See more: google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.insert_unary
google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.list
list(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ListVpnGatewaysRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.vpn_gateways.pagers.ListPager
Retrieves a list of VPN gateways available to the specified project and region.
See more: google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.list
google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.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.vpn_gateways.VpnGatewaysClient.parse_common_billing_account_path
google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.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.vpn_gateways.VpnGatewaysClient.parse_common_folder_path
google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.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.vpn_gateways.VpnGatewaysClient.parse_common_location_path
google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.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.vpn_gateways.VpnGatewaysClient.parse_common_organization_path
google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.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.vpn_gateways.VpnGatewaysClient.parse_common_project_path
google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.set_labels
set_labels(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsVpnGatewayRequest, 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the labels on a VpnGateway.
See more: google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.set_labels
google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.set_labels_unary
set_labels_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsVpnGatewayRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the labels on a VpnGateway.
See more: google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.set_labels_unary
google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.test_iam_permissions
test_iam_permissions(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.TestIamPermissionsVpnGatewayRequest,
dict,
]
] = None,
*,
project: typing.Optional[str] = None,
region: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
See more: google.cloud.compute_v1.services.vpn_gateways.VpnGatewaysClient.test_iam_permissions
google.cloud.compute_v1.services.vpn_gateways.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.VpnGatewayAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListVpnGatewaysRequest,
response: google.cloud.compute_v1.types.compute.VpnGatewayAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.vpn_gateways.pagers.AggregatedListPager
google.cloud.compute_v1.services.vpn_gateways.pagers.ListPager
ListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.VpnGatewayList
],
request: google.cloud.compute_v1.types.compute.ListVpnGatewaysRequest,
response: google.cloud.compute_v1.types.compute.VpnGatewayList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.vpn_gateways.pagers.ListPager
google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient
VpnTunnelsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.vpn_tunnels.transports.base.VpnTunnelsTransport, typing.Callable[[...], google.cloud.compute_v1.services.vpn_tunnels.transports.base.VpnTunnelsTransport]]] = 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 vpn tunnels client.
See more: google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient
google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.exit
google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.aggregated_list
aggregated_list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.AggregatedListVpnTunnelsRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.vpn_tunnels.pagers.AggregatedListPager
Retrieves an aggregated list of VPN tunnels.
See more: google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.aggregated_list
google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.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.vpn_tunnels.VpnTunnelsClient.common_billing_account_path
google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.common_folder_path
google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.common_location_path
google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.common_organization_path
google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.common_project_path
google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.delete
delete(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeleteVpnTunnelRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
vpn_tunnel: 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Deletes the specified VpnTunnel resource.
See more: google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.delete
google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.delete_unary
delete_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.DeleteVpnTunnelRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
vpn_tunnel: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Deletes the specified VpnTunnel resource.
See more: google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.delete_unary
google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.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.vpn_tunnels.VpnTunnelsClient.from_service_account_file
google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.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.vpn_tunnels.VpnTunnelsClient.from_service_account_info
google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.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.vpn_tunnels.VpnTunnelsClient.from_service_account_json
google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetVpnTunnelRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
vpn_tunnel: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.VpnTunnel
Returns the specified VpnTunnel resource.
See more: google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.get
google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.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.vpn_tunnels.VpnTunnelsClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.insert
insert(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.InsertVpnTunnelRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
vpn_tunnel_resource: typing.Optional[
google.cloud.compute_v1.types.compute.VpnTunnel
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Creates a VpnTunnel resource in the specified project and region using the data included in the request.
See more: google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.insert
google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.insert_unary
insert_unary(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.InsertVpnTunnelRequest, dict]
] = None,
*,
project: typing.Optional[str] = None,
region: typing.Optional[str] = None,
vpn_tunnel_resource: typing.Optional[
google.cloud.compute_v1.types.compute.VpnTunnel
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Creates a VpnTunnel resource in the specified project and region using the data included in the request.
See more: google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.insert_unary
google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.list
list(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ListVpnTunnelsRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.vpn_tunnels.pagers.ListPager
Retrieves a list of VpnTunnel resources contained in the specified project and region.
See more: google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.list
google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.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.vpn_tunnels.VpnTunnelsClient.parse_common_billing_account_path
google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.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.vpn_tunnels.VpnTunnelsClient.parse_common_folder_path
google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.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.vpn_tunnels.VpnTunnelsClient.parse_common_location_path
google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.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.vpn_tunnels.VpnTunnelsClient.parse_common_organization_path
google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.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.vpn_tunnels.VpnTunnelsClient.parse_common_project_path
google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.set_labels
set_labels(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsVpnTunnelRequest, 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, str]] = ()
) -> google.api_core.extended_operation.ExtendedOperation
Sets the labels on a VpnTunnel.
See more: google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.set_labels
google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.set_labels_unary
set_labels_unary(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.SetLabelsVpnTunnelRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Sets the labels on a VpnTunnel.
See more: google.cloud.compute_v1.services.vpn_tunnels.VpnTunnelsClient.set_labels_unary
google.cloud.compute_v1.services.vpn_tunnels.pagers.AggregatedListPager
AggregatedListPager(
method: typing.Callable[
[...], google.cloud.compute_v1.types.compute.VpnTunnelAggregatedList
],
request: google.cloud.compute_v1.types.compute.AggregatedListVpnTunnelsRequest,
response: google.cloud.compute_v1.types.compute.VpnTunnelAggregatedList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.vpn_tunnels.pagers.AggregatedListPager
google.cloud.compute_v1.services.vpn_tunnels.pagers.ListPager
ListPager(
method: typing.Callable[[...], google.cloud.compute_v1.types.compute.VpnTunnelList],
request: google.cloud.compute_v1.types.compute.ListVpnTunnelsRequest,
response: google.cloud.compute_v1.types.compute.VpnTunnelList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.vpn_tunnels.pagers.ListPager
google.cloud.compute_v1.services.zone_operations.ZoneOperationsClient
ZoneOperationsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.zone_operations.transports.base.ZoneOperationsTransport, typing.Callable[[...], google.cloud.compute_v1.services.zone_operations.transports.base.ZoneOperationsTransport]]] = 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 zone operations client.
See more: google.cloud.compute_v1.services.zone_operations.ZoneOperationsClient
google.cloud.compute_v1.services.zone_operations.ZoneOperationsClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.zone_operations.ZoneOperationsClient.exit
google.cloud.compute_v1.services.zone_operations.ZoneOperationsClient.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.zone_operations.ZoneOperationsClient.common_billing_account_path
google.cloud.compute_v1.services.zone_operations.ZoneOperationsClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.zone_operations.ZoneOperationsClient.common_folder_path
google.cloud.compute_v1.services.zone_operations.ZoneOperationsClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.zone_operations.ZoneOperationsClient.common_location_path
google.cloud.compute_v1.services.zone_operations.ZoneOperationsClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.zone_operations.ZoneOperationsClient.common_organization_path
google.cloud.compute_v1.services.zone_operations.ZoneOperationsClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.zone_operations.ZoneOperationsClient.common_project_path
google.cloud.compute_v1.services.zone_operations.ZoneOperationsClient.delete
delete(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.DeleteZoneOperationRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.DeleteZoneOperationResponse
Deletes the specified zone-specific Operations resource.
See more: google.cloud.compute_v1.services.zone_operations.ZoneOperationsClient.delete
google.cloud.compute_v1.services.zone_operations.ZoneOperationsClient.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.zone_operations.ZoneOperationsClient.from_service_account_file
google.cloud.compute_v1.services.zone_operations.ZoneOperationsClient.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.zone_operations.ZoneOperationsClient.from_service_account_info
google.cloud.compute_v1.services.zone_operations.ZoneOperationsClient.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.zone_operations.ZoneOperationsClient.from_service_account_json
google.cloud.compute_v1.services.zone_operations.ZoneOperationsClient.get
get(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.GetZoneOperationRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Operation
Retrieves the specified zone-specific Operations resource.
See more: google.cloud.compute_v1.services.zone_operations.ZoneOperationsClient.get
google.cloud.compute_v1.services.zone_operations.ZoneOperationsClient.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.zone_operations.ZoneOperationsClient.list
list(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.ListZoneOperationsRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.zone_operations.pagers.ListPager
Retrieves a list of Operation resources contained within the specified zone.
See more: google.cloud.compute_v1.services.zone_operations.ZoneOperationsClient.list
google.cloud.compute_v1.services.zone_operations.ZoneOperationsClient.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.zone_operations.ZoneOperationsClient.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.zone_operations.ZoneOperationsClient.parse_common_folder_path
google.cloud.compute_v1.services.zone_operations.ZoneOperationsClient.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.zone_operations.ZoneOperationsClient.parse_common_location_path
google.cloud.compute_v1.services.zone_operations.ZoneOperationsClient.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.zone_operations.ZoneOperationsClient.parse_common_organization_path
google.cloud.compute_v1.services.zone_operations.ZoneOperationsClient.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.zone_operations.ZoneOperationsClient.parse_common_project_path
google.cloud.compute_v1.services.zone_operations.ZoneOperationsClient.wait
wait(
request: typing.Optional[
typing.Union[
google.cloud.compute_v1.types.compute.WaitZoneOperationRequest, dict
]
] = None,
*,
project: typing.Optional[str] = None,
zone: 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, str]] = ()
) -> 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.zone_operations.ZoneOperationsClient.wait
google.cloud.compute_v1.services.zone_operations.pagers.ListPager
ListPager(
method: typing.Callable[[...], google.cloud.compute_v1.types.compute.OperationList],
request: google.cloud.compute_v1.types.compute.ListZoneOperationsRequest,
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, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.zone_operations.pagers.ListPager
google.cloud.compute_v1.services.zones.ZonesClient
ZonesClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.compute_v1.services.zones.transports.base.ZonesTransport, typing.Callable[[...], google.cloud.compute_v1.services.zones.transports.base.ZonesTransport]]] = 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 zones client.
See more: google.cloud.compute_v1.services.zones.ZonesClient
google.cloud.compute_v1.services.zones.ZonesClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.compute_v1.services.zones.ZonesClient.exit
google.cloud.compute_v1.services.zones.ZonesClient.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.zones.ZonesClient.common_billing_account_path
google.cloud.compute_v1.services.zones.ZonesClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.compute_v1.services.zones.ZonesClient.common_folder_path
google.cloud.compute_v1.services.zones.ZonesClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.compute_v1.services.zones.ZonesClient.common_location_path
google.cloud.compute_v1.services.zones.ZonesClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.compute_v1.services.zones.ZonesClient.common_organization_path
google.cloud.compute_v1.services.zones.ZonesClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.compute_v1.services.zones.ZonesClient.common_project_path
google.cloud.compute_v1.services.zones.ZonesClient.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.zones.ZonesClient.from_service_account_file
google.cloud.compute_v1.services.zones.ZonesClient.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.zones.ZonesClient.from_service_account_info
google.cloud.compute_v1.services.zones.ZonesClient.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.zones.ZonesClient.from_service_account_json
google.cloud.compute_v1.services.zones.ZonesClient.get
get(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.GetZoneRequest, 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, str]] = ()
) -> google.cloud.compute_v1.types.compute.Zone
Returns the specified Zone resource.
See more: google.cloud.compute_v1.services.zones.ZonesClient.get
google.cloud.compute_v1.services.zones.ZonesClient.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.zones.ZonesClient.get_mtls_endpoint_and_cert_source
google.cloud.compute_v1.services.zones.ZonesClient.list
list(
request: typing.Optional[
typing.Union[google.cloud.compute_v1.types.compute.ListZonesRequest, 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, str]] = ()
) -> google.cloud.compute_v1.services.zones.pagers.ListPager
Retrieves the list of Zone resources available to the specified project.
See more: google.cloud.compute_v1.services.zones.ZonesClient.list
google.cloud.compute_v1.services.zones.ZonesClient.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.zones.ZonesClient.parse_common_billing_account_path
google.cloud.compute_v1.services.zones.ZonesClient.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.zones.ZonesClient.parse_common_folder_path
google.cloud.compute_v1.services.zones.ZonesClient.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.zones.ZonesClient.parse_common_location_path
google.cloud.compute_v1.services.zones.ZonesClient.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.zones.ZonesClient.parse_common_organization_path
google.cloud.compute_v1.services.zones.ZonesClient.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.zones.ZonesClient.parse_common_project_path
google.cloud.compute_v1.services.zones.pagers.ListPager
ListPager(
method: typing.Callable[[...], google.cloud.compute_v1.types.compute.ZoneList],
request: google.cloud.compute_v1.types.compute.ListZonesRequest,
response: google.cloud.compute_v1.types.compute.ZoneList,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.compute_v1.services.zones.pagers.ListPager