App Hub v1 API - Class ServiceProjectAttachment (1.0.0)

public sealed class ServiceProjectAttachment : IMessage<ServiceProjectAttachment>, IEquatable<ServiceProjectAttachment>, IDeepCloneable<ServiceProjectAttachment>, IBufferMessage, IMessage

Reference documentation and code samples for the App Hub v1 API class ServiceProjectAttachment.

ServiceProjectAttachment represents an attachment from a service project to a host project. Service projects contain the underlying cloud infrastructure resources, and expose these resources to the host project through a ServiceProjectAttachment. With the attachments, the host project can provide an aggregated view of resources across all service projects.

Inheritance

object > ServiceProjectAttachment

Namespace

Google.Cloud.AppHub.V1

Assembly

Google.Cloud.AppHub.V1.dll

Constructors

ServiceProjectAttachment()

public ServiceProjectAttachment()

ServiceProjectAttachment(ServiceProjectAttachment)

public ServiceProjectAttachment(ServiceProjectAttachment other)
Parameter
Name Description
other ServiceProjectAttachment

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Create time.

Property Value
Type Description
Timestamp

Name

public string Name { get; set; }

Identifier. The resource name of a ServiceProjectAttachment. Format: "projects/{host-project-id}/locations/global/serviceProjectAttachments/{service-project-id}."

Property Value
Type Description
string

ServiceProject

public string ServiceProject { get; set; }

Required. Immutable. Service project name in the format: "projects/abc" or "projects/123". As input, project name with either project id or number are accepted. As output, this field will contain project number.

Property Value
Type Description
string

ServiceProjectAsProjectName

public ProjectName ServiceProjectAsProjectName { get; set; }

ProjectName-typed view over the ServiceProject resource name property.

Property Value
Type Description
ProjectName

ServiceProjectAttachmentName

public ServiceProjectAttachmentName ServiceProjectAttachmentName { get; set; }

ServiceProjectAttachmentName-typed view over the Name resource name property.

Property Value
Type Description
ServiceProjectAttachmentName

State

public ServiceProjectAttachment.Types.State State { get; set; }

Output only. ServiceProjectAttachment state.

Property Value
Type Description
ServiceProjectAttachmentTypesState

Uid

public string Uid { get; set; }

Output only. A globally unique identifier (in UUID4 format) for the ServiceProjectAttachment.

Property Value
Type Description
string