gogol-resourceviews-0.0.1: Google Compute Engine Instance Groups SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.ResourceViews

Contents

Description

The Resource View API allows users to create and manage logical sets of Google Compute Engine instances.

See: Google Compute Engine Instance Groups API Reference

Synopsis

Service Configuration

resourceViewsService :: Service Source

Default request referring to version v1beta2 of the Google Compute Engine Instance Groups API. This contains the host and root path used as a starting point for constructing service requests.

API Declaration

Resources

resourceviews.zoneOperations.get

resourceviews.zoneOperations.list

resourceviews.zoneViews.addResources

resourceviews.zoneViews.delete

resourceviews.zoneViews.get

resourceviews.zoneViews.getService

resourceviews.zoneViews.insert

resourceviews.zoneViews.list

resourceviews.zoneViews.listResources

resourceviews.zoneViews.removeResources

resourceviews.zoneViews.setService

Types

OperationWarningsItemDataItem

operationWarningsItemDataItem :: OperationWarningsItemDataItem Source

Creates a value of OperationWarningsItemDataItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

owidiValue :: Lens' OperationWarningsItemDataItem (Maybe Text) Source

Output Only
Metadata value for this warning.

owidiKey :: Lens' OperationWarningsItemDataItem (Maybe Text) Source

Output Only
Metadata key for this warning.

OperationList

operationList :: OperationList Source

Creates a value of OperationList with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

olNextPageToken :: Lens' OperationList (Maybe Text) Source

A token used to continue a truncated list request (output only).

olKind :: Lens' OperationList Text Source

Type of resource.

olItems :: Lens' OperationList [Operation] Source

The operation resources.

olSelfLink :: Lens' OperationList (Maybe Text) Source

Server defined URL for this resource (output only).

olId :: Lens' OperationList (Maybe Text) Source

Unique identifier for the resource; defined by the server (output only).

ResourceView

resourceView :: ResourceView Source

Creates a value of ResourceView with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rvSize :: Lens' ResourceView (Maybe Word32) Source

The total number of resources in the resource view.

rvKind :: Lens' ResourceView Text Source

Type of the resource.

rvFingerprint :: Lens' ResourceView (Maybe Text) Source

The fingerprint of the service endpoint information.

rvNetwork :: Lens' ResourceView (Maybe Text) Source

The URL of a Compute Engine network to which the resources in the view belong.

rvResources :: Lens' ResourceView [Text] Source

A list of all resources in the resource view.

rvSelfLink :: Lens' ResourceView (Maybe Text) Source

Output Only
A self-link to the resource view.

rvName :: Lens' ResourceView (Maybe Text) Source

The name of the resource view.

rvCreationTimestamp :: Lens' ResourceView (Maybe Text) Source

The creation time of the resource view.

rvId :: Lens' ResourceView (Maybe Text) Source

Output Only
The ID of the resource view.

rvLabels :: Lens' ResourceView [Label] Source

The labels for events.

rvEndpoints :: Lens' ResourceView [ServiceEndpoint] Source

Services endpoint information.

rvDescription :: Lens' ResourceView (Maybe Text) Source

The detailed description of the resource view.

ZoneViewsList

zoneViewsList :: ZoneViewsList Source

Creates a value of ZoneViewsList with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

zvlNextPageToken :: Lens' ZoneViewsList (Maybe Text) Source

A token used for pagination.

zvlKind :: Lens' ZoneViewsList Text Source

Type of resource.

zvlItems :: Lens' ZoneViewsList [ResourceView] Source

The result that contains all resource views that meet the criteria.

zvlSelfLink :: Lens' ZoneViewsList (Maybe Text) Source

Server defined URL for this resource (output only).

Operation

data Operation Source

An operation resource, used to manage asynchronous API requests.

See: operation smart constructor.

oTargetId :: Lens' Operation (Maybe Word64) Source

Output Only
Unique target ID which identifies a particular incarnation of the target.

oStatus :: Lens' Operation (Maybe Text) Source

Output Only
Status of the operation.

oInsertTime :: Lens' Operation (Maybe Text) Source

Output Only
The time that this operation was requested, in RFC3339 text format.

oProgress :: Lens' Operation (Maybe Int32) Source

Output only
An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should be monotonically increasing as the operation progresses.

oStartTime :: Lens' Operation (Maybe Text) Source

Output Only
The time that this operation was started by the server, in RFC3339 text format.

oKind :: Lens' Operation Text Source

Output only
Type of the resource.

oError :: Lens' Operation (Maybe OperationError) Source

Output Only
If errors occurred during processing of this operation, this field will be populated.

oHTTPErrorMessage :: Lens' Operation (Maybe Text) Source

Output only
If operation fails, the HTTP error message returned.

oZone :: Lens' Operation (Maybe Text) Source

Output Only
URL of the zone where the operation resides. Only available when performing per-zone operations.

oWarnings :: Lens' Operation [OperationWarningsItem] Source

Output Only
If there are issues with this operation, a warning is returned.

oHTTPErrorStatusCode :: Lens' Operation (Maybe Int32) Source

Output only
If operation fails, the HTTP error status code returned.

oUser :: Lens' Operation (Maybe Text) Source

Output Only
User who requested the operation, for example: user'example.com.

oSelfLink :: Lens' Operation (Maybe Text) Source

Output Only
Server-defined fully-qualified URL for this resource.

oName :: Lens' Operation (Maybe Text) Source

Output Only
Name of the resource.

oStatusMessage :: Lens' Operation (Maybe Text) Source

Output Only
An optional textual description of the current status of the operation.

oCreationTimestamp :: Lens' Operation (Maybe Text) Source

Output Only
The time that this operation was requested, in RFC3339 text format.

oEndTime :: Lens' Operation (Maybe Text) Source

Output Only
The time that this operation was completed, in RFC3339 text format.

oId :: Lens' Operation (Maybe Word64) Source

Output Only
Unique identifier for the resource, generated by the server.

oOperationType :: Lens' Operation (Maybe Text) Source

Output only
Type of the operation. Operations include insert, update, and delete.

oRegion :: Lens' Operation (Maybe Text) Source

Output Only
URL of the region where the operation resides. Only available when performing regional operations.

oTargetLink :: Lens' Operation (Maybe Text) Source

Output only
URL of the resource the operation is mutating.

oClientOperationId :: Lens' Operation (Maybe Text) Source

Output only
An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project.

ZoneViewsListResourcesFormat

ZoneViewsListResourcesResponse

zoneViewsListResourcesResponse :: ZoneViewsListResourcesResponse Source

Creates a value of ZoneViewsListResourcesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

zvlrrItems :: Lens' ZoneViewsListResourcesResponse [ListResourceResponseItem] Source

The formatted JSON that is requested by the user.

zvlrrNetwork :: Lens' ZoneViewsListResourcesResponse (Maybe Text) Source

The URL of a Compute Engine network to which the resources in the view belong.

ServiceEndpoint

serviceEndpoint :: ServiceEndpoint Source

Creates a value of ServiceEndpoint with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

seName :: Lens' ServiceEndpoint (Maybe Text) Source

The name of the service endpoint.

sePort :: Lens' ServiceEndpoint (Maybe Int32) Source

The port of the service endpoint.

ZoneViewsListResourcesListState

ZoneViewsRemoveResourcesRequest

zoneViewsRemoveResourcesRequest :: ZoneViewsRemoveResourcesRequest Source

Creates a value of ZoneViewsRemoveResourcesRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

zvrrrResources :: Lens' ZoneViewsRemoveResourcesRequest [Text] Source

The list of resources to be removed.

ListResourceResponseItemEndpoints

listResourceResponseItemEndpoints Source

Creates a value of ListResourceResponseItemEndpoints with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ZoneViewsAddResourcesRequest

zoneViewsAddResourcesRequest :: ZoneViewsAddResourcesRequest Source

Creates a value of ZoneViewsAddResourcesRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

zvarrResources :: Lens' ZoneViewsAddResourcesRequest [Text] Source

The list of resources to be added.

OperationError

data OperationError Source

Output Only
If errors occurred during processing of this operation, this field will be populated.

See: operationError smart constructor.

operationError :: OperationError Source

Creates a value of OperationError with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

oeErrors :: Lens' OperationError [OperationErrorErrorsItem] Source

Output Only
The array of errors encountered while processing this operation.

ZoneViewsGetServiceResponse

zoneViewsGetServiceResponse :: ZoneViewsGetServiceResponse Source

Creates a value of ZoneViewsGetServiceResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

zvgsrFingerprint :: Lens' ZoneViewsGetServiceResponse (Maybe Text) Source

The fingerprint of the service information.

OperationErrorErrorsItem

operationErrorErrorsItem :: OperationErrorErrorsItem Source

Creates a value of OperationErrorErrorsItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

oeeiLocation :: Lens' OperationErrorErrorsItem (Maybe Text) Source

Output Only
Indicates the field in the request which caused the error. This property is optional.

oeeiCode :: Lens' OperationErrorErrorsItem (Maybe Text) Source

Output Only
The error type identifier for this error.

oeeiMessage :: Lens' OperationErrorErrorsItem (Maybe Text) Source

Output Only
An optional, human-readable error message.

ZoneViewsSetServiceRequest

zoneViewsSetServiceRequest :: ZoneViewsSetServiceRequest Source

Creates a value of ZoneViewsSetServiceRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

zvssrResourceName :: Lens' ZoneViewsSetServiceRequest (Maybe Text) Source

The name of the resource if user wants to update the service information of the resource.

zvssrFingerprint :: Lens' ZoneViewsSetServiceRequest (Maybe Text) Source

Fingerprint of the service information; a hash of the contents. This field is used for optimistic locking when updating the service entries.

zvssrEndpoints :: Lens' ZoneViewsSetServiceRequest [ServiceEndpoint] Source

The service information to be updated.

ListResourceResponseItem

listResourceResponseItem :: ListResourceResponseItem Source

Creates a value of ListResourceResponseItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lrriResource :: Lens' ListResourceResponseItem (Maybe Text) Source

The full URL of the resource.

Label

data Label Source

The Label to be applied to the resource views.

See: label smart constructor.

label :: Label Source

Creates a value of Label with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lValue :: Lens' Label (Maybe Text) Source

Value of the label.

lKey :: Lens' Label (Maybe Text) Source

Key of the label.

OperationWarningsItem

operationWarningsItem :: OperationWarningsItem Source

Creates a value of OperationWarningsItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

owiData :: Lens' OperationWarningsItem [OperationWarningsItemDataItem] Source

Output only
Metadata for this warning in key:value format.

owiCode :: Lens' OperationWarningsItem (Maybe Text) Source

Output only
The warning type identifier for this warning.

owiMessage :: Lens' OperationWarningsItem (Maybe Text) Source

Output only
Optional human-readable details for this warning.