Show / Hide Table of Contents

Class ServiceAttachmentsResource

The "serviceAttachments" collection of methods.

Inheritance
object
ServiceAttachmentsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Compute.beta
Assembly: Google.Apis.Compute.beta.dll
Syntax
public class ServiceAttachmentsResource

Constructors

ServiceAttachmentsResource(IClientService)

Constructs a new resource.

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

Methods

AggregatedList(string)

Retrieves the list of all ServiceAttachment resources, regional and global, available to the specified project.

Declaration
public virtual ServiceAttachmentsResource.AggregatedListRequest AggregatedList(string project)
Parameters
Type Name Description
string project

Name of the project scoping this request.

Returns
Type Description
ServiceAttachmentsResource.AggregatedListRequest

Delete(string, string, string)

Deletes the specified ServiceAttachment in the given scope

Declaration
public virtual ServiceAttachmentsResource.DeleteRequest Delete(string project, string region, string serviceAttachment)
Parameters
Type Name Description
string project

Project ID for this request.

string region

Name of the region of this request.

string serviceAttachment

Name of the ServiceAttachment resource to delete.

Returns
Type Description
ServiceAttachmentsResource.DeleteRequest

Get(string, string, string)

Returns the specified ServiceAttachment resource in the given scope.

Declaration
public virtual ServiceAttachmentsResource.GetRequest Get(string project, string region, string serviceAttachment)
Parameters
Type Name Description
string project

Project ID for this request.

string region

Name of the region of this request.

string serviceAttachment

Name of the ServiceAttachment resource to return.

Returns
Type Description
ServiceAttachmentsResource.GetRequest

GetIamPolicy(string, string, string)

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

Declaration
public virtual ServiceAttachmentsResource.GetIamPolicyRequest GetIamPolicy(string project, string region, string resource)
Parameters
Type Name Description
string project

Project ID for this request.

string region

The name of the region for this request.

string resource

Name or id of the resource for this request.

Returns
Type Description
ServiceAttachmentsResource.GetIamPolicyRequest

Insert(ServiceAttachment, string, string)

Creates a ServiceAttachment in the specified project in the given scope using the parameters that are included in the request.

Declaration
public virtual ServiceAttachmentsResource.InsertRequest Insert(ServiceAttachment body, string project, string region)
Parameters
Type Name Description
ServiceAttachment body

The body of the request.

string project

Project ID for this request.

string region

Name of the region of this request.

Returns
Type Description
ServiceAttachmentsResource.InsertRequest

List(string, string)

Lists the ServiceAttachments for a project in the given scope.

Declaration
public virtual ServiceAttachmentsResource.ListRequest List(string project, string region)
Parameters
Type Name Description
string project

Project ID for this request.

string region

Name of the region of this request.

Returns
Type Description
ServiceAttachmentsResource.ListRequest

Patch(ServiceAttachment, string, string, string)

Patches the specified ServiceAttachment resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.

Declaration
public virtual ServiceAttachmentsResource.PatchRequest Patch(ServiceAttachment body, string project, string region, string serviceAttachment)
Parameters
Type Name Description
ServiceAttachment body

The body of the request.

string project

Project ID for this request.

string region

The region scoping this request and should conform to RFC1035.

string serviceAttachment

The resource id of the ServiceAttachment to patch. It should conform to RFC1035 resource name or be a string form on an unsigned long number.

Returns
Type Description
ServiceAttachmentsResource.PatchRequest

SetIamPolicy(RegionSetPolicyRequest, string, string, string)

Sets the access control policy on the specified resource. Replaces any existing policy.

Declaration
public virtual ServiceAttachmentsResource.SetIamPolicyRequest SetIamPolicy(RegionSetPolicyRequest body, string project, string region, string resource)
Parameters
Type Name Description
RegionSetPolicyRequest body

The body of the request.

string project

Project ID for this request.

string region

The name of the region for this request.

string resource

Name or id of the resource for this request.

Returns
Type Description
ServiceAttachmentsResource.SetIamPolicyRequest

TestIamPermissions(TestPermissionsRequest, string, string, string)

Returns permissions that a caller has on the specified resource.

Declaration
public virtual ServiceAttachmentsResource.TestIamPermissionsRequest TestIamPermissions(TestPermissionsRequest body, string project, string region, string resource)
Parameters
Type Name Description
TestPermissionsRequest body

The body of the request.

string project

Project ID for this request.

string region

The name of the region for this request.

string resource

Name or id of the resource for this request.

Returns
Type Description
ServiceAttachmentsResource.TestIamPermissionsRequest
In This Article
Back to top Generated by DocFX