-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Google Compute Engine Instance Groups SDK.
--   
--   The Resource View API allows users to create and manage logical sets
--   of Google Compute Engine instances.
--   
--   <i>Warning:</i> This is an experimental prototype/preview release
--   which is still under exploratory development and not intended for
--   public use, caveat emptor!
--   
--   This library is compatible with version <tt>v1beta2</tt> of the API.
--   
--   Labels:
--   
--   <ul>
--   <li>Limited Availability</li>
--   </ul>
@package gogol-resourceviews
@version 0.3.0


module Network.Google.ResourceViews.Types

-- | Default request referring to version <tt>v1beta2</tt> of the Google
--   Compute Engine Instance Groups API. This contains the host and root
--   path used as a starting point for constructing service requests.
resourceViewsService :: ServiceConfig

-- | View and manage your Google Compute Engine resources
computeScope :: Proxy '["https://www.googleapis.com/auth/compute"]

-- | View your data across Google Cloud Platform services
cloudPlatformReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform.read-only"]

-- | View and manage your data across Google Cloud Platform services
cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]

-- | View and manage your Google Cloud Platform management resources and
--   deployment status information
ndevCloudmanScope :: Proxy '["https://www.googleapis.com/auth/ndev.cloudman"]

-- | View your Google Cloud Platform management resources and deployment
--   status information
ndevCloudmanReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/ndev.cloudman.readonly"]

-- | View your Google Compute Engine resources
computeReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/compute.readonly"]
data OperationWarningsItemDataItem

-- | Creates a value of <a>OperationWarningsItemDataItem</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>owidiValue</a></li>
--   <li><a>owidiKey</a></li>
--   </ul>
operationWarningsItemDataItem :: OperationWarningsItemDataItem

-- | <ul>
--   <li><i>Output Only</i> Metadata value for this warning.</li>
--   </ul>
owidiValue :: Lens' OperationWarningsItemDataItem (Maybe Text)

-- | <ul>
--   <li><i>Output Only</i> Metadata key for this warning.</li>
--   </ul>
owidiKey :: Lens' OperationWarningsItemDataItem (Maybe Text)
data OperationList

-- | Creates a value of <a>OperationList</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>olNextPageToken</a></li>
--   <li><a>olKind</a></li>
--   <li><a>olItems</a></li>
--   <li><a>olSelfLink</a></li>
--   <li><a>olId</a></li>
--   </ul>
operationList :: OperationList

-- | A token used to continue a truncated list request (output only).
olNextPageToken :: Lens' OperationList (Maybe Text)

-- | Type of resource.
olKind :: Lens' OperationList Text

-- | The operation resources.
olItems :: Lens' OperationList [Operation]

-- | Server defined URL for this resource (output only).
olSelfLink :: Lens' OperationList (Maybe Text)

-- | Unique identifier for the resource; defined by the server (output
--   only).
olId :: Lens' OperationList (Maybe Text)

-- | The resource view object.
--   
--   <i>See:</i> <a>resourceView</a> smart constructor.
data ResourceView

-- | Creates a value of <a>ResourceView</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rvSize</a></li>
--   <li><a>rvKind</a></li>
--   <li><a>rvFingerprint</a></li>
--   <li><a>rvNetwork</a></li>
--   <li><a>rvResources</a></li>
--   <li><a>rvSelfLink</a></li>
--   <li><a>rvName</a></li>
--   <li><a>rvCreationTimestamp</a></li>
--   <li><a>rvId</a></li>
--   <li><a>rvLabels</a></li>
--   <li><a>rvEndpoints</a></li>
--   <li><a>rvDescription</a></li>
--   </ul>
resourceView :: ResourceView

-- | The total number of resources in the resource view.
rvSize :: Lens' ResourceView (Maybe Word32)

-- | Type of the resource.
rvKind :: Lens' ResourceView Text

-- | The fingerprint of the service endpoint information.
rvFingerprint :: Lens' ResourceView (Maybe Text)

-- | The URL of a Compute Engine network to which the resources in the view
--   belong.
rvNetwork :: Lens' ResourceView (Maybe Text)

-- | A list of all resources in the resource view.
rvResources :: Lens' ResourceView [Text]

-- | <ul>
--   <li><i>Output Only</i> A self-link to the resource view.</li>
--   </ul>
rvSelfLink :: Lens' ResourceView (Maybe Text)

-- | The name of the resource view.
rvName :: Lens' ResourceView (Maybe Text)

-- | The creation time of the resource view.
rvCreationTimestamp :: Lens' ResourceView (Maybe Text)

-- | <ul>
--   <li><i>Output Only</i> The ID of the resource view.</li>
--   </ul>
rvId :: Lens' ResourceView (Maybe Text)

-- | The labels for events.
rvLabels :: Lens' ResourceView [Label]

-- | Services endpoint information.
rvEndpoints :: Lens' ResourceView [ServiceEndpoint]

-- | The detailed description of the resource view.
rvDescription :: Lens' ResourceView (Maybe Text)

-- | The response to a list request.
--   
--   <i>See:</i> <a>zoneViewsList</a> smart constructor.
data ZoneViewsList

-- | Creates a value of <a>ZoneViewsList</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>zvlNextPageToken</a></li>
--   <li><a>zvlKind</a></li>
--   <li><a>zvlItems</a></li>
--   <li><a>zvlSelfLink</a></li>
--   </ul>
zoneViewsList :: ZoneViewsList

-- | A token used for pagination.
zvlNextPageToken :: Lens' ZoneViewsList (Maybe Text)

-- | Type of resource.
zvlKind :: Lens' ZoneViewsList Text

-- | The result that contains all resource views that meet the criteria.
zvlItems :: Lens' ZoneViewsList [ResourceView]

-- | Server defined URL for this resource (output only).
zvlSelfLink :: Lens' ZoneViewsList (Maybe Text)

-- | An operation resource, used to manage asynchronous API requests.
--   
--   <i>See:</i> <a>operation</a> smart constructor.
data Operation

-- | Creates a value of <a>Operation</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>oTargetId</a></li>
--   <li><a>oStatus</a></li>
--   <li><a>oInsertTime</a></li>
--   <li><a>oProgress</a></li>
--   <li><a>oStartTime</a></li>
--   <li><a>oKind</a></li>
--   <li><a>oError</a></li>
--   <li><a>oHTTPErrorMessage</a></li>
--   <li><a>oZone</a></li>
--   <li><a>oWarnings</a></li>
--   <li><a>oHTTPErrorStatusCode</a></li>
--   <li><a>oUser</a></li>
--   <li><a>oSelfLink</a></li>
--   <li><a>oName</a></li>
--   <li><a>oStatusMessage</a></li>
--   <li><a>oCreationTimestamp</a></li>
--   <li><a>oEndTime</a></li>
--   <li><a>oId</a></li>
--   <li><a>oOperationType</a></li>
--   <li><a>oRegion</a></li>
--   <li><a>oTargetLink</a></li>
--   <li><a>oClientOperationId</a></li>
--   </ul>
operation :: Operation

-- | <ul>
--   <li><i>Output Only</i> Unique target ID which identifies a particular
--   incarnation of the target.</li>
--   </ul>
oTargetId :: Lens' Operation (Maybe Word64)

-- | <ul>
--   <li><i>Output Only</i> Status of the operation.</li>
--   </ul>
oStatus :: Lens' Operation (Maybe Text)

-- | <ul>
--   <li><i>Output Only</i> The time that this operation was requested, in
--   RFC3339 text format.</li>
--   </ul>
oInsertTime :: Lens' Operation (Maybe Text)

-- | <ul>
--   <li><i>Output only</i> 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.</li>
--   </ul>
oProgress :: Lens' Operation (Maybe Int32)

-- | <ul>
--   <li><i>Output Only</i> The time that this operation was started by the
--   server, in RFC3339 text format.</li>
--   </ul>
oStartTime :: Lens' Operation (Maybe Text)

-- | <ul>
--   <li><i>Output only</i> Type of the resource.</li>
--   </ul>
oKind :: Lens' Operation Text

-- | <ul>
--   <li><i>Output Only</i> If errors occurred during processing of this
--   operation, this field will be populated.</li>
--   </ul>
oError :: Lens' Operation (Maybe OperationError)

-- | <ul>
--   <li><i>Output only</i> If operation fails, the HTTP error message
--   returned.</li>
--   </ul>
oHTTPErrorMessage :: Lens' Operation (Maybe Text)

-- | <ul>
--   <li><i>Output Only</i> URL of the zone where the operation resides.
--   Only available when performing per-zone operations.</li>
--   </ul>
oZone :: Lens' Operation (Maybe Text)

-- | <ul>
--   <li><i>Output Only</i> If there are issues with this operation, a
--   warning is returned.</li>
--   </ul>
oWarnings :: Lens' Operation [OperationWarningsItem]

-- | <ul>
--   <li><i>Output only</i> If operation fails, the HTTP error status code
--   returned.</li>
--   </ul>
oHTTPErrorStatusCode :: Lens' Operation (Maybe Int32)

-- | <ul>
--   <li><i>Output Only</i> User who requested the operation, for example:
--   user'example.com.</li>
--   </ul>
oUser :: Lens' Operation (Maybe Text)

-- | <ul>
--   <li><i>Output Only</i> Server-defined fully-qualified URL for this
--   resource.</li>
--   </ul>
oSelfLink :: Lens' Operation (Maybe Text)

-- | <ul>
--   <li><i>Output Only</i> Name of the resource.</li>
--   </ul>
oName :: Lens' Operation (Maybe Text)

-- | <ul>
--   <li><i>Output Only</i> An optional textual description of the current
--   status of the operation.</li>
--   </ul>
oStatusMessage :: Lens' Operation (Maybe Text)

-- | <ul>
--   <li><i>Output Only</i> The time that this operation was requested, in
--   RFC3339 text format.</li>
--   </ul>
oCreationTimestamp :: Lens' Operation (Maybe Text)

-- | <ul>
--   <li><i>Output Only</i> The time that this operation was completed, in
--   RFC3339 text format.</li>
--   </ul>
oEndTime :: Lens' Operation (Maybe Text)

-- | <ul>
--   <li><i>Output Only</i> Unique identifier for the resource, generated
--   by the server.</li>
--   </ul>
oId :: Lens' Operation (Maybe Word64)

-- | <ul>
--   <li><i>Output only</i> Type of the operation. Operations include
--   insert, update, and delete.</li>
--   </ul>
oOperationType :: Lens' Operation (Maybe Text)

-- | <ul>
--   <li><i>Output Only</i> URL of the region where the operation resides.
--   Only available when performing regional operations.</li>
--   </ul>
oRegion :: Lens' Operation (Maybe Text)

-- | <ul>
--   <li><i>Output only</i> URL of the resource the operation is
--   mutating.</li>
--   </ul>
oTargetLink :: Lens' Operation (Maybe Text)

-- | <ul>
--   <li><i>Output only</i> An optional identifier specified by the client
--   when the mutation was initiated. Must be unique for all operation
--   resources in the project.</li>
--   </ul>
oClientOperationId :: Lens' Operation (Maybe Text)

-- | The requested format of the return value. It can be URL or URL_PORT. A
--   JSON object will be included in the response based on the format. The
--   default format is NONE, which results in no JSON in the response.
data ZoneViewsListResourcesFormat

-- | <pre>
--   NONE
--   </pre>
None :: ZoneViewsListResourcesFormat

-- | <pre>
--   URL
--   </pre>
URL :: ZoneViewsListResourcesFormat

-- | <pre>
--   URL_PORT
--   </pre>
URLPort :: ZoneViewsListResourcesFormat

-- | The response to a list resource request.
--   
--   <i>See:</i> <a>zoneViewsListResourcesResponse</a> smart constructor.
data ZoneViewsListResourcesResponse

-- | Creates a value of <a>ZoneViewsListResourcesResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>zvlrrNextPageToken</a></li>
--   <li><a>zvlrrItems</a></li>
--   <li><a>zvlrrNetwork</a></li>
--   </ul>
zoneViewsListResourcesResponse :: ZoneViewsListResourcesResponse

-- | A token used for pagination.
zvlrrNextPageToken :: Lens' ZoneViewsListResourcesResponse (Maybe Text)

-- | The formatted JSON that is requested by the user.
zvlrrItems :: Lens' ZoneViewsListResourcesResponse [ListResourceResponseItem]

-- | The URL of a Compute Engine network to which the resources in the view
--   belong.
zvlrrNetwork :: Lens' ZoneViewsListResourcesResponse (Maybe Text)

-- | The service endpoint that may be started in a VM.
--   
--   <i>See:</i> <a>serviceEndpoint</a> smart constructor.
data ServiceEndpoint

-- | Creates a value of <a>ServiceEndpoint</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>seName</a></li>
--   <li><a>sePort</a></li>
--   </ul>
serviceEndpoint :: ServiceEndpoint

-- | The name of the service endpoint.
seName :: Lens' ServiceEndpoint (Maybe Text)

-- | The port of the service endpoint.
sePort :: Lens' ServiceEndpoint (Maybe Int32)

-- | The state of the instance to list. By default, it lists all instances.
data ZoneViewsListResourcesListState

-- | <pre>
--   ALL
--   </pre>
All :: ZoneViewsListResourcesListState

-- | <pre>
--   RUNNING
--   </pre>
Running :: ZoneViewsListResourcesListState

-- | The request to remove resources from the resource view.
--   
--   <i>See:</i> <a>zoneViewsRemoveResourcesRequest</a> smart constructor.
data ZoneViewsRemoveResourcesRequest

-- | Creates a value of <a>ZoneViewsRemoveResourcesRequest</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>zvrrrResources</a></li>
--   </ul>
zoneViewsRemoveResourcesRequest :: ZoneViewsRemoveResourcesRequest

-- | The list of resources to be removed.
zvrrrResources :: Lens' ZoneViewsRemoveResourcesRequest [Text]

-- | The list of service end points on the resource.
--   
--   <i>See:</i> <a>listResourceResponseItemEndpoints</a> smart
--   constructor.
data ListResourceResponseItemEndpoints

-- | Creates a value of <a>ListResourceResponseItemEndpoints</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lrrieAddtional</a></li>
--   </ul>
listResourceResponseItemEndpoints :: HashMap Text [Int32] -> ListResourceResponseItemEndpoints

-- | The name of the service end point.
lrrieAddtional :: Lens' ListResourceResponseItemEndpoints (HashMap Text [Int32])

-- | The request to add resources to the resource view.
--   
--   <i>See:</i> <a>zoneViewsAddResourcesRequest</a> smart constructor.
data ZoneViewsAddResourcesRequest

-- | Creates a value of <a>ZoneViewsAddResourcesRequest</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>zvarrResources</a></li>
--   </ul>
zoneViewsAddResourcesRequest :: ZoneViewsAddResourcesRequest

-- | The list of resources to be added.
zvarrResources :: Lens' ZoneViewsAddResourcesRequest [Text]

-- | <ul>
--   <li><i>Output Only</i> If errors occurred during processing of this
--   operation, this field will be populated.</li>
--   </ul>
--   
--   <i>See:</i> <a>operationError</a> smart constructor.
data OperationError

-- | Creates a value of <a>OperationError</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>oeErrors</a></li>
--   </ul>
operationError :: OperationError

-- | <ul>
--   <li><i>Output Only</i> The array of errors encountered while
--   processing this operation.</li>
--   </ul>
oeErrors :: Lens' OperationError [OperationErrorErrorsItem]
data ZoneViewsGetServiceResponse

-- | Creates a value of <a>ZoneViewsGetServiceResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>zvgsrFingerprint</a></li>
--   <li><a>zvgsrEndpoints</a></li>
--   </ul>
zoneViewsGetServiceResponse :: ZoneViewsGetServiceResponse

-- | The fingerprint of the service information.
zvgsrFingerprint :: Lens' ZoneViewsGetServiceResponse (Maybe Text)

-- | The service information.
zvgsrEndpoints :: Lens' ZoneViewsGetServiceResponse [ServiceEndpoint]
data OperationErrorErrorsItem

-- | Creates a value of <a>OperationErrorErrorsItem</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>oeeiLocation</a></li>
--   <li><a>oeeiCode</a></li>
--   <li><a>oeeiMessage</a></li>
--   </ul>
operationErrorErrorsItem :: OperationErrorErrorsItem

-- | <ul>
--   <li><i>Output Only</i> Indicates the field in the request which caused
--   the error. This property is optional.</li>
--   </ul>
oeeiLocation :: Lens' OperationErrorErrorsItem (Maybe Text)

-- | <ul>
--   <li><i>Output Only</i> The error type identifier for this error.</li>
--   </ul>
oeeiCode :: Lens' OperationErrorErrorsItem (Maybe Text)

-- | <ul>
--   <li><i>Output Only</i> An optional, human-readable error message.</li>
--   </ul>
oeeiMessage :: Lens' OperationErrorErrorsItem (Maybe Text)
data ZoneViewsSetServiceRequest

-- | Creates a value of <a>ZoneViewsSetServiceRequest</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>zvssrResourceName</a></li>
--   <li><a>zvssrFingerprint</a></li>
--   <li><a>zvssrEndpoints</a></li>
--   </ul>
zoneViewsSetServiceRequest :: ZoneViewsSetServiceRequest

-- | The name of the resource if user wants to update the service
--   information of the resource.
zvssrResourceName :: Lens' ZoneViewsSetServiceRequest (Maybe Text)

-- | Fingerprint of the service information; a hash of the contents. This
--   field is used for optimistic locking when updating the service
--   entries.
zvssrFingerprint :: Lens' ZoneViewsSetServiceRequest (Maybe Text)

-- | The service information to be updated.
zvssrEndpoints :: Lens' ZoneViewsSetServiceRequest [ServiceEndpoint]

-- | The list response item that contains the resource and end points
--   information.
--   
--   <i>See:</i> <a>listResourceResponseItem</a> smart constructor.
data ListResourceResponseItem

-- | Creates a value of <a>ListResourceResponseItem</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lrriResource</a></li>
--   <li><a>lrriEndpoints</a></li>
--   </ul>
listResourceResponseItem :: ListResourceResponseItem

-- | The full URL of the resource.
lrriResource :: Lens' ListResourceResponseItem (Maybe Text)

-- | The list of service end points on the resource.
lrriEndpoints :: Lens' ListResourceResponseItem (Maybe ListResourceResponseItemEndpoints)

-- | The Label to be applied to the resource views.
--   
--   <i>See:</i> <a>label</a> smart constructor.
data Label

-- | Creates a value of <a>Label</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lValue</a></li>
--   <li><a>lKey</a></li>
--   </ul>
label :: Label

-- | Value of the label.
lValue :: Lens' Label (Maybe Text)

-- | Key of the label.
lKey :: Lens' Label (Maybe Text)
data OperationWarningsItem

-- | Creates a value of <a>OperationWarningsItem</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>owiData</a></li>
--   <li><a>owiCode</a></li>
--   <li><a>owiMessage</a></li>
--   </ul>
operationWarningsItem :: OperationWarningsItem

-- | <ul>
--   <li><i>Output only</i> Metadata for this warning in key:value
--   format.</li>
--   </ul>
owiData :: Lens' OperationWarningsItem [OperationWarningsItemDataItem]

-- | <ul>
--   <li><i>Output only</i> The warning type identifier for this
--   warning.</li>
--   </ul>
owiCode :: Lens' OperationWarningsItem (Maybe Text)

-- | <ul>
--   <li><i>Output only</i> Optional human-readable details for this
--   warning.</li>
--   </ul>
owiMessage :: Lens' OperationWarningsItem (Maybe Text)


-- | Update the service information of a resource view or a resource.
--   
--   <i>See:</i> <a>Google Compute Engine Instance Groups API Reference</a>
--   for <tt>resourceviews.zoneViews.setService</tt>.
module Network.Google.Resource.ResourceViews.ZoneViews.SetService

-- | A resource alias for <tt>resourceviews.zoneViews.setService</tt>
--   method which the <a>ZoneViewsSetService</a> request conforms to.
type ZoneViewsSetServiceResource = "resourceviews" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("resourceViews" :> (Capture "resourceView" Text :> ("setService" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ZoneViewsSetServiceRequest :> Post '[JSON] Operation))))))))))

-- | Creates a value of <a>ZoneViewsSetService</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>zvssResourceView</a></li>
--   <li><a>zvssProject</a></li>
--   <li><a>zvssZone</a></li>
--   <li><a>zvssPayload</a></li>
--   </ul>
zoneViewsSetService :: Text -> Text -> Text -> ZoneViewsSetServiceRequest -> ZoneViewsSetService

-- | Update the service information of a resource view or a resource.
--   
--   <i>See:</i> <a>zoneViewsSetService</a> smart constructor.
data ZoneViewsSetService

-- | The name of the resource view.
zvssResourceView :: Lens' ZoneViewsSetService Text

-- | The project name of the resource view.
zvssProject :: Lens' ZoneViewsSetService Text

-- | The zone name of the resource view.
zvssZone :: Lens' ZoneViewsSetService Text

-- | Multipart request metadata.
zvssPayload :: Lens' ZoneViewsSetService ZoneViewsSetServiceRequest
instance GHC.Generics.Generic Network.Google.Resource.ResourceViews.ZoneViews.SetService.ZoneViewsSetService
instance Data.Data.Data Network.Google.Resource.ResourceViews.ZoneViews.SetService.ZoneViewsSetService
instance GHC.Show.Show Network.Google.Resource.ResourceViews.ZoneViews.SetService.ZoneViewsSetService
instance GHC.Classes.Eq Network.Google.Resource.ResourceViews.ZoneViews.SetService.ZoneViewsSetService
instance Network.Google.Types.GoogleRequest Network.Google.Resource.ResourceViews.ZoneViews.SetService.ZoneViewsSetService


-- | Remove resources from the view.
--   
--   <i>See:</i> <a>Google Compute Engine Instance Groups API Reference</a>
--   for <tt>resourceviews.zoneViews.removeResources</tt>.
module Network.Google.Resource.ResourceViews.ZoneViews.RemoveResources

-- | A resource alias for <tt>resourceviews.zoneViews.removeResources</tt>
--   method which the <a>ZoneViewsRemoveResources</a> request conforms to.
type ZoneViewsRemoveResourcesResource = "resourceviews" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("resourceViews" :> (Capture "resourceView" Text :> ("removeResources" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ZoneViewsRemoveResourcesRequest :> Post '[JSON] Operation))))))))))

-- | Creates a value of <a>ZoneViewsRemoveResources</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>zvrrResourceView</a></li>
--   <li><a>zvrrProject</a></li>
--   <li><a>zvrrZone</a></li>
--   <li><a>zvrrPayload</a></li>
--   </ul>
zoneViewsRemoveResources :: Text -> Text -> Text -> ZoneViewsRemoveResourcesRequest -> ZoneViewsRemoveResources

-- | Remove resources from the view.
--   
--   <i>See:</i> <a>zoneViewsRemoveResources</a> smart constructor.
data ZoneViewsRemoveResources

-- | The name of the resource view.
zvrrResourceView :: Lens' ZoneViewsRemoveResources Text

-- | The project name of the resource view.
zvrrProject :: Lens' ZoneViewsRemoveResources Text

-- | The zone name of the resource view.
zvrrZone :: Lens' ZoneViewsRemoveResources Text

-- | Multipart request metadata.
zvrrPayload :: Lens' ZoneViewsRemoveResources ZoneViewsRemoveResourcesRequest
instance GHC.Generics.Generic Network.Google.Resource.ResourceViews.ZoneViews.RemoveResources.ZoneViewsRemoveResources
instance Data.Data.Data Network.Google.Resource.ResourceViews.ZoneViews.RemoveResources.ZoneViewsRemoveResources
instance GHC.Show.Show Network.Google.Resource.ResourceViews.ZoneViews.RemoveResources.ZoneViewsRemoveResources
instance GHC.Classes.Eq Network.Google.Resource.ResourceViews.ZoneViews.RemoveResources.ZoneViewsRemoveResources
instance Network.Google.Types.GoogleRequest Network.Google.Resource.ResourceViews.ZoneViews.RemoveResources.ZoneViewsRemoveResources


-- | List the resources of the resource view.
--   
--   <i>See:</i> <a>Google Compute Engine Instance Groups API Reference</a>
--   for <tt>resourceviews.zoneViews.listResources</tt>.
module Network.Google.Resource.ResourceViews.ZoneViews.ListResources

-- | A resource alias for <tt>resourceviews.zoneViews.listResources</tt>
--   method which the <a>ZoneViewsListResources</a> request conforms to.
type ZoneViewsListResourcesResource = "resourceviews" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("resourceViews" :> (Capture "resourceView" Text :> ("resources" :> (QueryParam "listState" ZoneViewsListResourcesListState :> (QueryParam "format" ZoneViewsListResourcesFormat :> (QueryParam "serviceName" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ZoneViewsListResourcesResponse))))))))))))))

-- | Creates a value of <a>ZoneViewsListResources</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>zvlrResourceView</a></li>
--   <li><a>zvlrListState</a></li>
--   <li><a>zvlrProject</a></li>
--   <li><a>zvlrFormat</a></li>
--   <li><a>zvlrZone</a></li>
--   <li><a>zvlrServiceName</a></li>
--   <li><a>zvlrPageToken</a></li>
--   <li><a>zvlrMaxResults</a></li>
--   </ul>
zoneViewsListResources :: Text -> Text -> Text -> ZoneViewsListResources

-- | List the resources of the resource view.
--   
--   <i>See:</i> <a>zoneViewsListResources</a> smart constructor.
data ZoneViewsListResources

-- | The name of the resource view.
zvlrResourceView :: Lens' ZoneViewsListResources Text

-- | The state of the instance to list. By default, it lists all instances.
zvlrListState :: Lens' ZoneViewsListResources ZoneViewsListResourcesListState

-- | The project name of the resource view.
zvlrProject :: Lens' ZoneViewsListResources Text

-- | The requested format of the return value. It can be URL or URL_PORT. A
--   JSON object will be included in the response based on the format. The
--   default format is NONE, which results in no JSON in the response.
zvlrFormat :: Lens' ZoneViewsListResources (Maybe ZoneViewsListResourcesFormat)

-- | The zone name of the resource view.
zvlrZone :: Lens' ZoneViewsListResources Text

-- | The service name to return in the response. It is optional and if it
--   is not set, all the service end points will be returned.
zvlrServiceName :: Lens' ZoneViewsListResources (Maybe Text)

-- | 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.
zvlrPageToken :: Lens' ZoneViewsListResources (Maybe Text)

-- | Maximum count of results to be returned. Acceptable values are 0 to
--   5000, inclusive. (Default: 5000)
zvlrMaxResults :: Lens' ZoneViewsListResources Int32
instance GHC.Generics.Generic Network.Google.Resource.ResourceViews.ZoneViews.ListResources.ZoneViewsListResources
instance Data.Data.Data Network.Google.Resource.ResourceViews.ZoneViews.ListResources.ZoneViewsListResources
instance GHC.Show.Show Network.Google.Resource.ResourceViews.ZoneViews.ListResources.ZoneViewsListResources
instance GHC.Classes.Eq Network.Google.Resource.ResourceViews.ZoneViews.ListResources.ZoneViewsListResources
instance Network.Google.Types.GoogleRequest Network.Google.Resource.ResourceViews.ZoneViews.ListResources.ZoneViewsListResources


-- | List resource views.
--   
--   <i>See:</i> <a>Google Compute Engine Instance Groups API Reference</a>
--   for <tt>resourceviews.zoneViews.list</tt>.
module Network.Google.Resource.ResourceViews.ZoneViews.List

-- | A resource alias for <tt>resourceviews.zoneViews.list</tt> method
--   which the <a>ZoneViewsList'</a> request conforms to.
type ZoneViewsListResource = "resourceviews" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("resourceViews" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ZoneViewsList)))))))))

-- | Creates a value of <a>ZoneViewsList'</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>zvlProject</a></li>
--   <li><a>zvlZone</a></li>
--   <li><a>zvlPageToken</a></li>
--   <li><a>zvlMaxResults</a></li>
--   </ul>
zoneViewsList' :: Text -> Text -> ZoneViewsList'

-- | List resource views.
--   
--   <i>See:</i> <a>zoneViewsList'</a> smart constructor.
data ZoneViewsList'

-- | The project name of the resource view.
zvlProject :: Lens' ZoneViewsList' Text

-- | The zone name of the resource view.
zvlZone :: Lens' ZoneViewsList' Text

-- | 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.
zvlPageToken :: Lens' ZoneViewsList' (Maybe Text)

-- | Maximum count of results to be returned. Acceptable values are 0 to
--   5000, inclusive. (Default: 5000)
zvlMaxResults :: Lens' ZoneViewsList' Int32
instance GHC.Generics.Generic Network.Google.Resource.ResourceViews.ZoneViews.List.ZoneViewsList'
instance Data.Data.Data Network.Google.Resource.ResourceViews.ZoneViews.List.ZoneViewsList'
instance GHC.Show.Show Network.Google.Resource.ResourceViews.ZoneViews.List.ZoneViewsList'
instance GHC.Classes.Eq Network.Google.Resource.ResourceViews.ZoneViews.List.ZoneViewsList'
instance Network.Google.Types.GoogleRequest Network.Google.Resource.ResourceViews.ZoneViews.List.ZoneViewsList'


-- | Create a resource view.
--   
--   <i>See:</i> <a>Google Compute Engine Instance Groups API Reference</a>
--   for <tt>resourceviews.zoneViews.insert</tt>.
module Network.Google.Resource.ResourceViews.ZoneViews.Insert

-- | A resource alias for <tt>resourceviews.zoneViews.insert</tt> method
--   which the <a>ZoneViewsInsert</a> request conforms to.
type ZoneViewsInsertResource = "resourceviews" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("resourceViews" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ResourceView :> Post '[JSON] Operation))))))))

-- | Creates a value of <a>ZoneViewsInsert</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>zviProject</a></li>
--   <li><a>zviZone</a></li>
--   <li><a>zviPayload</a></li>
--   </ul>
zoneViewsInsert :: Text -> Text -> ResourceView -> ZoneViewsInsert

-- | Create a resource view.
--   
--   <i>See:</i> <a>zoneViewsInsert</a> smart constructor.
data ZoneViewsInsert

-- | The project name of the resource view.
zviProject :: Lens' ZoneViewsInsert Text

-- | The zone name of the resource view.
zviZone :: Lens' ZoneViewsInsert Text

-- | Multipart request metadata.
zviPayload :: Lens' ZoneViewsInsert ResourceView
instance GHC.Generics.Generic Network.Google.Resource.ResourceViews.ZoneViews.Insert.ZoneViewsInsert
instance Data.Data.Data Network.Google.Resource.ResourceViews.ZoneViews.Insert.ZoneViewsInsert
instance GHC.Show.Show Network.Google.Resource.ResourceViews.ZoneViews.Insert.ZoneViewsInsert
instance GHC.Classes.Eq Network.Google.Resource.ResourceViews.ZoneViews.Insert.ZoneViewsInsert
instance Network.Google.Types.GoogleRequest Network.Google.Resource.ResourceViews.ZoneViews.Insert.ZoneViewsInsert


-- | Get the service information of a resource view or a resource.
--   
--   <i>See:</i> <a>Google Compute Engine Instance Groups API Reference</a>
--   for <tt>resourceviews.zoneViews.getService</tt>.
module Network.Google.Resource.ResourceViews.ZoneViews.GetService

-- | A resource alias for <tt>resourceviews.zoneViews.getService</tt>
--   method which the <a>ZoneViewsGetService</a> request conforms to.
type ZoneViewsGetServiceResource = "resourceviews" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("resourceViews" :> (Capture "resourceView" Text :> ("getService" :> (QueryParam "resourceName" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] ZoneViewsGetServiceResponse))))))))))

-- | Creates a value of <a>ZoneViewsGetService</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>zvgsResourceView</a></li>
--   <li><a>zvgsResourceName</a></li>
--   <li><a>zvgsProject</a></li>
--   <li><a>zvgsZone</a></li>
--   </ul>
zoneViewsGetService :: Text -> Text -> Text -> ZoneViewsGetService

-- | Get the service information of a resource view or a resource.
--   
--   <i>See:</i> <a>zoneViewsGetService</a> smart constructor.
data ZoneViewsGetService

-- | The name of the resource view.
zvgsResourceView :: Lens' ZoneViewsGetService Text

-- | The name of the resource if user wants to get the service information
--   of the resource.
zvgsResourceName :: Lens' ZoneViewsGetService (Maybe Text)

-- | The project name of the resource view.
zvgsProject :: Lens' ZoneViewsGetService Text

-- | The zone name of the resource view.
zvgsZone :: Lens' ZoneViewsGetService Text
instance GHC.Generics.Generic Network.Google.Resource.ResourceViews.ZoneViews.GetService.ZoneViewsGetService
instance Data.Data.Data Network.Google.Resource.ResourceViews.ZoneViews.GetService.ZoneViewsGetService
instance GHC.Show.Show Network.Google.Resource.ResourceViews.ZoneViews.GetService.ZoneViewsGetService
instance GHC.Classes.Eq Network.Google.Resource.ResourceViews.ZoneViews.GetService.ZoneViewsGetService
instance Network.Google.Types.GoogleRequest Network.Google.Resource.ResourceViews.ZoneViews.GetService.ZoneViewsGetService


-- | Get the information of a zonal resource view.
--   
--   <i>See:</i> <a>Google Compute Engine Instance Groups API Reference</a>
--   for <tt>resourceviews.zoneViews.get</tt>.
module Network.Google.Resource.ResourceViews.ZoneViews.Get

-- | A resource alias for <tt>resourceviews.zoneViews.get</tt> method which
--   the <a>ZoneViewsGet</a> request conforms to.
type ZoneViewsGetResource = "resourceviews" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("resourceViews" :> (Capture "resourceView" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ResourceView))))))))

-- | Creates a value of <a>ZoneViewsGet</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>zvgResourceView</a></li>
--   <li><a>zvgProject</a></li>
--   <li><a>zvgZone</a></li>
--   </ul>
zoneViewsGet :: Text -> Text -> Text -> ZoneViewsGet

-- | Get the information of a zonal resource view.
--   
--   <i>See:</i> <a>zoneViewsGet</a> smart constructor.
data ZoneViewsGet

-- | The name of the resource view.
zvgResourceView :: Lens' ZoneViewsGet Text

-- | The project name of the resource view.
zvgProject :: Lens' ZoneViewsGet Text

-- | The zone name of the resource view.
zvgZone :: Lens' ZoneViewsGet Text
instance GHC.Generics.Generic Network.Google.Resource.ResourceViews.ZoneViews.Get.ZoneViewsGet
instance Data.Data.Data Network.Google.Resource.ResourceViews.ZoneViews.Get.ZoneViewsGet
instance GHC.Show.Show Network.Google.Resource.ResourceViews.ZoneViews.Get.ZoneViewsGet
instance GHC.Classes.Eq Network.Google.Resource.ResourceViews.ZoneViews.Get.ZoneViewsGet
instance Network.Google.Types.GoogleRequest Network.Google.Resource.ResourceViews.ZoneViews.Get.ZoneViewsGet


-- | Delete a resource view.
--   
--   <i>See:</i> <a>Google Compute Engine Instance Groups API Reference</a>
--   for <tt>resourceviews.zoneViews.delete</tt>.
module Network.Google.Resource.ResourceViews.ZoneViews.Delete

-- | A resource alias for <tt>resourceviews.zoneViews.delete</tt> method
--   which the <a>ZoneViewsDelete</a> request conforms to.
type ZoneViewsDeleteResource = "resourceviews" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("resourceViews" :> (Capture "resourceView" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation))))))))

-- | Creates a value of <a>ZoneViewsDelete</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>zvdResourceView</a></li>
--   <li><a>zvdProject</a></li>
--   <li><a>zvdZone</a></li>
--   </ul>
zoneViewsDelete :: Text -> Text -> Text -> ZoneViewsDelete

-- | Delete a resource view.
--   
--   <i>See:</i> <a>zoneViewsDelete</a> smart constructor.
data ZoneViewsDelete

-- | The name of the resource view.
zvdResourceView :: Lens' ZoneViewsDelete Text

-- | The project name of the resource view.
zvdProject :: Lens' ZoneViewsDelete Text

-- | The zone name of the resource view.
zvdZone :: Lens' ZoneViewsDelete Text
instance GHC.Generics.Generic Network.Google.Resource.ResourceViews.ZoneViews.Delete.ZoneViewsDelete
instance Data.Data.Data Network.Google.Resource.ResourceViews.ZoneViews.Delete.ZoneViewsDelete
instance GHC.Show.Show Network.Google.Resource.ResourceViews.ZoneViews.Delete.ZoneViewsDelete
instance GHC.Classes.Eq Network.Google.Resource.ResourceViews.ZoneViews.Delete.ZoneViewsDelete
instance Network.Google.Types.GoogleRequest Network.Google.Resource.ResourceViews.ZoneViews.Delete.ZoneViewsDelete


-- | Add resources to the view.
--   
--   <i>See:</i> <a>Google Compute Engine Instance Groups API Reference</a>
--   for <tt>resourceviews.zoneViews.addResources</tt>.
module Network.Google.Resource.ResourceViews.ZoneViews.AddResources

-- | A resource alias for <tt>resourceviews.zoneViews.addResources</tt>
--   method which the <a>ZoneViewsAddResources</a> request conforms to.
type ZoneViewsAddResourcesResource = "resourceviews" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("resourceViews" :> (Capture "resourceView" Text :> ("addResources" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ZoneViewsAddResourcesRequest :> Post '[JSON] Operation))))))))))

-- | Creates a value of <a>ZoneViewsAddResources</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>zvarResourceView</a></li>
--   <li><a>zvarProject</a></li>
--   <li><a>zvarZone</a></li>
--   <li><a>zvarPayload</a></li>
--   </ul>
zoneViewsAddResources :: Text -> Text -> Text -> ZoneViewsAddResourcesRequest -> ZoneViewsAddResources

-- | Add resources to the view.
--   
--   <i>See:</i> <a>zoneViewsAddResources</a> smart constructor.
data ZoneViewsAddResources

-- | The name of the resource view.
zvarResourceView :: Lens' ZoneViewsAddResources Text

-- | The project name of the resource view.
zvarProject :: Lens' ZoneViewsAddResources Text

-- | The zone name of the resource view.
zvarZone :: Lens' ZoneViewsAddResources Text

-- | Multipart request metadata.
zvarPayload :: Lens' ZoneViewsAddResources ZoneViewsAddResourcesRequest
instance GHC.Generics.Generic Network.Google.Resource.ResourceViews.ZoneViews.AddResources.ZoneViewsAddResources
instance Data.Data.Data Network.Google.Resource.ResourceViews.ZoneViews.AddResources.ZoneViewsAddResources
instance GHC.Show.Show Network.Google.Resource.ResourceViews.ZoneViews.AddResources.ZoneViewsAddResources
instance GHC.Classes.Eq Network.Google.Resource.ResourceViews.ZoneViews.AddResources.ZoneViewsAddResources
instance Network.Google.Types.GoogleRequest Network.Google.Resource.ResourceViews.ZoneViews.AddResources.ZoneViewsAddResources


-- | Retrieves the list of operation resources contained within the
--   specified zone.
--   
--   <i>See:</i> <a>Google Compute Engine Instance Groups API Reference</a>
--   for <tt>resourceviews.zoneOperations.list</tt>.
module Network.Google.Resource.ResourceViews.ZoneOperations.List

-- | A resource alias for <tt>resourceviews.zoneOperations.list</tt> method
--   which the <a>ZoneOperationsList</a> request conforms to.
type ZoneOperationsListResource = "resourceviews" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("operations" :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] OperationList))))))))))

-- | Creates a value of <a>ZoneOperationsList</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>zolProject</a></li>
--   <li><a>zolZone</a></li>
--   <li><a>zolFilter</a></li>
--   <li><a>zolPageToken</a></li>
--   <li><a>zolMaxResults</a></li>
--   </ul>
zoneOperationsList :: Text -> Text -> ZoneOperationsList

-- | Retrieves the list of operation resources contained within the
--   specified zone.
--   
--   <i>See:</i> <a>zoneOperationsList</a> smart constructor.
data ZoneOperationsList

-- | Name of the project scoping this request.
zolProject :: Lens' ZoneOperationsList Text

-- | Name of the zone scoping this request.
zolZone :: Lens' ZoneOperationsList Text

-- | Optional. Filter expression for filtering listed resources.
zolFilter :: Lens' ZoneOperationsList (Maybe Text)

-- | Optional. Tag returned by a previous list request truncated by
--   maxResults. Used to continue a previous list request.
zolPageToken :: Lens' ZoneOperationsList (Maybe Text)

-- | Optional. Maximum count of results to be returned. Maximum value is
--   500 and default value is 500.
zolMaxResults :: Lens' ZoneOperationsList Word32
instance GHC.Generics.Generic Network.Google.Resource.ResourceViews.ZoneOperations.List.ZoneOperationsList
instance Data.Data.Data Network.Google.Resource.ResourceViews.ZoneOperations.List.ZoneOperationsList
instance GHC.Show.Show Network.Google.Resource.ResourceViews.ZoneOperations.List.ZoneOperationsList
instance GHC.Classes.Eq Network.Google.Resource.ResourceViews.ZoneOperations.List.ZoneOperationsList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.ResourceViews.ZoneOperations.List.ZoneOperationsList


-- | Retrieves the specified zone-specific operation resource.
--   
--   <i>See:</i> <a>Google Compute Engine Instance Groups API Reference</a>
--   for <tt>resourceviews.zoneOperations.get</tt>.
module Network.Google.Resource.ResourceViews.ZoneOperations.Get

-- | A resource alias for <tt>resourceviews.zoneOperations.get</tt> method
--   which the <a>ZoneOperationsGet</a> request conforms to.
type ZoneOperationsGetResource = "resourceviews" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("operations" :> (Capture "operation" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Operation))))))))

-- | Creates a value of <a>ZoneOperationsGet</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>zogProject</a></li>
--   <li><a>zogOperation</a></li>
--   <li><a>zogZone</a></li>
--   </ul>
zoneOperationsGet :: Text -> Text -> Text -> ZoneOperationsGet

-- | Retrieves the specified zone-specific operation resource.
--   
--   <i>See:</i> <a>zoneOperationsGet</a> smart constructor.
data ZoneOperationsGet

-- | Name of the project scoping this request.
zogProject :: Lens' ZoneOperationsGet Text

-- | Name of the operation resource to return.
zogOperation :: Lens' ZoneOperationsGet Text

-- | Name of the zone scoping this request.
zogZone :: Lens' ZoneOperationsGet Text
instance GHC.Generics.Generic Network.Google.Resource.ResourceViews.ZoneOperations.Get.ZoneOperationsGet
instance Data.Data.Data Network.Google.Resource.ResourceViews.ZoneOperations.Get.ZoneOperationsGet
instance GHC.Show.Show Network.Google.Resource.ResourceViews.ZoneOperations.Get.ZoneOperationsGet
instance GHC.Classes.Eq Network.Google.Resource.ResourceViews.ZoneOperations.Get.ZoneOperationsGet
instance Network.Google.Types.GoogleRequest Network.Google.Resource.ResourceViews.ZoneOperations.Get.ZoneOperationsGet


-- | The Resource View API allows users to create and manage logical sets
--   of Google Compute Engine instances.
--   
--   <i>See:</i> <a>Google Compute Engine Instance Groups API Reference</a>
module Network.Google.ResourceViews

-- | Default request referring to version <tt>v1beta2</tt> of the Google
--   Compute Engine Instance Groups API. This contains the host and root
--   path used as a starting point for constructing service requests.
resourceViewsService :: ServiceConfig

-- | View and manage your Google Compute Engine resources
computeScope :: Proxy '["https://www.googleapis.com/auth/compute"]

-- | View your data across Google Cloud Platform services
cloudPlatformReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform.read-only"]

-- | View and manage your data across Google Cloud Platform services
cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]

-- | View and manage your Google Cloud Platform management resources and
--   deployment status information
ndevCloudmanScope :: Proxy '["https://www.googleapis.com/auth/ndev.cloudman"]

-- | View your Google Cloud Platform management resources and deployment
--   status information
ndevCloudmanReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/ndev.cloudman.readonly"]

-- | View your Google Compute Engine resources
computeReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/compute.readonly"]

-- | Represents the entirety of the methods and resources available for the
--   Google Compute Engine Instance Groups API service.
type ResourceViewsAPI = ZoneViewsSetServiceResource :<|> (ZoneViewsInsertResource :<|> (ZoneViewsListResource :<|> (ZoneViewsListResourcesResource :<|> (ZoneViewsGetResource :<|> (ZoneViewsRemoveResourcesResource :<|> (ZoneViewsAddResourcesResource :<|> (ZoneViewsGetServiceResource :<|> (ZoneViewsDeleteResource :<|> (ZoneOperationsListResource :<|> ZoneOperationsGetResource)))))))))
data OperationWarningsItemDataItem

-- | Creates a value of <a>OperationWarningsItemDataItem</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>owidiValue</a></li>
--   <li><a>owidiKey</a></li>
--   </ul>
operationWarningsItemDataItem :: OperationWarningsItemDataItem

-- | <ul>
--   <li><i>Output Only</i> Metadata value for this warning.</li>
--   </ul>
owidiValue :: Lens' OperationWarningsItemDataItem (Maybe Text)

-- | <ul>
--   <li><i>Output Only</i> Metadata key for this warning.</li>
--   </ul>
owidiKey :: Lens' OperationWarningsItemDataItem (Maybe Text)
data OperationList

-- | Creates a value of <a>OperationList</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>olNextPageToken</a></li>
--   <li><a>olKind</a></li>
--   <li><a>olItems</a></li>
--   <li><a>olSelfLink</a></li>
--   <li><a>olId</a></li>
--   </ul>
operationList :: OperationList

-- | A token used to continue a truncated list request (output only).
olNextPageToken :: Lens' OperationList (Maybe Text)

-- | Type of resource.
olKind :: Lens' OperationList Text

-- | The operation resources.
olItems :: Lens' OperationList [Operation]

-- | Server defined URL for this resource (output only).
olSelfLink :: Lens' OperationList (Maybe Text)

-- | Unique identifier for the resource; defined by the server (output
--   only).
olId :: Lens' OperationList (Maybe Text)

-- | The resource view object.
--   
--   <i>See:</i> <a>resourceView</a> smart constructor.
data ResourceView

-- | Creates a value of <a>ResourceView</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rvSize</a></li>
--   <li><a>rvKind</a></li>
--   <li><a>rvFingerprint</a></li>
--   <li><a>rvNetwork</a></li>
--   <li><a>rvResources</a></li>
--   <li><a>rvSelfLink</a></li>
--   <li><a>rvName</a></li>
--   <li><a>rvCreationTimestamp</a></li>
--   <li><a>rvId</a></li>
--   <li><a>rvLabels</a></li>
--   <li><a>rvEndpoints</a></li>
--   <li><a>rvDescription</a></li>
--   </ul>
resourceView :: ResourceView

-- | The total number of resources in the resource view.
rvSize :: Lens' ResourceView (Maybe Word32)

-- | Type of the resource.
rvKind :: Lens' ResourceView Text

-- | The fingerprint of the service endpoint information.
rvFingerprint :: Lens' ResourceView (Maybe Text)

-- | The URL of a Compute Engine network to which the resources in the view
--   belong.
rvNetwork :: Lens' ResourceView (Maybe Text)

-- | A list of all resources in the resource view.
rvResources :: Lens' ResourceView [Text]

-- | <ul>
--   <li><i>Output Only</i> A self-link to the resource view.</li>
--   </ul>
rvSelfLink :: Lens' ResourceView (Maybe Text)

-- | The name of the resource view.
rvName :: Lens' ResourceView (Maybe Text)

-- | The creation time of the resource view.
rvCreationTimestamp :: Lens' ResourceView (Maybe Text)

-- | <ul>
--   <li><i>Output Only</i> The ID of the resource view.</li>
--   </ul>
rvId :: Lens' ResourceView (Maybe Text)

-- | The labels for events.
rvLabels :: Lens' ResourceView [Label]

-- | Services endpoint information.
rvEndpoints :: Lens' ResourceView [ServiceEndpoint]

-- | The detailed description of the resource view.
rvDescription :: Lens' ResourceView (Maybe Text)

-- | The response to a list request.
--   
--   <i>See:</i> <a>zoneViewsList</a> smart constructor.
data ZoneViewsList

-- | Creates a value of <a>ZoneViewsList</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>zvlNextPageToken</a></li>
--   <li><a>zvlKind</a></li>
--   <li><a>zvlItems</a></li>
--   <li><a>zvlSelfLink</a></li>
--   </ul>
zoneViewsList :: ZoneViewsList

-- | A token used for pagination.
zvlNextPageToken :: Lens' ZoneViewsList (Maybe Text)

-- | Type of resource.
zvlKind :: Lens' ZoneViewsList Text

-- | The result that contains all resource views that meet the criteria.
zvlItems :: Lens' ZoneViewsList [ResourceView]

-- | Server defined URL for this resource (output only).
zvlSelfLink :: Lens' ZoneViewsList (Maybe Text)

-- | An operation resource, used to manage asynchronous API requests.
--   
--   <i>See:</i> <a>operation</a> smart constructor.
data Operation

-- | Creates a value of <a>Operation</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>oTargetId</a></li>
--   <li><a>oStatus</a></li>
--   <li><a>oInsertTime</a></li>
--   <li><a>oProgress</a></li>
--   <li><a>oStartTime</a></li>
--   <li><a>oKind</a></li>
--   <li><a>oError</a></li>
--   <li><a>oHTTPErrorMessage</a></li>
--   <li><a>oZone</a></li>
--   <li><a>oWarnings</a></li>
--   <li><a>oHTTPErrorStatusCode</a></li>
--   <li><a>oUser</a></li>
--   <li><a>oSelfLink</a></li>
--   <li><a>oName</a></li>
--   <li><a>oStatusMessage</a></li>
--   <li><a>oCreationTimestamp</a></li>
--   <li><a>oEndTime</a></li>
--   <li><a>oId</a></li>
--   <li><a>oOperationType</a></li>
--   <li><a>oRegion</a></li>
--   <li><a>oTargetLink</a></li>
--   <li><a>oClientOperationId</a></li>
--   </ul>
operation :: Operation

-- | <ul>
--   <li><i>Output Only</i> Unique target ID which identifies a particular
--   incarnation of the target.</li>
--   </ul>
oTargetId :: Lens' Operation (Maybe Word64)

-- | <ul>
--   <li><i>Output Only</i> Status of the operation.</li>
--   </ul>
oStatus :: Lens' Operation (Maybe Text)

-- | <ul>
--   <li><i>Output Only</i> The time that this operation was requested, in
--   RFC3339 text format.</li>
--   </ul>
oInsertTime :: Lens' Operation (Maybe Text)

-- | <ul>
--   <li><i>Output only</i> 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.</li>
--   </ul>
oProgress :: Lens' Operation (Maybe Int32)

-- | <ul>
--   <li><i>Output Only</i> The time that this operation was started by the
--   server, in RFC3339 text format.</li>
--   </ul>
oStartTime :: Lens' Operation (Maybe Text)

-- | <ul>
--   <li><i>Output only</i> Type of the resource.</li>
--   </ul>
oKind :: Lens' Operation Text

-- | <ul>
--   <li><i>Output Only</i> If errors occurred during processing of this
--   operation, this field will be populated.</li>
--   </ul>
oError :: Lens' Operation (Maybe OperationError)

-- | <ul>
--   <li><i>Output only</i> If operation fails, the HTTP error message
--   returned.</li>
--   </ul>
oHTTPErrorMessage :: Lens' Operation (Maybe Text)

-- | <ul>
--   <li><i>Output Only</i> URL of the zone where the operation resides.
--   Only available when performing per-zone operations.</li>
--   </ul>
oZone :: Lens' Operation (Maybe Text)

-- | <ul>
--   <li><i>Output Only</i> If there are issues with this operation, a
--   warning is returned.</li>
--   </ul>
oWarnings :: Lens' Operation [OperationWarningsItem]

-- | <ul>
--   <li><i>Output only</i> If operation fails, the HTTP error status code
--   returned.</li>
--   </ul>
oHTTPErrorStatusCode :: Lens' Operation (Maybe Int32)

-- | <ul>
--   <li><i>Output Only</i> User who requested the operation, for example:
--   user'example.com.</li>
--   </ul>
oUser :: Lens' Operation (Maybe Text)

-- | <ul>
--   <li><i>Output Only</i> Server-defined fully-qualified URL for this
--   resource.</li>
--   </ul>
oSelfLink :: Lens' Operation (Maybe Text)

-- | <ul>
--   <li><i>Output Only</i> Name of the resource.</li>
--   </ul>
oName :: Lens' Operation (Maybe Text)

-- | <ul>
--   <li><i>Output Only</i> An optional textual description of the current
--   status of the operation.</li>
--   </ul>
oStatusMessage :: Lens' Operation (Maybe Text)

-- | <ul>
--   <li><i>Output Only</i> The time that this operation was requested, in
--   RFC3339 text format.</li>
--   </ul>
oCreationTimestamp :: Lens' Operation (Maybe Text)

-- | <ul>
--   <li><i>Output Only</i> The time that this operation was completed, in
--   RFC3339 text format.</li>
--   </ul>
oEndTime :: Lens' Operation (Maybe Text)

-- | <ul>
--   <li><i>Output Only</i> Unique identifier for the resource, generated
--   by the server.</li>
--   </ul>
oId :: Lens' Operation (Maybe Word64)

-- | <ul>
--   <li><i>Output only</i> Type of the operation. Operations include
--   insert, update, and delete.</li>
--   </ul>
oOperationType :: Lens' Operation (Maybe Text)

-- | <ul>
--   <li><i>Output Only</i> URL of the region where the operation resides.
--   Only available when performing regional operations.</li>
--   </ul>
oRegion :: Lens' Operation (Maybe Text)

-- | <ul>
--   <li><i>Output only</i> URL of the resource the operation is
--   mutating.</li>
--   </ul>
oTargetLink :: Lens' Operation (Maybe Text)

-- | <ul>
--   <li><i>Output only</i> An optional identifier specified by the client
--   when the mutation was initiated. Must be unique for all operation
--   resources in the project.</li>
--   </ul>
oClientOperationId :: Lens' Operation (Maybe Text)

-- | The requested format of the return value. It can be URL or URL_PORT. A
--   JSON object will be included in the response based on the format. The
--   default format is NONE, which results in no JSON in the response.
data ZoneViewsListResourcesFormat

-- | <pre>
--   NONE
--   </pre>
None :: ZoneViewsListResourcesFormat

-- | <pre>
--   URL
--   </pre>
URL :: ZoneViewsListResourcesFormat

-- | <pre>
--   URL_PORT
--   </pre>
URLPort :: ZoneViewsListResourcesFormat

-- | The response to a list resource request.
--   
--   <i>See:</i> <a>zoneViewsListResourcesResponse</a> smart constructor.
data ZoneViewsListResourcesResponse

-- | Creates a value of <a>ZoneViewsListResourcesResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>zvlrrNextPageToken</a></li>
--   <li><a>zvlrrItems</a></li>
--   <li><a>zvlrrNetwork</a></li>
--   </ul>
zoneViewsListResourcesResponse :: ZoneViewsListResourcesResponse

-- | A token used for pagination.
zvlrrNextPageToken :: Lens' ZoneViewsListResourcesResponse (Maybe Text)

-- | The formatted JSON that is requested by the user.
zvlrrItems :: Lens' ZoneViewsListResourcesResponse [ListResourceResponseItem]

-- | The URL of a Compute Engine network to which the resources in the view
--   belong.
zvlrrNetwork :: Lens' ZoneViewsListResourcesResponse (Maybe Text)

-- | The service endpoint that may be started in a VM.
--   
--   <i>See:</i> <a>serviceEndpoint</a> smart constructor.
data ServiceEndpoint

-- | Creates a value of <a>ServiceEndpoint</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>seName</a></li>
--   <li><a>sePort</a></li>
--   </ul>
serviceEndpoint :: ServiceEndpoint

-- | The name of the service endpoint.
seName :: Lens' ServiceEndpoint (Maybe Text)

-- | The port of the service endpoint.
sePort :: Lens' ServiceEndpoint (Maybe Int32)

-- | The state of the instance to list. By default, it lists all instances.
data ZoneViewsListResourcesListState

-- | <pre>
--   ALL
--   </pre>
All :: ZoneViewsListResourcesListState

-- | <pre>
--   RUNNING
--   </pre>
Running :: ZoneViewsListResourcesListState

-- | The request to remove resources from the resource view.
--   
--   <i>See:</i> <a>zoneViewsRemoveResourcesRequest</a> smart constructor.
data ZoneViewsRemoveResourcesRequest

-- | Creates a value of <a>ZoneViewsRemoveResourcesRequest</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>zvrrrResources</a></li>
--   </ul>
zoneViewsRemoveResourcesRequest :: ZoneViewsRemoveResourcesRequest

-- | The list of resources to be removed.
zvrrrResources :: Lens' ZoneViewsRemoveResourcesRequest [Text]

-- | The list of service end points on the resource.
--   
--   <i>See:</i> <a>listResourceResponseItemEndpoints</a> smart
--   constructor.
data ListResourceResponseItemEndpoints

-- | Creates a value of <a>ListResourceResponseItemEndpoints</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lrrieAddtional</a></li>
--   </ul>
listResourceResponseItemEndpoints :: HashMap Text [Int32] -> ListResourceResponseItemEndpoints

-- | The name of the service end point.
lrrieAddtional :: Lens' ListResourceResponseItemEndpoints (HashMap Text [Int32])

-- | The request to add resources to the resource view.
--   
--   <i>See:</i> <a>zoneViewsAddResourcesRequest</a> smart constructor.
data ZoneViewsAddResourcesRequest

-- | Creates a value of <a>ZoneViewsAddResourcesRequest</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>zvarrResources</a></li>
--   </ul>
zoneViewsAddResourcesRequest :: ZoneViewsAddResourcesRequest

-- | The list of resources to be added.
zvarrResources :: Lens' ZoneViewsAddResourcesRequest [Text]

-- | <ul>
--   <li><i>Output Only</i> If errors occurred during processing of this
--   operation, this field will be populated.</li>
--   </ul>
--   
--   <i>See:</i> <a>operationError</a> smart constructor.
data OperationError

-- | Creates a value of <a>OperationError</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>oeErrors</a></li>
--   </ul>
operationError :: OperationError

-- | <ul>
--   <li><i>Output Only</i> The array of errors encountered while
--   processing this operation.</li>
--   </ul>
oeErrors :: Lens' OperationError [OperationErrorErrorsItem]
data ZoneViewsGetServiceResponse

-- | Creates a value of <a>ZoneViewsGetServiceResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>zvgsrFingerprint</a></li>
--   <li><a>zvgsrEndpoints</a></li>
--   </ul>
zoneViewsGetServiceResponse :: ZoneViewsGetServiceResponse

-- | The fingerprint of the service information.
zvgsrFingerprint :: Lens' ZoneViewsGetServiceResponse (Maybe Text)

-- | The service information.
zvgsrEndpoints :: Lens' ZoneViewsGetServiceResponse [ServiceEndpoint]
data OperationErrorErrorsItem

-- | Creates a value of <a>OperationErrorErrorsItem</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>oeeiLocation</a></li>
--   <li><a>oeeiCode</a></li>
--   <li><a>oeeiMessage</a></li>
--   </ul>
operationErrorErrorsItem :: OperationErrorErrorsItem

-- | <ul>
--   <li><i>Output Only</i> Indicates the field in the request which caused
--   the error. This property is optional.</li>
--   </ul>
oeeiLocation :: Lens' OperationErrorErrorsItem (Maybe Text)

-- | <ul>
--   <li><i>Output Only</i> The error type identifier for this error.</li>
--   </ul>
oeeiCode :: Lens' OperationErrorErrorsItem (Maybe Text)

-- | <ul>
--   <li><i>Output Only</i> An optional, human-readable error message.</li>
--   </ul>
oeeiMessage :: Lens' OperationErrorErrorsItem (Maybe Text)
data ZoneViewsSetServiceRequest

-- | Creates a value of <a>ZoneViewsSetServiceRequest</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>zvssrResourceName</a></li>
--   <li><a>zvssrFingerprint</a></li>
--   <li><a>zvssrEndpoints</a></li>
--   </ul>
zoneViewsSetServiceRequest :: ZoneViewsSetServiceRequest

-- | The name of the resource if user wants to update the service
--   information of the resource.
zvssrResourceName :: Lens' ZoneViewsSetServiceRequest (Maybe Text)

-- | Fingerprint of the service information; a hash of the contents. This
--   field is used for optimistic locking when updating the service
--   entries.
zvssrFingerprint :: Lens' ZoneViewsSetServiceRequest (Maybe Text)

-- | The service information to be updated.
zvssrEndpoints :: Lens' ZoneViewsSetServiceRequest [ServiceEndpoint]

-- | The list response item that contains the resource and end points
--   information.
--   
--   <i>See:</i> <a>listResourceResponseItem</a> smart constructor.
data ListResourceResponseItem

-- | Creates a value of <a>ListResourceResponseItem</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lrriResource</a></li>
--   <li><a>lrriEndpoints</a></li>
--   </ul>
listResourceResponseItem :: ListResourceResponseItem

-- | The full URL of the resource.
lrriResource :: Lens' ListResourceResponseItem (Maybe Text)

-- | The list of service end points on the resource.
lrriEndpoints :: Lens' ListResourceResponseItem (Maybe ListResourceResponseItemEndpoints)

-- | The Label to be applied to the resource views.
--   
--   <i>See:</i> <a>label</a> smart constructor.
data Label

-- | Creates a value of <a>Label</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lValue</a></li>
--   <li><a>lKey</a></li>
--   </ul>
label :: Label

-- | Value of the label.
lValue :: Lens' Label (Maybe Text)

-- | Key of the label.
lKey :: Lens' Label (Maybe Text)
data OperationWarningsItem

-- | Creates a value of <a>OperationWarningsItem</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>owiData</a></li>
--   <li><a>owiCode</a></li>
--   <li><a>owiMessage</a></li>
--   </ul>
operationWarningsItem :: OperationWarningsItem

-- | <ul>
--   <li><i>Output only</i> Metadata for this warning in key:value
--   format.</li>
--   </ul>
owiData :: Lens' OperationWarningsItem [OperationWarningsItemDataItem]

-- | <ul>
--   <li><i>Output only</i> The warning type identifier for this
--   warning.</li>
--   </ul>
owiCode :: Lens' OperationWarningsItem (Maybe Text)

-- | <ul>
--   <li><i>Output only</i> Optional human-readable details for this
--   warning.</li>
--   </ul>
owiMessage :: Lens' OperationWarningsItem (Maybe Text)
