mirror of
https://github.com/restic/restic.git
synced 2025-10-09 23:14:08 +00:00
Update vendored library google.golang.org/api
This commit is contained in:
2173
vendor/google.golang.org/api/cloudkms/v1/cloudkms-api.json
generated
vendored
2173
vendor/google.golang.org/api/cloudkms/v1/cloudkms-api.json
generated
vendored
File diff suppressed because it is too large
Load Diff
21
vendor/google.golang.org/api/cloudkms/v1/cloudkms-gen.go
generated
vendored
21
vendor/google.golang.org/api/cloudkms/v1/cloudkms-gen.go
generated
vendored
@@ -144,7 +144,7 @@ type ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsService struct {
|
||||
// log_types
|
||||
// specified in each AuditConfig are enabled, and the exempted_members
|
||||
// in each
|
||||
// AuditConfig are exempted.
|
||||
// AuditLogConfig are exempted.
|
||||
//
|
||||
// Example Policy with multiple AuditConfigs:
|
||||
//
|
||||
@@ -881,6 +881,11 @@ func (s *ListLocationsResponse) MarshalJSON() ([]byte, error) {
|
||||
|
||||
// Location: A resource that represents Google Cloud Platform location.
|
||||
type Location struct {
|
||||
// DisplayName: The friendly name for this location, typically a nearby
|
||||
// city name.
|
||||
// For example, "Tokyo".
|
||||
DisplayName string `json:"displayName,omitempty"`
|
||||
|
||||
// Labels: Cross-service attributes for the location. For example
|
||||
//
|
||||
// {"cloud.googleapis.com/region": "us-east1"}
|
||||
@@ -904,7 +909,7 @@ type Location struct {
|
||||
// server.
|
||||
googleapi.ServerResponse `json:"-"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Labels") to
|
||||
// ForceSendFields is a list of field names (e.g. "DisplayName") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
@@ -912,10 +917,10 @@ type Location struct {
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "Labels") to include in API
|
||||
// requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// NullFields is a list of field names (e.g. "DisplayName") to include
|
||||
// in API requests with the JSON null value. By default, fields with
|
||||
// empty values are omitted from API requests. However, any field with
|
||||
// an empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
@@ -1181,7 +1186,7 @@ type ProjectsLocationsGetCall struct {
|
||||
header_ http.Header
|
||||
}
|
||||
|
||||
// Get: Get information about a location.
|
||||
// Get: Gets information about a location.
|
||||
func (r *ProjectsLocationsService) Get(name string) *ProjectsLocationsGetCall {
|
||||
c := &ProjectsLocationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.name = name
|
||||
@@ -1282,7 +1287,7 @@ func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location,
|
||||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Get information about a location.",
|
||||
// "description": "Gets information about a location.",
|
||||
// "flatPath": "v1/projects/{projectsId}/locations/{locationsId}",
|
||||
// "httpMethod": "GET",
|
||||
// "id": "cloudkms.projects.locations.get",
|
||||
|
Reference in New Issue
Block a user