public sealed class CreateServiceRequest : IMessage<CreateServiceRequest>, IEquatable<CreateServiceRequest>, IDeepCloneable<CreateServiceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Monitoring v3 API class CreateServiceRequest.
The CreateService
request.
Implements
IMessageCreateServiceRequest, IEquatableCreateServiceRequest, IDeepCloneableCreateServiceRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Monitoring.V3Assembly
Google.Cloud.Monitoring.V3.dll
Constructors
CreateServiceRequest()
public CreateServiceRequest()
CreateServiceRequest(CreateServiceRequest)
public CreateServiceRequest(CreateServiceRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateServiceRequest |
Properties
Parent
public string Parent { get; set; }
Required. Resource name of the parent Metrics Scope. The format is:
projects/[PROJECT_ID_OR_NUMBER]
Property Value | |
---|---|
Type | Description |
string |
ParentAsFolderName
public FolderName ParentAsFolderName { get; set; }
FolderName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
FolderName |
ParentAsOrganizationName
public OrganizationName ParentAsOrganizationName { get; set; }
OrganizationName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
OrganizationName |
ParentAsProjectName
public ProjectName ParentAsProjectName { get; set; }
ProjectName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
ProjectName |
ParentAsResourceName
public IResourceName ParentAsResourceName { get; set; }
IResourceName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
IResourceName |
Service
public Service Service { get; set; }
Required. The Service
to create.
Property Value | |
---|---|
Type | Description |
Service |
ServiceId
public string ServiceId { get; set; }
Optional. The Service id to use for this Service. If omitted, an id will be
generated instead. Must match the pattern [a-z0-9\-]+
Property Value | |
---|---|
Type | Description |
string |