Service is the root object of Google API service configuration (service
config). It describes the basic information about a logical service,
such as the service name and the user-facing title, and delegates other
aspects to sub-sections. Each sub-section is either a proto message or a
repeated proto message that configures a specific aspect, such as auth.
For more information, see each proto message definition. Example: type: google.api.Service name: calendar.googleapis.com title: Google Calendar API apis: - name: google.calendar.v3.Calendar visibility: rules: - selector: "google.calendar.v3." restriction: PREVIEW backend: rules: - selector: "google.calendar.v3." address: calendar.example.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*" requirements: provider_id: google_calendar_auth
Generated from protobuf message google.api.Service
| Methods |
| public __construct( $data = NULL) Constructor.
|
| public clearAuthentication() |
| public clearBackend() |
| public clearBilling() |
| public clearConfigVersion() |
| public clearContext() |
| public clearControl() |
| public clearDocumentation() |
| public clearHttp() |
| public clearLogging() |
| public clearMonitoring() |
| public clearPublishing() |
| public clearQuota() |
| public clearSourceInfo() |
| public clearSystemParameters() |
| public clearUsage() |
| public getApis() A list of API interfaces exported by this service. Only the Generated from protobuf field repeated .google.protobuf.Api apis = 3;
|
| public getAuthentication() Auth configuration. Generated from protobuf field .google.api.Authentication authentication = 11;
|
| public getBackend() API backend configuration. Generated from protobuf field .google.api.Backend backend = 8;
|
| public getBilling() Billing configuration. Generated from protobuf field .google.api.Billing billing = 26;
|
| public getConfigVersion() Obsolete. Do not use. This field has no semantic meaning. The service config compiler always
sets this field to Generated from protobuf field .google.protobuf.UInt32Value config_version = 20;
|
| public getConfigVersionUnwrapped() Returns the unboxed value from getConfigVersion() Obsolete. Do not use.
This field has no semantic meaning. The service config compiler always
sets this field to Generated from protobuf field .google.protobuf.UInt32Value config_version = 20;
|
| public getContext() Context configuration. Generated from protobuf field .google.api.Context context = 12;
|
| public getControl() Configuration for the service control plane. Generated from protobuf field .google.api.Control control = 21;
|
| public getDocumentation() Additional API documentation. Generated from protobuf field .google.api.Documentation documentation = 6;
|
| public getEndpoints() Configuration for network endpoints. If this is empty, then an endpoint with the same name as the service is automatically generated to service all defined APIs. Generated from protobuf field repeated .google.api.Endpoint endpoints = 18;
|
| public getEnums() A list of all enum types included in this API service. Enums referenced
directly or indirectly by the Generated from protobuf field repeated .google.protobuf.Enum enums = 5;
|
| public getHttp() HTTP configuration. Generated from protobuf field .google.api.Http http = 9;
|
| public getId() A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed. If empty, the server may choose to generate one instead. Generated from protobuf field string id = 33;
|
| public getLogging() Logging configuration. Generated from protobuf field .google.api.Logging logging = 27;
|
| public getLogs() Defines the logs used by this service. Generated from protobuf field repeated .google.api.LogDescriptor logs = 23;
|
| public getMetrics() Defines the metrics used by this service. Generated from protobuf field repeated .google.api.MetricDescriptor metrics = 24;
|
| public getMonitoredResources() Defines the monitored resources used by this service. This is required
by the Generated from protobuf field repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;
|
| public getMonitoring() Monitoring configuration. Generated from protobuf field .google.api.Monitoring monitoring = 28;
|
| public getName() The service name, which is a DNS-like logical identifier for the
service, such as Generated from protobuf field string name = 1;
|
| public getProducerProjectId() The Google project that owns this service. Generated from protobuf field string producer_project_id = 22;
|
| public getPublishing() Settings for Google Cloud Client libraries generated from APIs defined as protocol buffers. Generated from protobuf field .google.api.Publishing publishing = 45;
|
| public getQuota() Quota configuration. Generated from protobuf field .google.api.Quota quota = 10;
|
| public getSourceInfo() Output only. The source information for this configuration if available. Generated from protobuf field .google.api.SourceInfo source_info = 37;
|
| public getSystemParameters() System parameter configuration. Generated from protobuf field .google.api.SystemParameters system_parameters = 29;
|
| public getTitle() The product title for this service, it is the name displayed in Google Cloud Console. Generated from protobuf field string title = 2;
|
| public getTypes() A list of all proto message types included in this API service. Types referenced directly or indirectly by the Generated from protobuf field repeated .google.protobuf.Type types = 4;
|
| public getUsage() Configuration controlling usage of this service. Generated from protobuf field .google.api.Usage usage = 15;
|
| public hasAuthentication() |
| public hasBackend() |
| public hasBilling() |
| public hasConfigVersion() |
| public hasContext() |
| public hasControl() |
| public hasDocumentation() |
| public hasHttp() |
| public hasLogging() |
| public hasMonitoring() |
| public hasPublishing() |
| public hasQuota() |
| public hasSourceInfo() |
| public hasSystemParameters() |
| public hasUsage() |
| public setApis( $var) A list of API interfaces exported by this service. Only the Generated from protobuf field repeated .google.protobuf.Api apis = 3;
|
| public setAuthentication( $var) Auth configuration. Generated from protobuf field .google.api.Authentication authentication = 11;
|
| public setBackend( $var) API backend configuration. Generated from protobuf field .google.api.Backend backend = 8;
|
| public setBilling( $var) Billing configuration. Generated from protobuf field .google.api.Billing billing = 26;
|
| public setConfigVersion( $var) Obsolete. Do not use. This field has no semantic meaning. The service config compiler always
sets this field to Generated from protobuf field .google.protobuf.UInt32Value config_version = 20;
|
| public setConfigVersionUnwrapped( $var) Sets the field by wrapping a primitive type in a Google\Protobuf\UInt32Value object. Obsolete. Do not use.
This field has no semantic meaning. The service config compiler always
sets this field to Generated from protobuf field .google.protobuf.UInt32Value config_version = 20;
|
| public setContext( $var) Context configuration. Generated from protobuf field .google.api.Context context = 12;
|
| public setControl( $var) Configuration for the service control plane. Generated from protobuf field .google.api.Control control = 21;
|
| public setDocumentation( $var) Additional API documentation. Generated from protobuf field .google.api.Documentation documentation = 6;
|
| public setEndpoints( $var) Configuration for network endpoints. If this is empty, then an endpoint with the same name as the service is automatically generated to service all defined APIs. Generated from protobuf field repeated .google.api.Endpoint endpoints = 18;
|
| public setEnums( $var) A list of all enum types included in this API service. Enums referenced
directly or indirectly by the Generated from protobuf field repeated .google.protobuf.Enum enums = 5;
|
| public setHttp( $var) HTTP configuration. Generated from protobuf field .google.api.Http http = 9;
|
| public setId( $var) A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed. If empty, the server may choose to generate one instead. Generated from protobuf field string id = 33;
|
| public setLogging( $var) Logging configuration. Generated from protobuf field .google.api.Logging logging = 27;
|
| public setLogs( $var) Defines the logs used by this service. Generated from protobuf field repeated .google.api.LogDescriptor logs = 23;
|
| public setMetrics( $var) Defines the metrics used by this service. Generated from protobuf field repeated .google.api.MetricDescriptor metrics = 24;
|
| public setMonitoredResources( $var) Defines the monitored resources used by this service. This is required
by the Generated from protobuf field repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;
|
| public setMonitoring( $var) Monitoring configuration. Generated from protobuf field .google.api.Monitoring monitoring = 28;
|
| public setName( $var) The service name, which is a DNS-like logical identifier for the
service, such as Generated from protobuf field string name = 1;
|
| public setProducerProjectId( $var) The Google project that owns this service. Generated from protobuf field string producer_project_id = 22;
|
| public setPublishing( $var) Settings for Google Cloud Client libraries generated from APIs defined as protocol buffers. Generated from protobuf field .google.api.Publishing publishing = 45;
|
| public setQuota( $var) Quota configuration. Generated from protobuf field .google.api.Quota quota = 10;
|
| public setSourceInfo( $var) Output only. The source information for this configuration if available. Generated from protobuf field .google.api.SourceInfo source_info = 37;
|
| public setSystemParameters( $var) System parameter configuration. Generated from protobuf field .google.api.SystemParameters system_parameters = 29;
|
| public setTitle( $var) The product title for this service, it is the name displayed in Google Cloud Console. Generated from protobuf field string title = 2;
|
| public setTypes( $var) A list of all proto message types included in this API service. Types referenced directly or indirectly by the Generated from protobuf field repeated .google.protobuf.Type types = 4;
|
| public setUsage( $var) Configuration controlling usage of this service. Generated from protobuf field .google.api.Usage usage = 15;
|
| Properties |
| protected $authentication = NULL Auth configuration. Generated from protobuf field .google.api.Authentication authentication = 11; |
| protected $backend = NULL API backend configuration. Generated from protobuf field .google.api.Backend backend = 8; |
| protected $billing = NULL Billing configuration. Generated from protobuf field .google.api.Billing billing = 26; |
| protected $config_version = NULL Obsolete. Do not use. This field has no semantic meaning. The service config compiler always
sets this field to Generated from protobuf field .google.protobuf.UInt32Value config_version = 20; |
| protected $context = NULL Context configuration. Generated from protobuf field .google.api.Context context = 12; |
| protected $control = NULL Configuration for the service control plane. Generated from protobuf field .google.api.Control control = 21; |
| protected $documentation = NULL Additional API documentation. Generated from protobuf field .google.api.Documentation documentation = 6; |
| protected $http = NULL HTTP configuration. Generated from protobuf field .google.api.Http http = 9; |
| protected $id = '' A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed. If empty, the server may choose to generate one instead. Generated from protobuf field string id = 33; |
| protected $logging = NULL Logging configuration. Generated from protobuf field .google.api.Logging logging = 27; |
| protected $monitoring = NULL Monitoring configuration. Generated from protobuf field .google.api.Monitoring monitoring = 28; |
| protected $name = '' The service name, which is a DNS-like logical identifier for the
service, such as Generated from protobuf field string name = 1; |
| protected $producer_project_id = '' The Google project that owns this service. Generated from protobuf field string producer_project_id = 22; |
| protected $publishing = NULL Settings for Google Cloud Client libraries generated from APIs defined as protocol buffers. Generated from protobuf field .google.api.Publishing publishing = 45; |
| protected $quota = NULL Quota configuration. Generated from protobuf field .google.api.Quota quota = 10; |
| protected $source_info = NULL Output only. The source information for this configuration if available. Generated from protobuf field .google.api.SourceInfo source_info = 37; |
| protected $system_parameters = NULL System parameter configuration. Generated from protobuf field .google.api.SystemParameters system_parameters = 29; |
| protected $title = '' The product title for this service, it is the name displayed in Google Cloud Console. Generated from protobuf field string title = 2; |
| protected $usage = NULL Configuration controlling usage of this service. Generated from protobuf field .google.api.Usage usage = 15; |
| Methods |
| Properties |
| private $apis = NULL A list of API interfaces exported by this service. Only the Generated from protobuf field repeated .google.protobuf.Api apis = 3; |
| private $endpoints = NULL Configuration for network endpoints. If this is empty, then an endpoint with the same name as the service is automatically generated to service all defined APIs. Generated from protobuf field repeated .google.api.Endpoint endpoints = 18; |
| private $enums = NULL A list of all enum types included in this API service. Enums referenced
directly or indirectly by the Generated from protobuf field repeated .google.protobuf.Enum enums = 5; |
| private $logs = NULL Defines the logs used by this service. Generated from protobuf field repeated .google.api.LogDescriptor logs = 23; |
| private $metrics = NULL Defines the metrics used by this service. Generated from protobuf field repeated .google.api.MetricDescriptor metrics = 24; |
| private $monitored_resources = NULL Defines the monitored resources used by this service. This is required
by the Generated from protobuf field repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25; |
| private $types = NULL A list of all proto message types included in this API service. Types referenced directly or indirectly by the Generated from protobuf field repeated .google.protobuf.Type types = 4; |