Skip to content

Commit 403e881

Browse files
feat(memcache): update the api
#### memcache:v1 The following keys were added: - resources.projects.resources.locations.resources.instances.methods.rescheduleMaintenance (Total Keys: 12) - schemas.RescheduleMaintenanceRequest (Total Keys: 5) #### memcache:v1beta2 The following keys were added: - resources.projects.resources.locations.resources.instances.methods.rescheduleMaintenance (Total Keys: 12) - schemas.RescheduleMaintenanceRequest (Total Keys: 5)
1 parent c3de5da commit 403e881

8 files changed

+220
-16
lines changed

docs/dyn/memcache_v1.projects.locations.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ <h3>Method Details</h3>
135135

136136
Args:
137137
name: string, The resource that owns the locations collection, if applicable. (required)
138-
filter: string, A filter to narrow down results to a preferred subset. The filtering language accepts strings like &quot;displayName=tokyo&quot;, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
138+
filter: string, A filter to narrow down results to a preferred subset. The filtering language accepts strings like `&quot;displayName=tokyo&quot;`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
139139
pageSize: integer, The maximum number of results to return. If not set, the service selects a default.
140140
pageToken: string, A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
141141
x__xgafv: string, V1 error format.

docs/dyn/memcache_v1.projects.locations.instances.html

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ <h2>Instance Methods</h2>
9898
<p class="toc_element">
9999
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
100100
<p class="firstline">Updates an existing Instance in a given project and location.</p>
101+
<p class="toc_element">
102+
<code><a href="#rescheduleMaintenance">rescheduleMaintenance(instance, body=None, x__xgafv=None)</a></code></p>
103+
<p class="firstline">Reschedules upcoming maintenance event.</p>
101104
<p class="toc_element">
102105
<code><a href="#updateParameters">updateParameters(name, body=None, x__xgafv=None)</a></code></p>
103106
<p class="firstline">Updates the defined Memcached parameters for an existing instance. This method only stages the parameters, it must be followed by `ApplyParameters` to apply the parameters to nodes of the Memcached instance.</p>
@@ -609,6 +612,49 @@ <h3>Method Details</h3>
609612
}</pre>
610613
</div>
611614

615+
<div class="method">
616+
<code class="details" id="rescheduleMaintenance">rescheduleMaintenance(instance, body=None, x__xgafv=None)</code>
617+
<pre>Reschedules upcoming maintenance event.
618+
619+
Args:
620+
instance: string, Required. Memcache instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region. (required)
621+
body: object, The request body.
622+
The object takes the form of:
623+
624+
{ # Request for RescheduleMaintenance.
625+
&quot;rescheduleType&quot;: &quot;A String&quot;, # Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as well.
626+
&quot;scheduleTime&quot;: &quot;A String&quot;, # Timestamp when the maintenance shall be rescheduled to if reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for example `2012-11-15T16:19:00.094Z`.
627+
}
628+
629+
x__xgafv: string, V1 error format.
630+
Allowed values
631+
1 - v1 error format
632+
2 - v2 error format
633+
634+
Returns:
635+
An object of the form:
636+
637+
{ # This resource represents a long-running operation that is the result of a network API call.
638+
&quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
639+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
640+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
641+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
642+
{
643+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
644+
},
645+
],
646+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
647+
},
648+
&quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
649+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
650+
},
651+
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
652+
&quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
653+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
654+
},
655+
}</pre>
656+
</div>
657+
612658
<div class="method">
613659
<code class="details" id="updateParameters">updateParameters(name, body=None, x__xgafv=None)</code>
614660
<pre>Updates the defined Memcached parameters for an existing instance. This method only stages the parameters, it must be followed by `ApplyParameters` to apply the parameters to nodes of the Memcached instance.

docs/dyn/memcache_v1.projects.locations.operations.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ <h3>Method Details</h3>
113113
Returns:
114114
An object of the form:
115115

116-
{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
116+
{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
117117
}</pre>
118118
</div>
119119

@@ -136,7 +136,7 @@ <h3>Method Details</h3>
136136
Returns:
137137
An object of the form:
138138

139-
{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
139+
{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
140140
}</pre>
141141
</div>
142142

docs/dyn/memcache_v1beta2.projects.locations.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ <h3>Method Details</h3>
135135

136136
Args:
137137
name: string, The resource that owns the locations collection, if applicable. (required)
138-
filter: string, A filter to narrow down results to a preferred subset. The filtering language accepts strings like &quot;displayName=tokyo&quot;, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
138+
filter: string, A filter to narrow down results to a preferred subset. The filtering language accepts strings like `&quot;displayName=tokyo&quot;`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
139139
pageSize: integer, The maximum number of results to return. If not set, the service selects a default.
140140
pageToken: string, A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
141141
x__xgafv: string, V1 error format.

docs/dyn/memcache_v1beta2.projects.locations.instances.html

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ <h2>Instance Methods</h2>
101101
<p class="toc_element">
102102
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
103103
<p class="firstline">Updates an existing Instance in a given project and location.</p>
104+
<p class="toc_element">
105+
<code><a href="#rescheduleMaintenance">rescheduleMaintenance(instance, body=None, x__xgafv=None)</a></code></p>
106+
<p class="firstline">Performs the apply phase of the RescheduleMaintenance verb.</p>
104107
<p class="toc_element">
105108
<code><a href="#updateParameters">updateParameters(name, body=None, x__xgafv=None)</a></code></p>
106109
<p class="firstline">Updates the defined Memcached parameters for an existing instance. This method only stages the parameters, it must be followed by `ApplyParameters` to apply the parameters to nodes of the Memcached instance.</p>
@@ -665,6 +668,49 @@ <h3>Method Details</h3>
665668
}</pre>
666669
</div>
667670

671+
<div class="method">
672+
<code class="details" id="rescheduleMaintenance">rescheduleMaintenance(instance, body=None, x__xgafv=None)</code>
673+
<pre>Performs the apply phase of the RescheduleMaintenance verb.
674+
675+
Args:
676+
instance: string, Required. Memcache instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region. (required)
677+
body: object, The request body.
678+
The object takes the form of:
679+
680+
{ # Request for RescheduleMaintenance.
681+
&quot;rescheduleType&quot;: &quot;A String&quot;, # Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as well.
682+
&quot;scheduleTime&quot;: &quot;A String&quot;, # Timestamp when the maintenance shall be rescheduled to if reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for example `2012-11-15T16:19:00.094Z`.
683+
}
684+
685+
x__xgafv: string, V1 error format.
686+
Allowed values
687+
1 - v1 error format
688+
2 - v2 error format
689+
690+
Returns:
691+
An object of the form:
692+
693+
{ # This resource represents a long-running operation that is the result of a network API call.
694+
&quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
695+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
696+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
697+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
698+
{
699+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
700+
},
701+
],
702+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
703+
},
704+
&quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
705+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
706+
},
707+
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
708+
&quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
709+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
710+
},
711+
}</pre>
712+
</div>
713+
668714
<div class="method">
669715
<code class="details" id="updateParameters">updateParameters(name, body=None, x__xgafv=None)</code>
670716
<pre>Updates the defined Memcached parameters for an existing instance. This method only stages the parameters, it must be followed by `ApplyParameters` to apply the parameters to nodes of the Memcached instance.

docs/dyn/memcache_v1beta2.projects.locations.operations.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ <h3>Method Details</h3>
113113
Returns:
114114
An object of the form:
115115

116-
{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
116+
{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
117117
}</pre>
118118
</div>
119119

@@ -136,7 +136,7 @@ <h3>Method Details</h3>
136136
Returns:
137137
An object of the form:
138138

139-
{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
139+
{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
140140
}</pre>
141141
</div>
142142

0 commit comments

Comments
 (0)