Liking cljdoc? Tell your friends :D

happygapi.servicemanagement.services

Service Management API: services. Google Service Management allows service producers to publish their services on Google Cloud Platform so that they can be discovered and used by service consumers. See: https://cloud.google.com/service-management/api/reference/rest/v1/services

Service Management API: services.
Google Service Management allows service producers to publish their services on Google Cloud Platform so that they can be discovered and used by service consumers.
See: https://cloud.google.com/service-management/api/reference/rest/v1/services
raw docstring

configs-create$clj

(configs-create$ auth parameters body)

https://cloud.google.com/service-management/api/reference/rest/v1/services/configs/create

Required parameters: serviceName

Optional parameters: none

Body:

{:monitoring {:consumerDestinations [MonitoringDestination], :producerDestinations [MonitoringDestination]}, :systemParameters {:rules [SystemParameterRule]}, :logs [{:labels [LabelDescriptor], :description string, :displayName string, :name string}], :name string, :billing {:consumerDestinations [BillingDestination]}, :producerProjectId string, :quota {:limits [QuotaLimit], :metricRules [MetricRule]}, :title string, :documentation {:documentationRootUrl string, :pages [Page], :serviceRootUrl string, :overview string, :summary string, :rules [DocumentationRule]}, :types [{:options [Option], :syntax string, :fields [Field], :sourceContext SourceContext, :name string, :oneofs [string]}], :logging {:producerDestinations [LoggingDestination], :consumerDestinations [LoggingDestination]}, :endpoints [{:name string, :allowCors boolean, :target string}], :configVersion integer, :sourceInfo {:sourceFiles [{}]}, :usage {:rules [UsageRule], :producerNotificationChannel string, :requirements [string]}, :authentication {:rules [AuthenticationRule], :providers [AuthProvider]}, :id string, :control {:environment string}, :http {:rules [HttpRule], :fullyDecodeReservedExpansion boolean}, :context {:rules [ContextRule]}, :monitoredResources [{:description string, :type string, :displayName string, :name string, :labels [LabelDescriptor], :launchStage string}], :apis [{:sourceContext SourceContext, :options [Option], :mixins [Mixin], :syntax string, :methods [Method], :name string, :version string}], :customError {:types [string], :rules [CustomErrorRule]}, :systemTypes [{:options [Option], :syntax string, :fields [Field], :sourceContext SourceContext, :name string, :oneofs [string]}], :enums [{:enumvalue [EnumValue], :syntax string, :options [Option], :name string, :sourceContext SourceContext}], :backend {:rules [BackendRule]}, :metrics [{:description string, :labels [LabelDescriptor], :valueType string, :monitoredResourceTypes [string], :unit string, :displayName string, :name string, :type string, :metricKind string, :launchStage string, :metadata MetricDescriptorMetadata}]}

Creates a new service configuration (version) for a managed service. This method only stores the service configuration. To roll out the service configuration to backend systems please call CreateServiceRollout. Only the 100 most recent service configurations and ones referenced by existing rollouts are kept for each service. The rest will be deleted eventually.

https://cloud.google.com/service-management/api/reference/rest/v1/services/configs/create

Required parameters: serviceName

Optional parameters: none

Body: 

{:monitoring {:consumerDestinations [MonitoringDestination],
              :producerDestinations [MonitoringDestination]},
 :systemParameters {:rules [SystemParameterRule]},
 :logs [{:labels [LabelDescriptor],
         :description string,
         :displayName string,
         :name string}],
 :name string,
 :billing {:consumerDestinations [BillingDestination]},
 :producerProjectId string,
 :quota {:limits [QuotaLimit], :metricRules [MetricRule]},
 :title string,
 :documentation {:documentationRootUrl string,
                 :pages [Page],
                 :serviceRootUrl string,
                 :overview string,
                 :summary string,
                 :rules [DocumentationRule]},
 :types [{:options [Option],
          :syntax string,
          :fields [Field],
          :sourceContext SourceContext,
          :name string,
          :oneofs [string]}],
 :logging {:producerDestinations [LoggingDestination],
           :consumerDestinations [LoggingDestination]},
 :endpoints [{:name string, :allowCors boolean, :target string}],
 :configVersion integer,
 :sourceInfo {:sourceFiles [{}]},
 :usage {:rules [UsageRule],
         :producerNotificationChannel string,
         :requirements [string]},
 :authentication {:rules [AuthenticationRule],
                  :providers [AuthProvider]},
 :id string,
 :control {:environment string},
 :http {:rules [HttpRule], :fullyDecodeReservedExpansion boolean},
 :context {:rules [ContextRule]},
 :monitoredResources [{:description string,
                       :type string,
                       :displayName string,
                       :name string,
                       :labels [LabelDescriptor],
                       :launchStage string}],
 :apis [{:sourceContext SourceContext,
         :options [Option],
         :mixins [Mixin],
         :syntax string,
         :methods [Method],
         :name string,
         :version string}],
 :customError {:types [string], :rules [CustomErrorRule]},
 :systemTypes [{:options [Option],
                :syntax string,
                :fields [Field],
                :sourceContext SourceContext,
                :name string,
                :oneofs [string]}],
 :enums [{:enumvalue [EnumValue],
          :syntax string,
          :options [Option],
          :name string,
          :sourceContext SourceContext}],
 :backend {:rules [BackendRule]},
 :metrics [{:description string,
            :labels [LabelDescriptor],
            :valueType string,
            :monitoredResourceTypes [string],
            :unit string,
            :displayName string,
            :name string,
            :type string,
            :metricKind string,
            :launchStage string,
            :metadata MetricDescriptorMetadata}]}

Creates a new service configuration (version) for a managed service. This method only stores the service configuration. To roll out the service configuration to backend systems please call CreateServiceRollout. Only the 100 most recent service configurations and ones referenced by existing rollouts are kept for each service. The rest will be deleted eventually.
raw docstring

configs-get$clj

(configs-get$ auth parameters)

https://cloud.google.com/service-management/api/reference/rest/v1/services/configs/get

Required parameters: configId, serviceName

Optional parameters: view

Gets a service configuration (version) for a managed service.

https://cloud.google.com/service-management/api/reference/rest/v1/services/configs/get

Required parameters: configId, serviceName

Optional parameters: view

Gets a service configuration (version) for a managed service.
raw docstring

configs-list$clj

(configs-list$ auth parameters)

https://cloud.google.com/service-management/api/reference/rest/v1/services/configs/list

Required parameters: serviceName

Optional parameters: pageToken, pageSize

Lists the history of the service configuration for a managed service, from the newest to the oldest.

https://cloud.google.com/service-management/api/reference/rest/v1/services/configs/list

Required parameters: serviceName

Optional parameters: pageToken, pageSize

Lists the history of the service configuration for a managed service, from the newest to the oldest.
raw docstring

configs-submit$clj

(configs-submit$ auth parameters body)

https://cloud.google.com/service-management/api/reference/rest/v1/services/configs/submit

Required parameters: serviceName

Optional parameters: none

Body:

{:configSource {:files [ConfigFile], :id string}, :validateOnly boolean}

Creates a new service configuration (version) for a managed service based on user-supplied configuration source files (for example: OpenAPI Specification). This method stores the source configurations as well as the generated service configuration. To rollout the service configuration to other services, please call CreateServiceRollout. Only the 100 most recent configuration sources and ones referenced by existing service configurtions are kept for each service. The rest will be deleted eventually. Operation

https://cloud.google.com/service-management/api/reference/rest/v1/services/configs/submit

Required parameters: serviceName

Optional parameters: none

Body: 

{:configSource {:files [ConfigFile], :id string},
 :validateOnly boolean}

Creates a new service configuration (version) for a managed service based on user-supplied configuration source files (for example: OpenAPI Specification). This method stores the source configurations as well as the generated service configuration. To rollout the service configuration to other services, please call CreateServiceRollout. Only the 100 most recent configuration sources and ones referenced by existing service configurtions are kept for each service. The rest will be deleted eventually. Operation
raw docstring

consumers-getIamPolicy$clj

(consumers-getIamPolicy$ auth parameters body)

https://cloud.google.com/service-management/api/reference/rest/v1/services/consumers/getIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

https://cloud.google.com/service-management/api/reference/rest/v1/services/consumers/getIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
raw docstring

consumers-setIamPolicy$clj

(consumers-setIamPolicy$ auth parameters body)

https://cloud.google.com/service-management/api/reference/rest/v1/services/consumers/setIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:updateMask string, :policy {:bindings [Binding], :version integer, :auditConfigs [AuditConfig], :etag string}}

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

https://cloud.google.com/service-management/api/reference/rest/v1/services/consumers/setIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:updateMask string,
 :policy {:bindings [Binding],
          :version integer,
          :auditConfigs [AuditConfig],
          :etag string}}

Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
raw docstring

consumers-testIamPermissions$clj

(consumers-testIamPermissions$ auth parameters body)

https://cloud.google.com/service-management/api/reference/rest/v1/services/consumers/testIamPermissions

Required parameters: resource

Optional parameters: none

Body:

{:permissions [string]}

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

https://cloud.google.com/service-management/api/reference/rest/v1/services/consumers/testIamPermissions

Required parameters: resource

Optional parameters: none

Body: 

{:permissions [string]}

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
raw docstring

create$clj

(create$ auth parameters body)

https://cloud.google.com/service-management/api/reference/rest/v1/services/create

Required parameters: none

Optional parameters: none

Body:

{:serviceName string, :producerProjectId string}

Creates a new managed service. A managed service is immutable, and is subject to mandatory 30-day data retention. You cannot move a service or recreate it within 30 days after deletion. One producer project can own no more than 500 services. For security and reliability purposes, a production service should be hosted in a dedicated producer project. Operation

https://cloud.google.com/service-management/api/reference/rest/v1/services/create

Required parameters: none

Optional parameters: none

Body: 

{:serviceName string, :producerProjectId string}

Creates a new managed service. A managed service is immutable, and is subject to mandatory 30-day data retention. You cannot move a service or recreate it within 30 days after deletion. One producer project can own no more than 500 services. For security and reliability purposes, a production service should be hosted in a dedicated producer project. Operation
raw docstring

delete$clj

(delete$ auth parameters)

https://cloud.google.com/service-management/api/reference/rest/v1/services/delete

Required parameters: serviceName

Optional parameters: none

Deletes a managed service. This method will change the service to the Soft-Delete state for 30 days. Within this period, service producers may call UndeleteService to restore the service. After 30 days, the service will be permanently deleted. Operation

https://cloud.google.com/service-management/api/reference/rest/v1/services/delete

Required parameters: serviceName

Optional parameters: none

Deletes a managed service. This method will change the service to the `Soft-Delete` state for 30 days. Within this period, service producers may call UndeleteService to restore the service. After 30 days, the service will be permanently deleted. Operation
raw docstring

generateConfigReport$clj

(generateConfigReport$ auth parameters body)

https://cloud.google.com/service-management/api/reference/rest/v1/services/generateConfigReport

Required parameters: none

Optional parameters: none

Body:

{:newConfig {}, :oldConfig {}}

Generates and returns a report (errors, warnings and changes from existing configurations) associated with GenerateConfigReportRequest.new_value If GenerateConfigReportRequest.old_value is specified, GenerateConfigReportRequest will contain a single ChangeReport based on the comparison between GenerateConfigReportRequest.new_value and GenerateConfigReportRequest.old_value. If GenerateConfigReportRequest.old_value is not specified, this method will compare GenerateConfigReportRequest.new_value with the last pushed service configuration.

https://cloud.google.com/service-management/api/reference/rest/v1/services/generateConfigReport

Required parameters: none

Optional parameters: none

Body: 

{:newConfig {}, :oldConfig {}}

Generates and returns a report (errors, warnings and changes from existing configurations) associated with GenerateConfigReportRequest.new_value If GenerateConfigReportRequest.old_value is specified, GenerateConfigReportRequest will contain a single ChangeReport based on the comparison between GenerateConfigReportRequest.new_value and GenerateConfigReportRequest.old_value. If GenerateConfigReportRequest.old_value is not specified, this method will compare GenerateConfigReportRequest.new_value with the last pushed service configuration.
raw docstring

get$clj

(get$ auth parameters)

https://cloud.google.com/service-management/api/reference/rest/v1/services/get

Required parameters: serviceName

Optional parameters: none

Gets a managed service. Authentication is required unless the service is public.

https://cloud.google.com/service-management/api/reference/rest/v1/services/get

Required parameters: serviceName

Optional parameters: none

Gets a managed service. Authentication is required unless the service is public.
raw docstring

getConfig$clj

(getConfig$ auth parameters)

https://cloud.google.com/service-management/api/reference/rest/v1/services/getConfig

Required parameters: serviceName

Optional parameters: configId, view

Gets a service configuration (version) for a managed service.

https://cloud.google.com/service-management/api/reference/rest/v1/services/getConfig

Required parameters: serviceName

Optional parameters: configId, view

Gets a service configuration (version) for a managed service.
raw docstring

getIamPolicy$clj

(getIamPolicy$ auth parameters body)

https://cloud.google.com/service-management/api/reference/rest/v1/services/getIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

https://cloud.google.com/service-management/api/reference/rest/v1/services/getIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:options {:requestedPolicyVersion integer}}

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
raw docstring

list$clj

(list$ auth parameters)

https://cloud.google.com/service-management/api/reference/rest/v1/services/list

Required parameters: none

Optional parameters: producerProjectId, pageSize, consumerId, pageToken

Lists managed services. Returns all public services. For authenticated users, also returns all services the calling user has "servicemanagement.services.get" permission for.

https://cloud.google.com/service-management/api/reference/rest/v1/services/list

Required parameters: none

Optional parameters: producerProjectId, pageSize, consumerId, pageToken

Lists managed services. Returns all public services. For authenticated users, also returns all services the calling user has "servicemanagement.services.get" permission for.
raw docstring

rollouts-create$clj

(rollouts-create$ auth parameters body)

https://cloud.google.com/service-management/api/reference/rest/v1/services/rollouts/create

Required parameters: serviceName

Optional parameters: none

Body:

{:rolloutId string, :createdBy string, :trafficPercentStrategy {:percentages {}}, :status string, :createTime string, :serviceName string, :deleteServiceStrategy {}}

Creates a new service configuration rollout. Based on rollout, the Google Service Management will roll out the service configurations to different backend services. For example, the logging configuration will be pushed to Google Cloud Logging. Please note that any previous pending and running Rollouts and associated Operations will be automatically cancelled so that the latest Rollout will not be blocked by previous Rollouts. Only the 100 most recent (in any state) and the last 10 successful (if not already part of the set of 100 most recent) rollouts are kept for each service. The rest will be deleted eventually. Operation

https://cloud.google.com/service-management/api/reference/rest/v1/services/rollouts/create

Required parameters: serviceName

Optional parameters: none

Body: 

{:rolloutId string,
 :createdBy string,
 :trafficPercentStrategy {:percentages {}},
 :status string,
 :createTime string,
 :serviceName string,
 :deleteServiceStrategy {}}

Creates a new service configuration rollout. Based on rollout, the Google Service Management will roll out the service configurations to different backend services. For example, the logging configuration will be pushed to Google Cloud Logging. Please note that any previous pending and running Rollouts and associated Operations will be automatically cancelled so that the latest Rollout will not be blocked by previous Rollouts. Only the 100 most recent (in any state) and the last 10 successful (if not already part of the set of 100 most recent) rollouts are kept for each service. The rest will be deleted eventually. Operation
raw docstring

rollouts-get$clj

(rollouts-get$ auth parameters)

https://cloud.google.com/service-management/api/reference/rest/v1/services/rollouts/get

Required parameters: serviceName, rolloutId

Optional parameters: none

Gets a service configuration rollout.

https://cloud.google.com/service-management/api/reference/rest/v1/services/rollouts/get

Required parameters: serviceName, rolloutId

Optional parameters: none

Gets a service configuration rollout.
raw docstring

rollouts-list$clj

(rollouts-list$ auth parameters)

https://cloud.google.com/service-management/api/reference/rest/v1/services/rollouts/list

Required parameters: serviceName

Optional parameters: pageSize, filter, pageToken

Lists the history of the service configuration rollouts for a managed service, from the newest to the oldest.

https://cloud.google.com/service-management/api/reference/rest/v1/services/rollouts/list

Required parameters: serviceName

Optional parameters: pageSize, filter, pageToken

Lists the history of the service configuration rollouts for a managed service, from the newest to the oldest.
raw docstring

setIamPolicy$clj

(setIamPolicy$ auth parameters body)

https://cloud.google.com/service-management/api/reference/rest/v1/services/setIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:updateMask string, :policy {:bindings [Binding], :version integer, :auditConfigs [AuditConfig], :etag string}}

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

https://cloud.google.com/service-management/api/reference/rest/v1/services/setIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:updateMask string,
 :policy {:bindings [Binding],
          :version integer,
          :auditConfigs [AuditConfig],
          :etag string}}

Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
raw docstring

testIamPermissions$clj

(testIamPermissions$ auth parameters body)

https://cloud.google.com/service-management/api/reference/rest/v1/services/testIamPermissions

Required parameters: resource

Optional parameters: none

Body:

{:permissions [string]}

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

https://cloud.google.com/service-management/api/reference/rest/v1/services/testIamPermissions

Required parameters: resource

Optional parameters: none

Body: 

{:permissions [string]}

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
raw docstring

undelete$clj

(undelete$ auth parameters)

https://cloud.google.com/service-management/api/reference/rest/v1/services/undelete

Required parameters: serviceName

Optional parameters: none

Revives a previously deleted managed service. The method restores the service using the configuration at the time the service was deleted. The target service must exist and must have been deleted within the last 30 days. Operation

https://cloud.google.com/service-management/api/reference/rest/v1/services/undelete

Required parameters: serviceName

Optional parameters: none

Revives a previously deleted managed service. The method restores the service using the configuration at the time the service was deleted. The target service must exist and must have been deleted within the last 30 days. Operation
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close