Show / Hide Table of Contents

Class ProjectsResource.LocationsResource

The "locations" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ArtifactRegistry.v1
Assembly: Google.Apis.ArtifactRegistry.v1.dll
Syntax
public class ProjectsResource.LocationsResource

Constructors

LocationsResource(IClientService)

Constructs a new resource.

Declaration
public LocationsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Operations

Gets the Operations resource.

Declaration
public virtual ProjectsResource.LocationsResource.OperationsResource Operations { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.OperationsResource

Repositories

Gets the Repositories resource.

Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource Repositories { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.RepositoriesResource

Methods

Get(string)

Gets information about a location.

Declaration
public virtual ProjectsResource.LocationsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Resource name for the location.

Returns
Type Description
ProjectsResource.LocationsResource.GetRequest

GetProjectConfig(string)

Retrieves the project configuration.

Declaration
public virtual ProjectsResource.LocationsResource.GetProjectConfigRequest GetProjectConfig(string name)
Parameters
Type Name Description
string name

Required. The name of the project's logging configuration: projects/{project}/locations/{location}/projectConfig

Returns
Type Description
ProjectsResource.LocationsResource.GetProjectConfigRequest

GetVpcscConfig(string)

Retrieves the VPCSC Config for the Project.

Declaration
public virtual ProjectsResource.LocationsResource.GetVpcscConfigRequest GetVpcscConfig(string name)
Parameters
Type Name Description
string name

Required. The name of the VPCSCConfig resource.

Returns
Type Description
ProjectsResource.LocationsResource.GetVpcscConfigRequest

List(string)

Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the [ListLocationsRequest.name] field: * Global locations: If name is empty, the method lists the public locations available to all projects. * Project-specific locations: If name follows the format projects/{project}, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the name field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.

Declaration
public virtual ProjectsResource.LocationsResource.ListRequest List(string name)
Parameters
Type Name Description
string name

The resource that owns the locations collection, if applicable.

Returns
Type Description
ProjectsResource.LocationsResource.ListRequest

UpdateProjectConfig(ProjectConfig, string)

Updates the project configuration.

Declaration
public virtual ProjectsResource.LocationsResource.UpdateProjectConfigRequest UpdateProjectConfig(ProjectConfig body, string name)
Parameters
Type Name Description
ProjectConfig body

The body of the request.

string name

Identifier. The name of the project's configuration. Always of the form: projects/{project}/locations/{location}/projectConfig

Returns
Type Description
ProjectsResource.LocationsResource.UpdateProjectConfigRequest

UpdateVpcscConfig(VPCSCConfig, string)

Updates the VPCSC Config for the Project.

Declaration
public virtual ProjectsResource.LocationsResource.UpdateVpcscConfigRequest UpdateVpcscConfig(VPCSCConfig body, string name)
Parameters
Type Name Description
VPCSCConfig body

The body of the request.

string 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

Returns
Type Description
ProjectsResource.LocationsResource.UpdateVpcscConfigRequest
In this article
Back to top Generated by DocFX