# App Engine Admin V1 API - Class Google::Cloud::AppEngine::V1::EndpointsApiService (v1.8.0)

1.8.0 (latest) 1.7.0 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.1 0.5.0 0.4.0 0.3.6 Reference documentation and code samples for the App Engine Admin V1 API class Google::Cloud::AppEngine::V1::EndpointsApiService.

[Cloud Endpoints](https://cloud.google.com/endpoints) configuration.
The Endpoints API Service provides tooling for serving Open API and gRPC
endpoints via an NGINX proxy. Only valid for App Engine Flexible environment
deployments.


<br />

The fields here refer to the name and configuration ID of a "service"
resource in the [Service Management API](https://cloud.google.com/service-management/overview).

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #config_id

    def config_id() -> ::String

**Returns**

- (::String) --- Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1".

  By default, the rollout strategy for Endpoints is `RolloutStrategy.FIXED`.
  This means that Endpoints starts up with a particular configuration ID.
  When a new configuration is rolled out, Endpoints must be given the new
  configuration ID. The `config_id` field is used to give the configuration
  ID and is required in this case.

  Endpoints also has a rollout strategy called `RolloutStrategy.MANAGED`.
  When using this, Endpoints fetches the latest configuration and does not
  need the configuration ID. In this case, `config_id` must be omitted.

### #config_id=

    def config_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1".


  By default, the rollout strategy for Endpoints is `RolloutStrategy.FIXED`.
  This means that Endpoints starts up with a particular configuration ID.
  When a new configuration is rolled out, Endpoints must be given the new
  configuration ID. The `config_id` field is used to give the configuration
  ID and is required in this case.

  Endpoints also has a rollout strategy called `RolloutStrategy.MANAGED`.
  When using this, Endpoints fetches the latest configuration and does not
  need the configuration ID. In this case, `config_id` must be omitted.
**Returns**

- (::String) --- Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1".

  By default, the rollout strategy for Endpoints is `RolloutStrategy.FIXED`.
  This means that Endpoints starts up with a particular configuration ID.
  When a new configuration is rolled out, Endpoints must be given the new
  configuration ID. The `config_id` field is used to give the configuration
  ID and is required in this case.

  Endpoints also has a rollout strategy called `RolloutStrategy.MANAGED`.
  When using this, Endpoints fetches the latest configuration and does not
  need the configuration ID. In this case, `config_id` must be omitted.

### #disable_trace_sampling

    def disable_trace_sampling() -> ::Boolean

**Returns**

- (::Boolean) --- Enable or disable trace sampling. By default, this is set to false for enabled.

### #disable_trace_sampling=

    def disable_trace_sampling=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Enable or disable trace sampling. By default, this is set to false for enabled.
**Returns**

- (::Boolean) --- Enable or disable trace sampling. By default, this is set to false for enabled.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog"

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
**Returns**

- (::String) --- Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog"

### #rollout_strategy

    def rollout_strategy() -> ::Google::Cloud::AppEngine::V1::EndpointsApiService::RolloutStrategy

**Returns**

- ([::Google::Cloud::AppEngine::V1::EndpointsApiService::RolloutStrategy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-app_engine-v1/latest/Google-Cloud-AppEngine-V1-EndpointsApiService-RolloutStrategy)) --- Endpoints rollout strategy. If `FIXED`, `config_id` must be specified. If `MANAGED`, `config_id` must be omitted.

### #rollout_strategy=

    def rollout_strategy=(value) -> ::Google::Cloud::AppEngine::V1::EndpointsApiService::RolloutStrategy

**Parameter**

- **value** ([::Google::Cloud::AppEngine::V1::EndpointsApiService::RolloutStrategy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-app_engine-v1/latest/Google-Cloud-AppEngine-V1-EndpointsApiService-RolloutStrategy)) --- Endpoints rollout strategy. If `FIXED`, `config_id` must be specified. If `MANAGED`, `config_id` must be omitted.
**Returns**

- ([::Google::Cloud::AppEngine::V1::EndpointsApiService::RolloutStrategy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-app_engine-v1/latest/Google-Cloud-AppEngine-V1-EndpointsApiService-RolloutStrategy)) --- Endpoints rollout strategy. If `FIXED`, `config_id` must be specified. If `MANAGED`, `config_id` must be omitted.