Documentation ¶
Overview ¶
Package resourceviews provides access to the Resource Views API.
See https://developers.google.com/compute/
Usage example:
import "google.golang.org/api/resourceviews/v1beta1" ... resourceviewsService, err := resourceviews.New(oauthHttpClient)
Index ¶
- Constants
- type Label
- type RegionViewsAddResourcesRequest
- type RegionViewsAddresourcesCall
- func (c *RegionViewsAddresourcesCall) Context(ctx context.Context) *RegionViewsAddresourcesCall
- func (c *RegionViewsAddresourcesCall) Do(opts ...googleapi.CallOption) error
- func (c *RegionViewsAddresourcesCall) Fields(s ...googleapi.Field) *RegionViewsAddresourcesCall
- func (c *RegionViewsAddresourcesCall) Header() http.Header
- type RegionViewsDeleteCall
- type RegionViewsGetCall
- func (c *RegionViewsGetCall) Context(ctx context.Context) *RegionViewsGetCall
- func (c *RegionViewsGetCall) Do(opts ...googleapi.CallOption) (*ResourceView, error)
- func (c *RegionViewsGetCall) Fields(s ...googleapi.Field) *RegionViewsGetCall
- func (c *RegionViewsGetCall) Header() http.Header
- func (c *RegionViewsGetCall) IfNoneMatch(entityTag string) *RegionViewsGetCall
- type RegionViewsInsertCall
- func (c *RegionViewsInsertCall) Context(ctx context.Context) *RegionViewsInsertCall
- func (c *RegionViewsInsertCall) Do(opts ...googleapi.CallOption) (*RegionViewsInsertResponse, error)
- func (c *RegionViewsInsertCall) Fields(s ...googleapi.Field) *RegionViewsInsertCall
- func (c *RegionViewsInsertCall) Header() http.Header
- type RegionViewsInsertResponse
- type RegionViewsListCall
- func (c *RegionViewsListCall) Context(ctx context.Context) *RegionViewsListCall
- func (c *RegionViewsListCall) Do(opts ...googleapi.CallOption) (*RegionViewsListResponse, error)
- func (c *RegionViewsListCall) Fields(s ...googleapi.Field) *RegionViewsListCall
- func (c *RegionViewsListCall) Header() http.Header
- func (c *RegionViewsListCall) IfNoneMatch(entityTag string) *RegionViewsListCall
- func (c *RegionViewsListCall) MaxResults(maxResults int64) *RegionViewsListCall
- func (c *RegionViewsListCall) PageToken(pageToken string) *RegionViewsListCall
- func (c *RegionViewsListCall) Pages(ctx context.Context, f func(*RegionViewsListResponse) error) error
- type RegionViewsListResourcesResponse
- type RegionViewsListResponse
- type RegionViewsListresourcesCall
- func (c *RegionViewsListresourcesCall) Context(ctx context.Context) *RegionViewsListresourcesCall
- func (c *RegionViewsListresourcesCall) Do(opts ...googleapi.CallOption) (*RegionViewsListResourcesResponse, error)
- func (c *RegionViewsListresourcesCall) Fields(s ...googleapi.Field) *RegionViewsListresourcesCall
- func (c *RegionViewsListresourcesCall) Header() http.Header
- func (c *RegionViewsListresourcesCall) MaxResults(maxResults int64) *RegionViewsListresourcesCall
- func (c *RegionViewsListresourcesCall) PageToken(pageToken string) *RegionViewsListresourcesCall
- func (c *RegionViewsListresourcesCall) Pages(ctx context.Context, f func(*RegionViewsListResourcesResponse) error) error
- type RegionViewsRemoveResourcesRequest
- type RegionViewsRemoveresourcesCall
- func (c *RegionViewsRemoveresourcesCall) Context(ctx context.Context) *RegionViewsRemoveresourcesCall
- func (c *RegionViewsRemoveresourcesCall) Do(opts ...googleapi.CallOption) error
- func (c *RegionViewsRemoveresourcesCall) Fields(s ...googleapi.Field) *RegionViewsRemoveresourcesCall
- func (c *RegionViewsRemoveresourcesCall) Header() http.Header
- type RegionViewsService
- func (r *RegionViewsService) Addresources(projectName string, region string, resourceViewName string, ...) *RegionViewsAddresourcesCall
- func (r *RegionViewsService) Delete(projectName string, region string, resourceViewName string) *RegionViewsDeleteCall
- func (r *RegionViewsService) Get(projectName string, region string, resourceViewName string) *RegionViewsGetCall
- func (r *RegionViewsService) Insert(projectName string, region string, resourceview *ResourceView) *RegionViewsInsertCall
- func (r *RegionViewsService) List(projectName string, region string) *RegionViewsListCall
- func (r *RegionViewsService) Listresources(projectName string, region string, resourceViewName string) *RegionViewsListresourcesCall
- func (r *RegionViewsService) Removeresources(projectName string, region string, resourceViewName string, ...) *RegionViewsRemoveresourcesCall
- type ResourceView
- type Service
- type ZoneViewsAddResourcesRequest
- type ZoneViewsAddresourcesCall
- func (c *ZoneViewsAddresourcesCall) Context(ctx context.Context) *ZoneViewsAddresourcesCall
- func (c *ZoneViewsAddresourcesCall) Do(opts ...googleapi.CallOption) error
- func (c *ZoneViewsAddresourcesCall) Fields(s ...googleapi.Field) *ZoneViewsAddresourcesCall
- func (c *ZoneViewsAddresourcesCall) Header() http.Header
- type ZoneViewsDeleteCall
- type ZoneViewsGetCall
- func (c *ZoneViewsGetCall) Context(ctx context.Context) *ZoneViewsGetCall
- func (c *ZoneViewsGetCall) Do(opts ...googleapi.CallOption) (*ResourceView, error)
- func (c *ZoneViewsGetCall) Fields(s ...googleapi.Field) *ZoneViewsGetCall
- func (c *ZoneViewsGetCall) Header() http.Header
- func (c *ZoneViewsGetCall) IfNoneMatch(entityTag string) *ZoneViewsGetCall
- type ZoneViewsInsertCall
- func (c *ZoneViewsInsertCall) Context(ctx context.Context) *ZoneViewsInsertCall
- func (c *ZoneViewsInsertCall) Do(opts ...googleapi.CallOption) (*ZoneViewsInsertResponse, error)
- func (c *ZoneViewsInsertCall) Fields(s ...googleapi.Field) *ZoneViewsInsertCall
- func (c *ZoneViewsInsertCall) Header() http.Header
- type ZoneViewsInsertResponse
- type ZoneViewsListCall
- func (c *ZoneViewsListCall) Context(ctx context.Context) *ZoneViewsListCall
- func (c *ZoneViewsListCall) Do(opts ...googleapi.CallOption) (*ZoneViewsListResponse, error)
- func (c *ZoneViewsListCall) Fields(s ...googleapi.Field) *ZoneViewsListCall
- func (c *ZoneViewsListCall) Header() http.Header
- func (c *ZoneViewsListCall) IfNoneMatch(entityTag string) *ZoneViewsListCall
- func (c *ZoneViewsListCall) MaxResults(maxResults int64) *ZoneViewsListCall
- func (c *ZoneViewsListCall) PageToken(pageToken string) *ZoneViewsListCall
- func (c *ZoneViewsListCall) Pages(ctx context.Context, f func(*ZoneViewsListResponse) error) error
- type ZoneViewsListResourcesResponse
- type ZoneViewsListResponse
- type ZoneViewsListresourcesCall
- func (c *ZoneViewsListresourcesCall) Context(ctx context.Context) *ZoneViewsListresourcesCall
- func (c *ZoneViewsListresourcesCall) Do(opts ...googleapi.CallOption) (*ZoneViewsListResourcesResponse, error)
- func (c *ZoneViewsListresourcesCall) Fields(s ...googleapi.Field) *ZoneViewsListresourcesCall
- func (c *ZoneViewsListresourcesCall) Header() http.Header
- func (c *ZoneViewsListresourcesCall) MaxResults(maxResults int64) *ZoneViewsListresourcesCall
- func (c *ZoneViewsListresourcesCall) PageToken(pageToken string) *ZoneViewsListresourcesCall
- func (c *ZoneViewsListresourcesCall) Pages(ctx context.Context, f func(*ZoneViewsListResourcesResponse) error) error
- type ZoneViewsRemoveResourcesRequest
- type ZoneViewsRemoveresourcesCall
- func (c *ZoneViewsRemoveresourcesCall) Context(ctx context.Context) *ZoneViewsRemoveresourcesCall
- func (c *ZoneViewsRemoveresourcesCall) Do(opts ...googleapi.CallOption) error
- func (c *ZoneViewsRemoveresourcesCall) Fields(s ...googleapi.Field) *ZoneViewsRemoveresourcesCall
- func (c *ZoneViewsRemoveresourcesCall) Header() http.Header
- type ZoneViewsService
- func (r *ZoneViewsService) Addresources(projectName string, zone string, resourceViewName string, ...) *ZoneViewsAddresourcesCall
- func (r *ZoneViewsService) Delete(projectName string, zone string, resourceViewName string) *ZoneViewsDeleteCall
- func (r *ZoneViewsService) Get(projectName string, zone string, resourceViewName string) *ZoneViewsGetCall
- func (r *ZoneViewsService) Insert(projectName string, zone string, resourceview *ResourceView) *ZoneViewsInsertCall
- func (r *ZoneViewsService) List(projectName string, zone string) *ZoneViewsListCall
- func (r *ZoneViewsService) Listresources(projectName string, zone string, resourceViewName string) *ZoneViewsListresourcesCall
- func (r *ZoneViewsService) Removeresources(projectName string, zone string, resourceViewName string, ...) *ZoneViewsRemoveresourcesCall
Constants ¶
const ( // View and manage your data across Google Cloud Platform services CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform" // View your data across Google Cloud Platform services CloudPlatformReadOnlyScope = "https://www.googleapis.com/auth/cloud-platform.read-only" // View and manage your Google Compute Engine resources ComputeScope = "https://www.googleapis.com/auth/compute" // View your Google Compute Engine resources ComputeReadonlyScope = "https://www.googleapis.com/auth/compute.readonly" // View and manage your Google Cloud Platform management resources and // deployment status information NdevCloudmanScope = "https://www.googleapis.com/auth/ndev.cloudman" // View your Google Cloud Platform management resources and deployment // status information NdevCloudmanReadonlyScope = "https://www.googleapis.com/auth/ndev.cloudman.readonly" )
OAuth2 scopes used by this API.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Label ¶
type Label struct { // Key: Key of the label. Key string `json:"key,omitempty"` // Value: Value of the label. Value string `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Key") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Key") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Label: The Label to be applied to the resource views.
func (*Label) MarshalJSON ¶
type RegionViewsAddResourcesRequest ¶
type RegionViewsAddResourcesRequest struct { // Resources: The list of resources to be added. Resources []string `json:"resources,omitempty"` // ForceSendFields is a list of field names (e.g. "Resources") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Resources") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
RegionViewsAddResourcesRequest: The request to add resources to the resource view.
func (*RegionViewsAddResourcesRequest) MarshalJSON ¶
func (s *RegionViewsAddResourcesRequest) MarshalJSON() ([]byte, error)
type RegionViewsAddresourcesCall ¶
type RegionViewsAddresourcesCall struct {
// contains filtered or unexported fields
}
func (*RegionViewsAddresourcesCall) Context ¶
func (c *RegionViewsAddresourcesCall) Context(ctx context.Context) *RegionViewsAddresourcesCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*RegionViewsAddresourcesCall) Do ¶
func (c *RegionViewsAddresourcesCall) Do(opts ...googleapi.CallOption) error
Do executes the "resourceviews.regionViews.addresources" call.
func (*RegionViewsAddresourcesCall) Fields ¶
func (c *RegionViewsAddresourcesCall) Fields(s ...googleapi.Field) *RegionViewsAddresourcesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*RegionViewsAddresourcesCall) Header ¶
func (c *RegionViewsAddresourcesCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type RegionViewsDeleteCall ¶
type RegionViewsDeleteCall struct {
// contains filtered or unexported fields
}
func (*RegionViewsDeleteCall) Context ¶
func (c *RegionViewsDeleteCall) Context(ctx context.Context) *RegionViewsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*RegionViewsDeleteCall) Do ¶
func (c *RegionViewsDeleteCall) Do(opts ...googleapi.CallOption) error
Do executes the "resourceviews.regionViews.delete" call.
func (*RegionViewsDeleteCall) Fields ¶
func (c *RegionViewsDeleteCall) Fields(s ...googleapi.Field) *RegionViewsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*RegionViewsDeleteCall) Header ¶
func (c *RegionViewsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type RegionViewsGetCall ¶
type RegionViewsGetCall struct {
// contains filtered or unexported fields
}
func (*RegionViewsGetCall) Context ¶
func (c *RegionViewsGetCall) Context(ctx context.Context) *RegionViewsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*RegionViewsGetCall) Do ¶
func (c *RegionViewsGetCall) Do(opts ...googleapi.CallOption) (*ResourceView, error)
Do executes the "resourceviews.regionViews.get" call. Exactly one of *ResourceView or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ResourceView.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*RegionViewsGetCall) Fields ¶
func (c *RegionViewsGetCall) Fields(s ...googleapi.Field) *RegionViewsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*RegionViewsGetCall) Header ¶
func (c *RegionViewsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*RegionViewsGetCall) IfNoneMatch ¶
func (c *RegionViewsGetCall) IfNoneMatch(entityTag string) *RegionViewsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type RegionViewsInsertCall ¶
type RegionViewsInsertCall struct {
// contains filtered or unexported fields
}
func (*RegionViewsInsertCall) Context ¶
func (c *RegionViewsInsertCall) Context(ctx context.Context) *RegionViewsInsertCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*RegionViewsInsertCall) Do ¶
func (c *RegionViewsInsertCall) Do(opts ...googleapi.CallOption) (*RegionViewsInsertResponse, error)
Do executes the "resourceviews.regionViews.insert" call. Exactly one of *RegionViewsInsertResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RegionViewsInsertResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*RegionViewsInsertCall) Fields ¶
func (c *RegionViewsInsertCall) Fields(s ...googleapi.Field) *RegionViewsInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*RegionViewsInsertCall) Header ¶
func (c *RegionViewsInsertCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type RegionViewsInsertResponse ¶
type RegionViewsInsertResponse struct { // Resource: The resource view object inserted. Resource *ResourceView `json:"resource,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Resource") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Resource") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
RegionViewsInsertResponse: The response to a resource view insert request.
func (*RegionViewsInsertResponse) MarshalJSON ¶
func (s *RegionViewsInsertResponse) MarshalJSON() ([]byte, error)
type RegionViewsListCall ¶
type RegionViewsListCall struct {
// contains filtered or unexported fields
}
func (*RegionViewsListCall) Context ¶
func (c *RegionViewsListCall) Context(ctx context.Context) *RegionViewsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*RegionViewsListCall) Do ¶
func (c *RegionViewsListCall) Do(opts ...googleapi.CallOption) (*RegionViewsListResponse, error)
Do executes the "resourceviews.regionViews.list" call. Exactly one of *RegionViewsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RegionViewsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*RegionViewsListCall) Fields ¶
func (c *RegionViewsListCall) Fields(s ...googleapi.Field) *RegionViewsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*RegionViewsListCall) Header ¶
func (c *RegionViewsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*RegionViewsListCall) IfNoneMatch ¶
func (c *RegionViewsListCall) IfNoneMatch(entityTag string) *RegionViewsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*RegionViewsListCall) MaxResults ¶
func (c *RegionViewsListCall) MaxResults(maxResults int64) *RegionViewsListCall
MaxResults sets the optional parameter "maxResults": Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default: 5000)
func (*RegionViewsListCall) PageToken ¶
func (c *RegionViewsListCall) PageToken(pageToken string) *RegionViewsListCall
PageToken sets the optional parameter "pageToken": Specifies a nextPageToken returned by a previous list request. This token can be used to request the next page of results from a previous list request.
func (*RegionViewsListCall) Pages ¶
func (c *RegionViewsListCall) Pages(ctx context.Context, f func(*RegionViewsListResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type RegionViewsListResourcesResponse ¶
type RegionViewsListResourcesResponse struct { // Members: The resources in the view. Members []string `json:"members,omitempty"` // NextPageToken: A token used for pagination. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Members") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Members") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
RegionViewsListResourcesResponse: The response to the list resource request.
func (*RegionViewsListResourcesResponse) MarshalJSON ¶
func (s *RegionViewsListResourcesResponse) MarshalJSON() ([]byte, error)
type RegionViewsListResponse ¶
type RegionViewsListResponse struct { // NextPageToken: A token used for pagination. NextPageToken string `json:"nextPageToken,omitempty"` // ResourceViews: The list of resource views that meet the criteria. ResourceViews []*ResourceView `json:"resourceViews,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
RegionViewsListResponse: The response to the list resource view request.
func (*RegionViewsListResponse) MarshalJSON ¶
func (s *RegionViewsListResponse) MarshalJSON() ([]byte, error)
type RegionViewsListresourcesCall ¶
type RegionViewsListresourcesCall struct {
// contains filtered or unexported fields
}
func (*RegionViewsListresourcesCall) Context ¶
func (c *RegionViewsListresourcesCall) Context(ctx context.Context) *RegionViewsListresourcesCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*RegionViewsListresourcesCall) Do ¶
func (c *RegionViewsListresourcesCall) Do(opts ...googleapi.CallOption) (*RegionViewsListResourcesResponse, error)
Do executes the "resourceviews.regionViews.listresources" call. Exactly one of *RegionViewsListResourcesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RegionViewsListResourcesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*RegionViewsListresourcesCall) Fields ¶
func (c *RegionViewsListresourcesCall) Fields(s ...googleapi.Field) *RegionViewsListresourcesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*RegionViewsListresourcesCall) Header ¶
func (c *RegionViewsListresourcesCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*RegionViewsListresourcesCall) MaxResults ¶
func (c *RegionViewsListresourcesCall) MaxResults(maxResults int64) *RegionViewsListresourcesCall
MaxResults sets the optional parameter "maxResults": Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default: 5000)
func (*RegionViewsListresourcesCall) PageToken ¶
func (c *RegionViewsListresourcesCall) PageToken(pageToken string) *RegionViewsListresourcesCall
PageToken sets the optional parameter "pageToken": Specifies a nextPageToken returned by a previous list request. This token can be used to request the next page of results from a previous list request.
func (*RegionViewsListresourcesCall) Pages ¶
func (c *RegionViewsListresourcesCall) Pages(ctx context.Context, f func(*RegionViewsListResourcesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type RegionViewsRemoveResourcesRequest ¶
type RegionViewsRemoveResourcesRequest struct { // Resources: The list of resources to be removed. Resources []string `json:"resources,omitempty"` // ForceSendFields is a list of field names (e.g. "Resources") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Resources") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
RegionViewsRemoveResourcesRequest: The request to remove resources from the resource view.
func (*RegionViewsRemoveResourcesRequest) MarshalJSON ¶
func (s *RegionViewsRemoveResourcesRequest) MarshalJSON() ([]byte, error)
type RegionViewsRemoveresourcesCall ¶
type RegionViewsRemoveresourcesCall struct {
// contains filtered or unexported fields
}
func (*RegionViewsRemoveresourcesCall) Context ¶
func (c *RegionViewsRemoveresourcesCall) Context(ctx context.Context) *RegionViewsRemoveresourcesCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*RegionViewsRemoveresourcesCall) Do ¶
func (c *RegionViewsRemoveresourcesCall) Do(opts ...googleapi.CallOption) error
Do executes the "resourceviews.regionViews.removeresources" call.
func (*RegionViewsRemoveresourcesCall) Fields ¶
func (c *RegionViewsRemoveresourcesCall) Fields(s ...googleapi.Field) *RegionViewsRemoveresourcesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*RegionViewsRemoveresourcesCall) Header ¶
func (c *RegionViewsRemoveresourcesCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type RegionViewsService ¶
type RegionViewsService struct {
// contains filtered or unexported fields
}
func NewRegionViewsService ¶
func NewRegionViewsService(s *Service) *RegionViewsService
func (*RegionViewsService) Addresources ¶
func (r *RegionViewsService) Addresources(projectName string, region string, resourceViewName string, regionviewsaddresourcesrequest *RegionViewsAddResourcesRequest) *RegionViewsAddresourcesCall
Addresources: Add resources to the view.
func (*RegionViewsService) Delete ¶
func (r *RegionViewsService) Delete(projectName string, region string, resourceViewName string) *RegionViewsDeleteCall
Delete: Delete a resource view.
func (*RegionViewsService) Get ¶
func (r *RegionViewsService) Get(projectName string, region string, resourceViewName string) *RegionViewsGetCall
Get: Get the information of a resource view.
func (*RegionViewsService) Insert ¶
func (r *RegionViewsService) Insert(projectName string, region string, resourceview *ResourceView) *RegionViewsInsertCall
Insert: Create a resource view.
func (*RegionViewsService) List ¶
func (r *RegionViewsService) List(projectName string, region string) *RegionViewsListCall
List: List resource views.
func (*RegionViewsService) Listresources ¶
func (r *RegionViewsService) Listresources(projectName string, region string, resourceViewName string) *RegionViewsListresourcesCall
Listresources: List the resources in the view.
func (*RegionViewsService) Removeresources ¶
func (r *RegionViewsService) Removeresources(projectName string, region string, resourceViewName string, regionviewsremoveresourcesrequest *RegionViewsRemoveResourcesRequest) *RegionViewsRemoveresourcesCall
Removeresources: Remove resources from the view.
type ResourceView ¶
type ResourceView struct { // CreationTime: The creation time of the resource view. CreationTime string `json:"creationTime,omitempty"` // Description: The detailed description of the resource view. Description string `json:"description,omitempty"` // Id: [Output Only] The ID of the resource view. Id string `json:"id,omitempty"` // Kind: Type of the resource. Kind string `json:"kind,omitempty"` // Labels: The labels for events. Labels []*Label `json:"labels,omitempty"` // LastModified: The last modified time of the view. Not supported yet. LastModified string `json:"lastModified,omitempty"` // Members: A list of all resources in the resource view. Members []string `json:"members,omitempty"` // Name: The name of the resource view. Name string `json:"name,omitempty"` // NumMembers: The total number of resources in the resource view. NumMembers int64 `json:"numMembers,omitempty"` // SelfLink: [Output Only] A self-link to the resource view. SelfLink string `json:"selfLink,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreationTime") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreationTime") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ResourceView: The resource view object.
func (*ResourceView) MarshalJSON ¶
func (s *ResourceView) MarshalJSON() ([]byte, error)
type Service ¶
type Service struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment RegionViews *RegionViewsService ZoneViews *ZoneViewsService // contains filtered or unexported fields }
type ZoneViewsAddResourcesRequest ¶
type ZoneViewsAddResourcesRequest struct { // Resources: The list of resources to be added. Resources []string `json:"resources,omitempty"` // ForceSendFields is a list of field names (e.g. "Resources") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Resources") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ZoneViewsAddResourcesRequest: The request to add resources to the resource view.
func (*ZoneViewsAddResourcesRequest) MarshalJSON ¶
func (s *ZoneViewsAddResourcesRequest) MarshalJSON() ([]byte, error)
type ZoneViewsAddresourcesCall ¶
type ZoneViewsAddresourcesCall struct {
// contains filtered or unexported fields
}
func (*ZoneViewsAddresourcesCall) Context ¶
func (c *ZoneViewsAddresourcesCall) Context(ctx context.Context) *ZoneViewsAddresourcesCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ZoneViewsAddresourcesCall) Do ¶
func (c *ZoneViewsAddresourcesCall) Do(opts ...googleapi.CallOption) error
Do executes the "resourceviews.zoneViews.addresources" call.
func (*ZoneViewsAddresourcesCall) Fields ¶
func (c *ZoneViewsAddresourcesCall) Fields(s ...googleapi.Field) *ZoneViewsAddresourcesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ZoneViewsAddresourcesCall) Header ¶
func (c *ZoneViewsAddresourcesCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ZoneViewsDeleteCall ¶
type ZoneViewsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ZoneViewsDeleteCall) Context ¶
func (c *ZoneViewsDeleteCall) Context(ctx context.Context) *ZoneViewsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ZoneViewsDeleteCall) Do ¶
func (c *ZoneViewsDeleteCall) Do(opts ...googleapi.CallOption) error
Do executes the "resourceviews.zoneViews.delete" call.
func (*ZoneViewsDeleteCall) Fields ¶
func (c *ZoneViewsDeleteCall) Fields(s ...googleapi.Field) *ZoneViewsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ZoneViewsDeleteCall) Header ¶
func (c *ZoneViewsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ZoneViewsGetCall ¶
type ZoneViewsGetCall struct {
// contains filtered or unexported fields
}
func (*ZoneViewsGetCall) Context ¶
func (c *ZoneViewsGetCall) Context(ctx context.Context) *ZoneViewsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ZoneViewsGetCall) Do ¶
func (c *ZoneViewsGetCall) Do(opts ...googleapi.CallOption) (*ResourceView, error)
Do executes the "resourceviews.zoneViews.get" call. Exactly one of *ResourceView or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ResourceView.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ZoneViewsGetCall) Fields ¶
func (c *ZoneViewsGetCall) Fields(s ...googleapi.Field) *ZoneViewsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ZoneViewsGetCall) Header ¶
func (c *ZoneViewsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ZoneViewsGetCall) IfNoneMatch ¶
func (c *ZoneViewsGetCall) IfNoneMatch(entityTag string) *ZoneViewsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ZoneViewsInsertCall ¶
type ZoneViewsInsertCall struct {
// contains filtered or unexported fields
}
func (*ZoneViewsInsertCall) Context ¶
func (c *ZoneViewsInsertCall) Context(ctx context.Context) *ZoneViewsInsertCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ZoneViewsInsertCall) Do ¶
func (c *ZoneViewsInsertCall) Do(opts ...googleapi.CallOption) (*ZoneViewsInsertResponse, error)
Do executes the "resourceviews.zoneViews.insert" call. Exactly one of *ZoneViewsInsertResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ZoneViewsInsertResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ZoneViewsInsertCall) Fields ¶
func (c *ZoneViewsInsertCall) Fields(s ...googleapi.Field) *ZoneViewsInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ZoneViewsInsertCall) Header ¶
func (c *ZoneViewsInsertCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ZoneViewsInsertResponse ¶
type ZoneViewsInsertResponse struct { // Resource: The resource view object that has been inserted. Resource *ResourceView `json:"resource,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Resource") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Resource") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ZoneViewsInsertResponse: The response to an insert request.
func (*ZoneViewsInsertResponse) MarshalJSON ¶
func (s *ZoneViewsInsertResponse) MarshalJSON() ([]byte, error)
type ZoneViewsListCall ¶
type ZoneViewsListCall struct {
// contains filtered or unexported fields
}
func (*ZoneViewsListCall) Context ¶
func (c *ZoneViewsListCall) Context(ctx context.Context) *ZoneViewsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ZoneViewsListCall) Do ¶
func (c *ZoneViewsListCall) Do(opts ...googleapi.CallOption) (*ZoneViewsListResponse, error)
Do executes the "resourceviews.zoneViews.list" call. Exactly one of *ZoneViewsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ZoneViewsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ZoneViewsListCall) Fields ¶
func (c *ZoneViewsListCall) Fields(s ...googleapi.Field) *ZoneViewsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ZoneViewsListCall) Header ¶
func (c *ZoneViewsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ZoneViewsListCall) IfNoneMatch ¶
func (c *ZoneViewsListCall) IfNoneMatch(entityTag string) *ZoneViewsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ZoneViewsListCall) MaxResults ¶
func (c *ZoneViewsListCall) MaxResults(maxResults int64) *ZoneViewsListCall
MaxResults sets the optional parameter "maxResults": Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default: 5000)
func (*ZoneViewsListCall) PageToken ¶
func (c *ZoneViewsListCall) PageToken(pageToken string) *ZoneViewsListCall
PageToken sets the optional parameter "pageToken": Specifies a nextPageToken returned by a previous list request. This token can be used to request the next page of results from a previous list request.
func (*ZoneViewsListCall) Pages ¶
func (c *ZoneViewsListCall) Pages(ctx context.Context, f func(*ZoneViewsListResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ZoneViewsListResourcesResponse ¶
type ZoneViewsListResourcesResponse struct { // Members: The full URL of resources in the view. Members []string `json:"members,omitempty"` // NextPageToken: A token used for pagination. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Members") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Members") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ZoneViewsListResourcesResponse: The response to a list resource request.
func (*ZoneViewsListResourcesResponse) MarshalJSON ¶
func (s *ZoneViewsListResourcesResponse) MarshalJSON() ([]byte, error)
type ZoneViewsListResponse ¶
type ZoneViewsListResponse struct { // NextPageToken: A token used for pagination. NextPageToken string `json:"nextPageToken,omitempty"` // ResourceViews: The result that contains all resource views that meet // the criteria. ResourceViews []*ResourceView `json:"resourceViews,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ZoneViewsListResponse: The response to a list request.
func (*ZoneViewsListResponse) MarshalJSON ¶
func (s *ZoneViewsListResponse) MarshalJSON() ([]byte, error)
type ZoneViewsListresourcesCall ¶
type ZoneViewsListresourcesCall struct {
// contains filtered or unexported fields
}
func (*ZoneViewsListresourcesCall) Context ¶
func (c *ZoneViewsListresourcesCall) Context(ctx context.Context) *ZoneViewsListresourcesCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ZoneViewsListresourcesCall) Do ¶
func (c *ZoneViewsListresourcesCall) Do(opts ...googleapi.CallOption) (*ZoneViewsListResourcesResponse, error)
Do executes the "resourceviews.zoneViews.listresources" call. Exactly one of *ZoneViewsListResourcesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ZoneViewsListResourcesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ZoneViewsListresourcesCall) Fields ¶
func (c *ZoneViewsListresourcesCall) Fields(s ...googleapi.Field) *ZoneViewsListresourcesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ZoneViewsListresourcesCall) Header ¶
func (c *ZoneViewsListresourcesCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ZoneViewsListresourcesCall) MaxResults ¶
func (c *ZoneViewsListresourcesCall) MaxResults(maxResults int64) *ZoneViewsListresourcesCall
MaxResults sets the optional parameter "maxResults": Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default: 5000)
func (*ZoneViewsListresourcesCall) PageToken ¶
func (c *ZoneViewsListresourcesCall) PageToken(pageToken string) *ZoneViewsListresourcesCall
PageToken sets the optional parameter "pageToken": Specifies a nextPageToken returned by a previous list request. This token can be used to request the next page of results from a previous list request.
func (*ZoneViewsListresourcesCall) Pages ¶
func (c *ZoneViewsListresourcesCall) Pages(ctx context.Context, f func(*ZoneViewsListResourcesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ZoneViewsRemoveResourcesRequest ¶
type ZoneViewsRemoveResourcesRequest struct { // Resources: The list of resources to be removed. Resources []string `json:"resources,omitempty"` // ForceSendFields is a list of field names (e.g. "Resources") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Resources") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ZoneViewsRemoveResourcesRequest: The request to remove resources from the resource view.
func (*ZoneViewsRemoveResourcesRequest) MarshalJSON ¶
func (s *ZoneViewsRemoveResourcesRequest) MarshalJSON() ([]byte, error)
type ZoneViewsRemoveresourcesCall ¶
type ZoneViewsRemoveresourcesCall struct {
// contains filtered or unexported fields
}
func (*ZoneViewsRemoveresourcesCall) Context ¶
func (c *ZoneViewsRemoveresourcesCall) Context(ctx context.Context) *ZoneViewsRemoveresourcesCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ZoneViewsRemoveresourcesCall) Do ¶
func (c *ZoneViewsRemoveresourcesCall) Do(opts ...googleapi.CallOption) error
Do executes the "resourceviews.zoneViews.removeresources" call.
func (*ZoneViewsRemoveresourcesCall) Fields ¶
func (c *ZoneViewsRemoveresourcesCall) Fields(s ...googleapi.Field) *ZoneViewsRemoveresourcesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ZoneViewsRemoveresourcesCall) Header ¶
func (c *ZoneViewsRemoveresourcesCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ZoneViewsService ¶
type ZoneViewsService struct {
// contains filtered or unexported fields
}
func NewZoneViewsService ¶
func NewZoneViewsService(s *Service) *ZoneViewsService
func (*ZoneViewsService) Addresources ¶
func (r *ZoneViewsService) Addresources(projectName string, zone string, resourceViewName string, zoneviewsaddresourcesrequest *ZoneViewsAddResourcesRequest) *ZoneViewsAddresourcesCall
Addresources: Add resources to the view.
func (*ZoneViewsService) Delete ¶
func (r *ZoneViewsService) Delete(projectName string, zone string, resourceViewName string) *ZoneViewsDeleteCall
Delete: Delete a resource view.
func (*ZoneViewsService) Get ¶
func (r *ZoneViewsService) Get(projectName string, zone string, resourceViewName string) *ZoneViewsGetCall
Get: Get the information of a zonal resource view.
func (*ZoneViewsService) Insert ¶
func (r *ZoneViewsService) Insert(projectName string, zone string, resourceview *ResourceView) *ZoneViewsInsertCall
Insert: Create a resource view.
func (*ZoneViewsService) List ¶
func (r *ZoneViewsService) List(projectName string, zone string) *ZoneViewsListCall
List: List resource views.
func (*ZoneViewsService) Listresources ¶
func (r *ZoneViewsService) Listresources(projectName string, zone string, resourceViewName string) *ZoneViewsListresourcesCall
Listresources: List the resources of the resource view.
func (*ZoneViewsService) Removeresources ¶
func (r *ZoneViewsService) Removeresources(projectName string, zone string, resourceViewName string, zoneviewsremoveresourcesrequest *ZoneViewsRemoveResourcesRequest) *ZoneViewsRemoveresourcesCall
Removeresources: Remove resources from the view.