# Cloud Security Compliance V1 API - Class Google::Cloud::CloudSecurityCompliance::V1::Deployment::Client (v0.5.0)

0.5.0 (latest) 0.4.1 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Cloud Security Compliance V1 API class Google::Cloud::CloudSecurityCompliance::V1::Deployment::Client.

Client for the Deployment service.


<br />

Deployment service allows users to manage deployments of Frameworks and
Cloud Controls on a target resource.

## Inherits

- Object

## Includes

- [Google::Cloud::CloudSecurityCompliance::V1::Deployment::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-Deployment-Paths)

## Methods

### .configure

    def self.configure() { |config| ... } -> Client::Configuration

Configure the Deployment Client class.


<br />

See [Configuration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-Deployment-Client-Configuration "Google::Cloud::CloudSecurityCompliance::V1::Deployment::Client::Configuration (class)")
for a description of the configuration fields.
**Yields**

- (config) --- Configure the Client client.
**Yield Parameter**

- **config** ([Client::Configuration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-Deployment-Client-Configuration))
**Returns**

- ([Client::Configuration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-Deployment-Client-Configuration))
**Example**

```ruby
# Modify the configuration for all Deployment clients
::Google::Cloud::CloudSecurityCompliance::V1::Deployment::Client.configure do |config|
  config.timeout = 10.0
end
```

### #configure

    def configure() { |config| ... } -> Client::Configuration

Configure the Deployment Client instance.


The configuration is set to the derived mode, meaning that values can be changed,
but structural changes (adding new fields, etc.) are not allowed. Structural changes
should be made on [Client.configure](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-Deployment-Client#Google__Cloud__CloudSecurityCompliance__V1__Deployment__Client_configure_class_ "Google::Cloud::CloudSecurityCompliance::V1::Deployment::Client.configure (method)").

<br />

See [Configuration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-Deployment-Client-Configuration "Google::Cloud::CloudSecurityCompliance::V1::Deployment::Client::Configuration (class)")
for a description of the configuration fields.
**Yields**

- (config) --- Configure the Client client.
**Yield Parameter**

- **config** ([Client::Configuration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-Deployment-Client-Configuration))
**Returns**

- ([Client::Configuration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-Deployment-Client-Configuration))

### #create_framework_deployment

    def create_framework_deployment(request, options = nil) -> ::Gapic::Operation
    def create_framework_deployment(parent: nil, framework_deployment_id: nil, framework_deployment: nil) -> ::Gapic::Operation

Creates a framework deployment in a given parent resource. A
framework deployment lets you assign a particular framework version to an
organization, folder, or project so that you can control and monitor
those resources using the framework's cloud controls.
**Overloads**

    def create_framework_deployment(request, options = nil) -> ::Gapic::Operation

Pass arguments to `create_framework_deployment` via a request object, either of type [CreateFrameworkDeploymentRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-CreateFrameworkDeploymentRequest "Google::Cloud::CloudSecurityCompliance::V1::CreateFrameworkDeploymentRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::CloudSecurityCompliance::V1::CreateFrameworkDeploymentRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-CreateFrameworkDeploymentRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def create_framework_deployment(parent: nil, framework_deployment_id: nil, framework_deployment: nil) -> ::Gapic::Operation

Pass arguments to `create_framework_deployment` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameters**

- **parent** (::String) --- Required. The parent resource of the framework deployment in the format `organizations/{organization}/locations/{location}` or `projects/{project}/locations/{location}`. Only the global location is supported.
- **framework_deployment_id** (::String) --- Optional. An identifier for the framework deployment that's unique in scope of the parent. If you don't specify a value, then a random UUID is generated.
- **framework_deployment** ([::Google::Cloud::CloudSecurityCompliance::V1::FrameworkDeployment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-FrameworkDeployment), ::Hash) --- Required. The framework deployment that you're creating.
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** (::Gapic::Operation)
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- (::Gapic::Operation)
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/cloud_security_compliance/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::CloudSecurityCompliance::V1::Deployment::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::CloudSecurityCompliance::V1::CreateFrameworkDeploymentRequest.new

# Call the create_framework_deployment method.
result = client.create_framework_deployment request

# The returned object is of type Gapic::Operation. You can use it to
# check the status of an operation, cancel it, or wait for results.
# Here is how to wait for a response.
result.wait_until_done! timeout: 60
if result.response?
  p result.response
else
  puts "No response received."
end
```

### #delete_framework_deployment

    def delete_framework_deployment(request, options = nil) -> ::Gapic::Operation
    def delete_framework_deployment(name: nil, etag: nil) -> ::Gapic::Operation

Deletes a framework deployment.
**Overloads**

    def delete_framework_deployment(request, options = nil) -> ::Gapic::Operation

Pass arguments to `delete_framework_deployment` via a request object, either of type [Google::Cloud::CloudSecurityCompliance::V1::DeleteFrameworkDeploymentRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-DeleteFrameworkDeploymentRequest "Google::Cloud::CloudSecurityCompliance::V1::DeleteFrameworkDeploymentRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::CloudSecurityCompliance::V1::DeleteFrameworkDeploymentRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-DeleteFrameworkDeploymentRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def delete_framework_deployment(name: nil, etag: nil) -> ::Gapic::Operation

Pass arguments to `delete_framework_deployment` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameters**

- **name** (::String) --- Required. The name of the framework deployment that you want to delete, in the format `organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment}` or `projects/{project}/locations/{location}/frameworkDeployments/{framework_deployment}`. The only supported location is `global`.
- **etag** (::String) --- Optional. An opaque identifier for the current version of the resource.


  If you provide this value, then it must match the existing value. If the
  values don't match, then the request fails with an
  \[`ABORTED`\]\[google.rpc.Code.ABORTED\] error.

  If you omit this value, then the resource is deleted regardless of its
  current `etag` value.
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** (::Gapic::Operation)
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- (::Gapic::Operation)
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/cloud_security_compliance/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::CloudSecurityCompliance::V1::Deployment::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::CloudSecurityCompliance::V1::DeleteFrameworkDeploymentRequest.new

# Call the delete_framework_deployment method.
result = client.delete_framework_deployment request

# The returned object is of type Gapic::Operation. You can use it to
# check the status of an operation, cancel it, or wait for results.
# Here is how to wait for a response.
result.wait_until_done! timeout: 60
if result.response?
  p result.response
else
  puts "No response received."
end
```

### #get_cloud_control_deployment

    def get_cloud_control_deployment(request, options = nil) -> ::Google::Cloud::CloudSecurityCompliance::V1::CloudControlDeployment
    def get_cloud_control_deployment(name: nil) -> ::Google::Cloud::CloudSecurityCompliance::V1::CloudControlDeployment

Gets details about a cloud control deployment.
**Overloads**

    def get_cloud_control_deployment(request, options = nil) -> ::Google::Cloud::CloudSecurityCompliance::V1::CloudControlDeployment

Pass arguments to `get_cloud_control_deployment` via a request object, either of type [GetCloudControlDeploymentRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-GetCloudControlDeploymentRequest "Google::Cloud::CloudSecurityCompliance::V1::GetCloudControlDeploymentRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::CloudSecurityCompliance::V1::GetCloudControlDeploymentRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-GetCloudControlDeploymentRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def get_cloud_control_deployment(name: nil) -> ::Google::Cloud::CloudSecurityCompliance::V1::CloudControlDeployment

Pass arguments to `get_cloud_control_deployment` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameter**

- **name** (::String) --- Required. The name for the cloud control deployment, in the format `organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}` or `projects/{project}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`. The only supported location is `global`.
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Cloud::CloudSecurityCompliance::V1::CloudControlDeployment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-CloudControlDeployment))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Cloud::CloudSecurityCompliance::V1::CloudControlDeployment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-CloudControlDeployment))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/cloud_security_compliance/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::CloudSecurityCompliance::V1::Deployment::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::CloudSecurityCompliance::V1::GetCloudControlDeploymentRequest.new

# Call the get_cloud_control_deployment method.
result = client.get_cloud_control_deployment request

# The returned object is of type Google::Cloud::CloudSecurityCompliance::V1::CloudControlDeployment.
p result
```

### #get_framework_deployment

    def get_framework_deployment(request, options = nil) -> ::Google::Cloud::CloudSecurityCompliance::V1::FrameworkDeployment
    def get_framework_deployment(name: nil) -> ::Google::Cloud::CloudSecurityCompliance::V1::FrameworkDeployment

Gets details about a framework deployment.
**Overloads**

    def get_framework_deployment(request, options = nil) -> ::Google::Cloud::CloudSecurityCompliance::V1::FrameworkDeployment

Pass arguments to `get_framework_deployment` via a request object, either of type [GetFrameworkDeploymentRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-GetFrameworkDeploymentRequest "Google::Cloud::CloudSecurityCompliance::V1::GetFrameworkDeploymentRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::CloudSecurityCompliance::V1::GetFrameworkDeploymentRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-GetFrameworkDeploymentRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def get_framework_deployment(name: nil) -> ::Google::Cloud::CloudSecurityCompliance::V1::FrameworkDeployment

Pass arguments to `get_framework_deployment` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameter**

- **name** (::String) --- Required. The name of the framework deployment, in the format `organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment}` or `projects/{project}/locations/{location}/frameworkDeployments/{framework_deployment}`. The only supported location is `global`.
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** ([::Google::Cloud::CloudSecurityCompliance::V1::FrameworkDeployment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-FrameworkDeployment))
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- ([::Google::Cloud::CloudSecurityCompliance::V1::FrameworkDeployment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-FrameworkDeployment))
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/cloud_security_compliance/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::CloudSecurityCompliance::V1::Deployment::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::CloudSecurityCompliance::V1::GetFrameworkDeploymentRequest.new

# Call the get_framework_deployment method.
result = client.get_framework_deployment request

# The returned object is of type Google::Cloud::CloudSecurityCompliance::V1::FrameworkDeployment.
p result
```

### #initialize

    def initialize() { |config| ... } -> Client

Create a new Deployment client object.
**Yields**

- (config) --- Configure the Deployment client.
**Yield Parameter**

- **config** ([Client::Configuration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-Deployment-Client-Configuration))
**Returns**

- ([Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-Deployment-Client)) --- a new instance of Client
**Example**

```ruby
# Create a client using the default configuration
client = ::Google::Cloud::CloudSecurityCompliance::V1::Deployment::Client.new

# Create a client using a custom configuration
client = ::Google::Cloud::CloudSecurityCompliance::V1::Deployment::Client.new do |config|
  config.timeout = 10.0
end
```

### #list_cloud_control_deployments

    def list_cloud_control_deployments(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::CloudSecurityCompliance::V1::CloudControlDeployment>
    def list_cloud_control_deployments(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::CloudSecurityCompliance::V1::CloudControlDeployment>

Lists the cloud conrol deployments in a given parent resource.
**Overloads**

    def list_cloud_control_deployments(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::CloudSecurityCompliance::V1::CloudControlDeployment>

Pass arguments to `list_cloud_control_deployments` via a request object, either of type [ListCloudControlDeploymentsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-ListCloudControlDeploymentsRequest "Google::Cloud::CloudSecurityCompliance::V1::ListCloudControlDeploymentsRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::CloudSecurityCompliance::V1::ListCloudControlDeploymentsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-ListCloudControlDeploymentsRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def list_cloud_control_deployments(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::CloudSecurityCompliance::V1::CloudControlDeployment>

Pass arguments to `list_cloud_control_deployments` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameters**

- **parent** (::String) --- Required. The parent resource for the cloud control deployment, in the format `organizations/{organization}/locations/{location}` or `projects/{project}/locations/{location}`. The only supported location is `global`.
- **page_size** (::Integer) --- Optional. The requested page size. The server might return fewer items than you requested. If unspecified, the server picks an appropriate default.
- **page_token** (::String) --- Optional. A token that identifies the page of results that the server should return.
- **filter** (::String) --- Optional. The filter to apply on the resource, as defined by [AIP-160: Filtering](https://google.aip.dev/160).
- **order_by** (::String) --- Optional. The sort order for the results. The following values are supported:


  - `name`
  - `name desc`

  If you do not specify a value, then the results are not sorted.
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** (::Gapic::PagedEnumerable\<[::Google::Cloud::CloudSecurityCompliance::V1::CloudControlDeployment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-CloudControlDeployment)\>)
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- (::Gapic::PagedEnumerable\<[::Google::Cloud::CloudSecurityCompliance::V1::CloudControlDeployment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-CloudControlDeployment)\>)
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/cloud_security_compliance/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::CloudSecurityCompliance::V1::Deployment::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::CloudSecurityCompliance::V1::ListCloudControlDeploymentsRequest.new

# Call the list_cloud_control_deployments method.
result = client.list_cloud_control_deployments request

# The returned object is of type Gapic::PagedEnumerable. You can iterate
# over elements, and API calls will be issued to fetch pages as needed.
result.each do |item|
  # Each element is of type ::Google::Cloud::CloudSecurityCompliance::V1::CloudControlDeployment.
  p item
end
```

### #list_framework_deployments

    def list_framework_deployments(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::CloudSecurityCompliance::V1::FrameworkDeployment>
    def list_framework_deployments(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::CloudSecurityCompliance::V1::FrameworkDeployment>

Lists the framework deployments in a given parent resource.
**Overloads**

    def list_framework_deployments(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::CloudSecurityCompliance::V1::FrameworkDeployment>

Pass arguments to `list_framework_deployments` via a request object, either of type [ListFrameworkDeploymentsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-ListFrameworkDeploymentsRequest "Google::Cloud::CloudSecurityCompliance::V1::ListFrameworkDeploymentsRequest (class)") or an equivalent Hash. **Parameters**

- **request** ([::Google::Cloud::CloudSecurityCompliance::V1::ListFrameworkDeploymentsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-ListFrameworkDeploymentsRequest), ::Hash) --- A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- **options** (::Gapic::CallOptions, ::Hash) --- Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.

    def list_framework_deployments(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::CloudSecurityCompliance::V1::FrameworkDeployment>

Pass arguments to `list_framework_deployments` via keyword arguments. Note that at least one keyword argument is required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash as a request object (see above). **Parameters**

- **parent** (::String) --- Required. The parent resource of the framework deployment, in the format `organizations/{organization}/locations/{location}` or `projects/{project}/locations/{location}`. The only supported location is `global`.
- **page_size** (::Integer) --- Optional. The requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.
- **page_token** (::String) --- Optional. A token that identifies a page of results the server should return.
- **filter** (::String) --- Optional. The filter to be applied on the resource, as defined by [AIP-160: Filtering](https://google.aip.dev/160).
- **order_by** (::String) --- Optional. The sort order for the results. The following values are supported:


  - `name`
  - `name desc`

  If you do not specify a value, then the results are not sorted.
**Yields**

- (response, operation) --- Access the result along with the RPC operation
**Yield Parameters**

- **response** (::Gapic::PagedEnumerable\<[::Google::Cloud::CloudSecurityCompliance::V1::FrameworkDeployment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-FrameworkDeployment)\>)
- **operation** (::GRPC::ActiveCall::Operation)
**Returns**

- (::Gapic::PagedEnumerable\<[::Google::Cloud::CloudSecurityCompliance::V1::FrameworkDeployment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-FrameworkDeployment)\>)
**Raises**

- (::Google::Cloud::Error) --- if the RPC is aborted.
**Example**

Basic example

```ruby
require "google/cloud/cloud_security_compliance/v1"

# Create a client object. The client can be reused for multiple calls.
client = Google::Cloud::CloudSecurityCompliance::V1::Deployment::Client.new

# Create a request. To set request fields, pass in keyword arguments.
request = Google::Cloud::CloudSecurityCompliance::V1::ListFrameworkDeploymentsRequest.new

# Call the list_framework_deployments method.
result = client.list_framework_deployments request

# The returned object is of type Gapic::PagedEnumerable. You can iterate
# over elements, and API calls will be issued to fetch pages as needed.
result.each do |item|
  # Each element is of type ::Google::Cloud::CloudSecurityCompliance::V1::FrameworkDeployment.
  p item
end
```

### #location_client

    def location_client() -> Google::Cloud::Location::Locations::Client

Get the associated client for mix-in of the Locations.
**Returns**

- (Google::Cloud::Location::Locations::Client)

### #logger

    def logger() -> Logger

The logger used for request/response debug logging.
**Returns**

- (Logger)

### #operations_client

    def operations_client() -> ::Google::Cloud::CloudSecurityCompliance::V1::Deployment::Operations

Get the associated client for long-running operations.
**Returns**

- ([::Google::Cloud::CloudSecurityCompliance::V1::Deployment::Operations](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-Deployment-Operations))

### #universe_domain

    def universe_domain() -> String

The effective universe domain
**Returns**

- (String)