ProjectMethods

Struct ProjectMethods 

Source
pub struct ProjectMethods<'a, C>
where C: 'a,
{ /* private fields */ }
Expand description

A builder providing access to all methods supported on project resources. It is not used directly, but through the ArtifactRegistry hub.

§Example

Instantiate a resource builder

extern crate hyper;
extern crate hyper_rustls;
extern crate google_artifactregistry1 as artifactregistry1;

use artifactregistry1::{ArtifactRegistry, FieldMask, hyper_rustls, hyper_util, yup_oauth2};

let secret: yup_oauth2::ApplicationSecret = Default::default();
let connector = hyper_rustls::HttpsConnectorBuilder::new()
    .with_native_roots()
    .unwrap()
    .https_only()
    .enable_http2()
    .build();

let executor = hyper_util::rt::TokioExecutor::new();
let auth = yup_oauth2::InstalledFlowAuthenticator::with_client(
    secret,
    yup_oauth2::InstalledFlowReturnMethod::HTTPRedirect,
    yup_oauth2::client::CustomHyperClientBuilder::from(
        hyper_util::client::legacy::Client::builder(executor).build(connector),
    ),
).build().await.unwrap();

let client = hyper_util::client::legacy::Client::builder(
    hyper_util::rt::TokioExecutor::new()
)
.build(
    hyper_rustls::HttpsConnectorBuilder::new()
        .with_native_roots()
        .unwrap()
        .https_or_http()
        .enable_http2()
        .build()
);
let mut hub = ArtifactRegistry::new(client, auth);
// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
// like `get_project_settings(...)`, `locations_get(...)`, `locations_get_vpcsc_config(...)`, `locations_list(...)`, `locations_operations_get(...)`, `locations_repositories_apt_artifacts_import(...)`, `locations_repositories_apt_artifacts_upload(...)`, `locations_repositories_attachments_create(...)`, `locations_repositories_attachments_delete(...)`, `locations_repositories_attachments_get(...)`, `locations_repositories_attachments_list(...)`, `locations_repositories_create(...)`, `locations_repositories_delete(...)`, `locations_repositories_docker_images_get(...)`, `locations_repositories_docker_images_list(...)`, `locations_repositories_export_artifact(...)`, `locations_repositories_files_delete(...)`, `locations_repositories_files_download(...)`, `locations_repositories_files_get(...)`, `locations_repositories_files_list(...)`, `locations_repositories_files_patch(...)`, `locations_repositories_files_upload(...)`, `locations_repositories_generic_artifacts_upload(...)`, `locations_repositories_get(...)`, `locations_repositories_get_iam_policy(...)`, `locations_repositories_go_modules_upload(...)`, `locations_repositories_googet_artifacts_import(...)`, `locations_repositories_googet_artifacts_upload(...)`, `locations_repositories_kfp_artifacts_upload(...)`, `locations_repositories_list(...)`, `locations_repositories_maven_artifacts_get(...)`, `locations_repositories_maven_artifacts_list(...)`, `locations_repositories_npm_packages_get(...)`, `locations_repositories_npm_packages_list(...)`, `locations_repositories_packages_delete(...)`, `locations_repositories_packages_get(...)`, `locations_repositories_packages_list(...)`, `locations_repositories_packages_patch(...)`, `locations_repositories_packages_tags_create(...)`, `locations_repositories_packages_tags_delete(...)`, `locations_repositories_packages_tags_get(...)`, `locations_repositories_packages_tags_list(...)`, `locations_repositories_packages_tags_patch(...)`, `locations_repositories_packages_versions_batch_delete(...)`, `locations_repositories_packages_versions_delete(...)`, `locations_repositories_packages_versions_get(...)`, `locations_repositories_packages_versions_list(...)`, `locations_repositories_packages_versions_patch(...)`, `locations_repositories_patch(...)`, `locations_repositories_python_packages_get(...)`, `locations_repositories_python_packages_list(...)`, `locations_repositories_rules_create(...)`, `locations_repositories_rules_delete(...)`, `locations_repositories_rules_get(...)`, `locations_repositories_rules_list(...)`, `locations_repositories_rules_patch(...)`, `locations_repositories_set_iam_policy(...)`, `locations_repositories_test_iam_permissions(...)`, `locations_repositories_yum_artifacts_import(...)`, `locations_repositories_yum_artifacts_upload(...)`, `locations_update_vpcsc_config(...)` and `update_project_settings(...)`
// to build up your call.
let rb = hub.projects();

Implementations§

Source§

impl<'a, C> ProjectMethods<'a, C>

Source

pub fn locations_operations_get( &self, name: &str, ) -> ProjectLocationOperationGetCall<'a, C>

Create a builder to help you perform the following task:

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

§Arguments
  • name - The name of the operation resource.
Source

pub fn locations_repositories_apt_artifacts_import( &self, request: ImportAptArtifactsRequest, parent: &str, ) -> ProjectLocationRepositoryAptArtifactImportCall<'a, C>

Create a builder to help you perform the following task:

Imports Apt artifacts. The returned Operation will complete once the resources are imported. Package, Version, and File resources are created based on the imported artifacts. Imported artifacts that conflict with existing resources are ignored.

§Arguments
  • request - No description provided.
  • parent - The name of the parent resource where the artifacts will be imported.
Source

pub fn locations_repositories_apt_artifacts_upload( &self, request: UploadAptArtifactRequest, parent: &str, ) -> ProjectLocationRepositoryAptArtifactUploadCall<'a, C>

Create a builder to help you perform the following task:

Directly uploads an Apt artifact. The returned Operation will complete once the resources are uploaded. Package, Version, and File resources are created based on the imported artifact. Imported artifacts that conflict with existing resources are ignored.

§Arguments
  • request - No description provided.
  • parent - The name of the parent resource where the artifacts will be uploaded.
Source

pub fn locations_repositories_attachments_create( &self, request: Attachment, parent: &str, ) -> ProjectLocationRepositoryAttachmentCreateCall<'a, C>

Create a builder to help you perform the following task:

Creates an attachment. The returned Operation will finish once the attachment has been created. Its response will be the created attachment.

§Arguments
  • request - No description provided.
  • parent - Required. The name of the parent resource where the attachment will be created.
Source

pub fn locations_repositories_attachments_delete( &self, name: &str, ) -> ProjectLocationRepositoryAttachmentDeleteCall<'a, C>

Create a builder to help you perform the following task:

Deletes an attachment. The returned Operation will finish once the attachments has been deleted. It will not have any Operation metadata and will return a google.protobuf.Empty response.

§Arguments
  • name - Required. The name of the attachment to delete.
Source

pub fn locations_repositories_attachments_get( &self, name: &str, ) -> ProjectLocationRepositoryAttachmentGetCall<'a, C>

Create a builder to help you perform the following task:

Gets an attachment.

§Arguments
  • name - Required. The name of the attachment to retrieve.
Source

pub fn locations_repositories_attachments_list( &self, parent: &str, ) -> ProjectLocationRepositoryAttachmentListCall<'a, C>

Create a builder to help you perform the following task:

Lists attachments.

§Arguments
  • parent - Required. The name of the parent resource whose attachments will be listed.
Source

pub fn locations_repositories_docker_images_get( &self, name: &str, ) -> ProjectLocationRepositoryDockerImageGetCall<'a, C>

Create a builder to help you perform the following task:

Gets a docker image.

§Arguments
  • name - Required. The name of the docker images.
Source

pub fn locations_repositories_docker_images_list( &self, parent: &str, ) -> ProjectLocationRepositoryDockerImageListCall<'a, C>

Create a builder to help you perform the following task:

Lists docker images.

§Arguments
  • parent - Required. The name of the parent resource whose docker images will be listed.
Source

pub fn locations_repositories_files_delete( &self, name: &str, ) -> ProjectLocationRepositoryFileDeleteCall<'a, C>

Create a builder to help you perform the following task:

Deletes a file and all of its content. It is only allowed on generic repositories. The returned operation will complete once the file has been deleted.

§Arguments
  • name - Required. The name of the file to delete.
Source

pub fn locations_repositories_files_download( &self, name: &str, ) -> ProjectLocationRepositoryFileDownloadCall<'a, C>

Create a builder to help you perform the following task:

Download a file.

§Arguments
  • name - Required. The name of the file to download.
Source

pub fn locations_repositories_files_get( &self, name: &str, ) -> ProjectLocationRepositoryFileGetCall<'a, C>

Create a builder to help you perform the following task:

Gets a file.

§Arguments
  • name - Required. The name of the file to retrieve.
Source

pub fn locations_repositories_files_list( &self, parent: &str, ) -> ProjectLocationRepositoryFileListCall<'a, C>

Create a builder to help you perform the following task:

Lists files.

§Arguments
  • parent - Required. The name of the repository whose files will be listed. For example: “projects/p1/locations/us-central1/repositories/repo1
Source

pub fn locations_repositories_files_patch( &self, request: GoogleDevtoolsArtifactregistryV1File, name: &str, ) -> ProjectLocationRepositoryFilePatchCall<'a, C>

Create a builder to help you perform the following task:

Updates a file.

§Arguments
  • request - No description provided.
  • name - The name of the file, for example: projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt. If the file ID part contains slashes, they are escaped.
Source

pub fn locations_repositories_files_upload( &self, request: UploadFileRequest, parent: &str, ) -> ProjectLocationRepositoryFileUploadCall<'a, C>

Create a builder to help you perform the following task:

Directly uploads a file to a repository. The returned Operation will complete once the resources are uploaded.

§Arguments
  • request - No description provided.
  • parent - Required. The resource name of the repository where the file will be uploaded.
Source

pub fn locations_repositories_generic_artifacts_upload( &self, request: UploadGenericArtifactRequest, parent: &str, ) -> ProjectLocationRepositoryGenericArtifactUploadCall<'a, C>

Create a builder to help you perform the following task:

Directly uploads a Generic artifact. The returned operation will complete once the resources are uploaded. Package, version, and file resources are created based on the uploaded artifact. Uploaded artifacts that conflict with existing resources will raise an ALREADY_EXISTS error.

§Arguments
  • request - No description provided.
  • parent - The resource name of the repository where the generic artifact will be uploaded.
Source

pub fn locations_repositories_go_modules_upload( &self, request: UploadGoModuleRequest, parent: &str, ) -> ProjectLocationRepositoryGoModuleUploadCall<'a, C>

Create a builder to help you perform the following task:

Directly uploads a Go module. The returned Operation will complete once the Go module is uploaded. Package, Version, and File resources are created based on the uploaded Go module.

§Arguments
  • request - No description provided.
  • parent - The resource name of the repository where the Go module will be uploaded.
Source

pub fn locations_repositories_googet_artifacts_import( &self, request: ImportGoogetArtifactsRequest, parent: &str, ) -> ProjectLocationRepositoryGoogetArtifactImportCall<'a, C>

Create a builder to help you perform the following task:

Imports GooGet artifacts. The returned Operation will complete once the resources are imported. Package, Version, and File resources are created based on the imported artifacts. Imported artifacts that conflict with existing resources are ignored.

§Arguments
  • request - No description provided.
  • parent - The name of the parent resource where the artifacts will be imported.
Source

pub fn locations_repositories_googet_artifacts_upload( &self, request: UploadGoogetArtifactRequest, parent: &str, ) -> ProjectLocationRepositoryGoogetArtifactUploadCall<'a, C>

Create a builder to help you perform the following task:

Directly uploads a GooGet artifact. The returned Operation will complete once the resources are uploaded. Package, Version, and File resources are created based on the imported artifact. Imported artifacts that conflict with existing resources are ignored.

§Arguments
  • request - No description provided.
  • parent - The name of the parent resource where the artifacts will be uploaded.
Source

pub fn locations_repositories_kfp_artifacts_upload( &self, request: UploadKfpArtifactRequest, parent: &str, ) -> ProjectLocationRepositoryKfpArtifactUploadCall<'a, C>

Create a builder to help you perform the following task:

Directly uploads a KFP artifact. The returned Operation will complete once the resource is uploaded. Package, Version, and File resources will be created based on the uploaded artifact. Uploaded artifacts that conflict with existing resources will be overwritten.

§Arguments
  • request - No description provided.
  • parent - The resource name of the repository where the KFP artifact will be uploaded.
Source

pub fn locations_repositories_maven_artifacts_get( &self, name: &str, ) -> ProjectLocationRepositoryMavenArtifactGetCall<'a, C>

Create a builder to help you perform the following task:

Gets a maven artifact.

§Arguments
  • name - Required. The name of the maven artifact.
Source

pub fn locations_repositories_maven_artifacts_list( &self, parent: &str, ) -> ProjectLocationRepositoryMavenArtifactListCall<'a, C>

Create a builder to help you perform the following task:

Lists maven artifacts.

§Arguments
  • parent - Required. The name of the parent resource whose maven artifacts will be listed.
Source

pub fn locations_repositories_npm_packages_get( &self, name: &str, ) -> ProjectLocationRepositoryNpmPackageGetCall<'a, C>

Create a builder to help you perform the following task:

Gets a npm package.

§Arguments
  • name - Required. The name of the npm package.
Source

pub fn locations_repositories_npm_packages_list( &self, parent: &str, ) -> ProjectLocationRepositoryNpmPackageListCall<'a, C>

Create a builder to help you perform the following task:

Lists npm packages.

§Arguments
  • parent - Required. The name of the parent resource whose npm packages will be listed.
Source

pub fn locations_repositories_packages_tags_create( &self, request: Tag, parent: &str, ) -> ProjectLocationRepositoryPackageTagCreateCall<'a, C>

Create a builder to help you perform the following task:

Creates a tag.

§Arguments
  • request - No description provided.
  • parent - The name of the parent resource where the tag will be created.
Source

pub fn locations_repositories_packages_tags_delete( &self, name: &str, ) -> ProjectLocationRepositoryPackageTagDeleteCall<'a, C>

Create a builder to help you perform the following task:

Deletes a tag.

§Arguments
  • name - The name of the tag to delete.
Source

pub fn locations_repositories_packages_tags_get( &self, name: &str, ) -> ProjectLocationRepositoryPackageTagGetCall<'a, C>

Create a builder to help you perform the following task:

Gets a tag.

§Arguments
  • name - The name of the tag to retrieve.
Source

pub fn locations_repositories_packages_tags_list( &self, parent: &str, ) -> ProjectLocationRepositoryPackageTagListCall<'a, C>

Create a builder to help you perform the following task:

Lists tags.

§Arguments
  • parent - The name of the parent package whose tags will be listed. For example: projects/p1/locations/us-central1/repositories/repo1/packages/pkg1.
Source

pub fn locations_repositories_packages_tags_patch( &self, request: Tag, name: &str, ) -> ProjectLocationRepositoryPackageTagPatchCall<'a, C>

Create a builder to help you perform the following task:

Updates a tag.

§Arguments
  • request - No description provided.
  • name - The name of the tag, for example: “projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1”. If the package part contains slashes, the slashes are escaped. The tag part can only have characters in [a-zA-Z0-9-._~:@], anything else must be URL encoded.
Source

pub fn locations_repositories_packages_versions_batch_delete( &self, request: BatchDeleteVersionsRequest, parent: &str, ) -> ProjectLocationRepositoryPackageVersionBatchDeleteCall<'a, C>

Create a builder to help you perform the following task:

Deletes multiple versions across a repository. The returned operation will complete once the versions have been deleted.

§Arguments
  • request - No description provided.
  • parent - The name of the repository holding all requested versions.
Source

pub fn locations_repositories_packages_versions_delete( &self, name: &str, ) -> ProjectLocationRepositoryPackageVersionDeleteCall<'a, C>

Create a builder to help you perform the following task:

Deletes a version and all of its content. The returned operation will complete once the version has been deleted.

§Arguments
  • name - The name of the version to delete.
Source

pub fn locations_repositories_packages_versions_get( &self, name: &str, ) -> ProjectLocationRepositoryPackageVersionGetCall<'a, C>

Create a builder to help you perform the following task:

Gets a version

§Arguments
  • name - The name of the version to retrieve.
Source

pub fn locations_repositories_packages_versions_list( &self, parent: &str, ) -> ProjectLocationRepositoryPackageVersionListCall<'a, C>

Create a builder to help you perform the following task:

Lists versions.

§Arguments
  • parent - The name of the parent resource whose versions will be listed.
Source

pub fn locations_repositories_packages_versions_patch( &self, request: Version, name: &str, ) -> ProjectLocationRepositoryPackageVersionPatchCall<'a, C>

Create a builder to help you perform the following task:

Updates a version.

§Arguments
  • request - No description provided.
  • name - The name of the version, for example: projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1. If the package or version ID parts contain slashes, the slashes are escaped.
Source

pub fn locations_repositories_packages_delete( &self, name: &str, ) -> ProjectLocationRepositoryPackageDeleteCall<'a, C>

Create a builder to help you perform the following task:

Deletes a package and all of its versions and tags. The returned operation will complete once the package has been deleted.

§Arguments
  • name - Required. The name of the package to delete.
Source

pub fn locations_repositories_packages_get( &self, name: &str, ) -> ProjectLocationRepositoryPackageGetCall<'a, C>

Create a builder to help you perform the following task:

Gets a package.

§Arguments
  • name - Required. The name of the package to retrieve.
Source

pub fn locations_repositories_packages_list( &self, parent: &str, ) -> ProjectLocationRepositoryPackageListCall<'a, C>

Create a builder to help you perform the following task:

Lists packages.

§Arguments
  • parent - Required. The name of the parent resource whose packages will be listed.
Source

pub fn locations_repositories_packages_patch( &self, request: Package, name: &str, ) -> ProjectLocationRepositoryPackagePatchCall<'a, C>

Create a builder to help you perform the following task:

Updates a package.

§Arguments
  • request - No description provided.
  • name - The name of the package, for example: projects/p1/locations/us-central1/repositories/repo1/packages/pkg1. If the package ID part contains slashes, the slashes are escaped.
Source

pub fn locations_repositories_python_packages_get( &self, name: &str, ) -> ProjectLocationRepositoryPythonPackageGetCall<'a, C>

Create a builder to help you perform the following task:

Gets a python package.

§Arguments
  • name - Required. The name of the python package.
Source

pub fn locations_repositories_python_packages_list( &self, parent: &str, ) -> ProjectLocationRepositoryPythonPackageListCall<'a, C>

Create a builder to help you perform the following task:

Lists python packages.

§Arguments
  • parent - Required. The name of the parent resource whose python packages will be listed.
Source

pub fn locations_repositories_rules_create( &self, request: GoogleDevtoolsArtifactregistryV1Rule, parent: &str, ) -> ProjectLocationRepositoryRuleCreateCall<'a, C>

Create a builder to help you perform the following task:

Creates a rule.

§Arguments
  • request - No description provided.
  • parent - Required. The name of the parent resource where the rule will be created.
Source

pub fn locations_repositories_rules_delete( &self, name: &str, ) -> ProjectLocationRepositoryRuleDeleteCall<'a, C>

Create a builder to help you perform the following task:

Deletes a rule.

§Arguments
  • name - Required. The name of the rule to delete.
Source

pub fn locations_repositories_rules_get( &self, name: &str, ) -> ProjectLocationRepositoryRuleGetCall<'a, C>

Create a builder to help you perform the following task:

Gets a rule.

§Arguments
  • name - Required. The name of the rule to retrieve.
Source

pub fn locations_repositories_rules_list( &self, parent: &str, ) -> ProjectLocationRepositoryRuleListCall<'a, C>

Create a builder to help you perform the following task:

Lists rules.

§Arguments
  • parent - Required. The name of the parent repository whose rules will be listed. For example: projects/p1/locations/us-central1/repositories/repo1.
Source

pub fn locations_repositories_rules_patch( &self, request: GoogleDevtoolsArtifactregistryV1Rule, name: &str, ) -> ProjectLocationRepositoryRulePatchCall<'a, C>

Create a builder to help you perform the following task:

Updates a rule.

§Arguments
  • request - No description provided.
  • name - The name of the rule, for example: projects/p1/locations/us-central1/repositories/repo1/rules/rule1.
Source

pub fn locations_repositories_yum_artifacts_import( &self, request: ImportYumArtifactsRequest, parent: &str, ) -> ProjectLocationRepositoryYumArtifactImportCall<'a, C>

Create a builder to help you perform the following task:

Imports Yum (RPM) artifacts. The returned Operation will complete once the resources are imported. Package, Version, and File resources are created based on the imported artifacts. Imported artifacts that conflict with existing resources are ignored.

§Arguments
  • request - No description provided.
  • parent - The name of the parent resource where the artifacts will be imported.
Source

pub fn locations_repositories_yum_artifacts_upload( &self, request: UploadYumArtifactRequest, parent: &str, ) -> ProjectLocationRepositoryYumArtifactUploadCall<'a, C>

Create a builder to help you perform the following task:

Directly uploads a Yum artifact. The returned Operation will complete once the resources are uploaded. Package, Version, and File resources are created based on the imported artifact. Imported artifacts that conflict with existing resources are ignored.

§Arguments
  • request - No description provided.
  • parent - The name of the parent resource where the artifacts will be uploaded.
Source

pub fn locations_repositories_create( &self, request: Repository, parent: &str, ) -> ProjectLocationRepositoryCreateCall<'a, C>

Create a builder to help you perform the following task:

Creates a repository. The returned Operation will finish once the repository has been created. Its response will be the created Repository.

§Arguments
  • request - No description provided.
  • parent - Required. The name of the parent resource where the repository will be created.
Source

pub fn locations_repositories_delete( &self, name: &str, ) -> ProjectLocationRepositoryDeleteCall<'a, C>

Create a builder to help you perform the following task:

Deletes a repository and all of its contents. The returned Operation will finish once the repository has been deleted. It will not have any Operation metadata and will return a google.protobuf.Empty response.

§Arguments
  • name - Required. The name of the repository to delete.
Source

pub fn locations_repositories_export_artifact( &self, request: ExportArtifactRequest, repository: &str, ) -> ProjectLocationRepositoryExportArtifactCall<'a, C>

Create a builder to help you perform the following task:

Exports an artifact to a Cloud Storage bucket.

§Arguments
  • request - No description provided.
  • repository - Required. The repository of the artifact to export. Format: projects/{project}/locations/{location}/repositories/{repository}
Source

pub fn locations_repositories_get( &self, name: &str, ) -> ProjectLocationRepositoryGetCall<'a, C>

Create a builder to help you perform the following task:

Gets a repository.

§Arguments
  • name - Required. The name of the repository to retrieve.
Source

pub fn locations_repositories_get_iam_policy( &self, resource: &str, ) -> ProjectLocationRepositoryGetIamPolicyCall<'a, C>

Create a builder to help you perform the following task:

Gets the IAM policy for a given resource.

§Arguments
  • resource - REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.
Source

pub fn locations_repositories_list( &self, parent: &str, ) -> ProjectLocationRepositoryListCall<'a, C>

Create a builder to help you perform the following task:

Lists repositories.

§Arguments
  • parent - Required. The name of the parent resource whose repositories will be listed.
Source

pub fn locations_repositories_patch( &self, request: Repository, name: &str, ) -> ProjectLocationRepositoryPatchCall<'a, C>

Create a builder to help you perform the following task:

Updates a repository.

§Arguments
  • request - No description provided.
  • name - The name of the repository, for example: projects/p1/locations/us-central1/repositories/repo1. For each location in a project, repository names must be unique.
Source

pub fn locations_repositories_set_iam_policy( &self, request: SetIamPolicyRequest, resource: &str, ) -> ProjectLocationRepositorySetIamPolicyCall<'a, C>

Create a builder to help you perform the following task:

Updates the IAM policy for a given resource.

§Arguments
  • request - No description provided.
  • resource - REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.
Source

pub fn locations_repositories_test_iam_permissions( &self, request: TestIamPermissionsRequest, resource: &str, ) -> ProjectLocationRepositoryTestIamPermissionCall<'a, C>

Create a builder to help you perform the following task:

Tests if the caller has a list of permissions on a resource.

§Arguments
  • request - No description provided.
  • resource - REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.
Source

pub fn locations_get(&self, name: &str) -> ProjectLocationGetCall<'a, C>

Create a builder to help you perform the following task:

Gets information about a location.

§Arguments
  • name - Resource name for the location.
Source

pub fn locations_get_vpcsc_config( &self, name: &str, ) -> ProjectLocationGetVpcscConfigCall<'a, C>

Create a builder to help you perform the following task:

Retrieves the VPCSC Config for the Project.

§Arguments
  • name - Required. The name of the VPCSCConfig resource.
Source

pub fn locations_list(&self, name: &str) -> ProjectLocationListCall<'a, C>

Create a builder to help you perform the following task:

Lists information about the supported locations for this service.

§Arguments
  • name - The resource that owns the locations collection, if applicable.
Source

pub fn locations_update_vpcsc_config( &self, request: VPCSCConfig, name: &str, ) -> ProjectLocationUpdateVpcscConfigCall<'a, C>

Create a builder to help you perform the following task:

Updates the VPCSC Config for the Project.

§Arguments
  • request - No description provided.
  • name - The name of the project’s VPC SC Config. Always of the form: projects/{projectID}/locations/{location}/vpcscConfig In update request: never set In response: always set
Source

pub fn get_project_settings( &self, name: &str, ) -> ProjectGetProjectSettingCall<'a, C>

Create a builder to help you perform the following task:

Retrieves the Settings for the Project.

§Arguments
  • name - Required. The name of the projectSettings resource.
Source

pub fn update_project_settings( &self, request: ProjectSettings, name: &str, ) -> ProjectUpdateProjectSettingCall<'a, C>

Create a builder to help you perform the following task:

Updates the Settings for the Project.

§Arguments
  • request - No description provided.
  • name - The name of the project’s settings. Always of the form: projects/{project-id}/projectSettings In update request: never set In response: always set

Trait Implementations§

Source§

impl<'a, C> MethodsBuilder for ProjectMethods<'a, C>

Auto Trait Implementations§

§

impl<'a, C> Freeze for ProjectMethods<'a, C>

§

impl<'a, C> !RefUnwindSafe for ProjectMethods<'a, C>

§

impl<'a, C> Send for ProjectMethods<'a, C>
where C: Sync,

§

impl<'a, C> Sync for ProjectMethods<'a, C>
where C: Sync,

§

impl<'a, C> Unpin for ProjectMethods<'a, C>

§

impl<'a, C> !UnwindSafe for ProjectMethods<'a, C>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more