A

AgentHeaderClass in namespace Google\ApiCore
Class containing functions used to build the Agent header.
ApiExceptionClass in namespace Google\ApiCore
Represents an exception thrown during an RPC.
ApiStatusClass in namespace Google\ApiCore
ArrayTraitClass in namespace Google\ApiCore
Provides basic array helper methods.
AbsoluteResourceTemplateClass in namespace Google\ApiCore\ResourceTemplate
Represents an absolute resource template, meaning that it will always contain a leading slash, and may contain a trailing verb (":").
GeneratedTest::assertProtobufEquals() — Method in class GeneratedTest
MockStubTrait::addResponse() — Method in class MockStubTrait
Add a response object, and an optional status, to the list of responses to be returned via _simpleRequest.
ProtobufGPBEmptyComparator::accepts() — Method in class ProtobufGPBEmptyComparator
Returns whether the comparator can compare two values.
ProtobufGPBEmptyComparator::assertEquals() — Method in class ProtobufGPBEmptyComparator
Asserts that two values are equal.
ProtobufMessageComparator::accepts() — Method in class ProtobufMessageComparator
Returns whether the comparator can compare two values.
ProtobufMessageComparator::assertEquals() — Method in class ProtobufMessageComparator
Asserts that two values are equal.

B

AgentHeader::buildAgentHeader() — Method in class AgentHeader
BidiStreamClass in namespace Google\ApiCore
BidiStream is the response object from a gRPC bidirectional streaming API call.
CredentialsWrapper::build() — Method in class CredentialsWrapper
Factory method to create a CredentialsWrapper from an array of options.
RequestBuilder::build() — Method in class RequestBuilder
GrpcFallbackTransport::build() — Method in class GrpcFallbackTransport
Builds a GrpcFallbackTransport.
GrpcTransport::build() — Method in class GrpcTransport
Builds a GrpcTransport.
RestTransport::build() — Method in class RestTransport
Builds a RestTransport.
UriTrait::buildUriWithQuery() — Method in class UriTrait

C

ApiException::createFromStdClass() — Method in class ApiException
ApiException::createFromApiResponse() — Method in class ApiException
ApiException::createFromRpcStatus() — Method in class ApiException
BidiStream::closeWrite() — Method in class BidiStream
Inform the server that no more requests will be written. The write() function cannot be called after closeWrite() is called.
BidiStream::closeWriteAndReadAll() — Method in class BidiStream
Call closeWrite(), and read all responses from the server, until the streaming call is completed. Throws an ApiException if the streaming call failed.
CallClass in namespace Google\ApiCore
Contains information necessary to manage a network request.
ClientStreamClass in namespace Google\ApiCore
ClientStream is the response object from a gRPC client streaming API call.
CredentialsWrapperClass in namespace Google\ApiCore
The CredentialsWrapper object provides a wrapper around a FetchAuthTokenInterface.
GapicClientTrait::close() — Method in class GapicClientTrait
Initiates an orderly shutdown in which preexisting calls continue but new calls are immediately cancelled.
OperationsGapicClient::cancelOperation() — Method in class OperationsGapicClient
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use [Operations.GetOperation][google.longrunning.Operations.GetOperation] or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to Code.CANCELLED.
CredentialsWrapperMiddlewareClass in namespace Google\ApiCore\Middleware
Middleware which adds a CredentialsWrapper object to the call options.
OperationResponse::cancel() — Method in class OperationResponse
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it will throw an ApiException with code \Google\Rpc\Code::UNIMPLEMENTED. Clients can continue to use reload and pollUntilComplete methods to check whether the cancellation succeeded or whether the operation completed despite cancellation.
PageStreamingDescriptor::createFromFields() — Method in class PageStreamingDescriptor
RetrySettings::constructDefault() — Method in class RetrySettings
$ MockStatus#codeProperty in class MockStatus
MockStubTrait::create() — Method in class MockStubTrait
MockStubTrait::createWithResponseSequence() — Method in class MockStubTrait
Creates a sequence such that the responses are returned in order.
MockTransport::close() — Method in class MockTransport
Closes the connection, if one exists.
ForwardingCall::cancel() — Method in class ForwardingCall
Cancels the call.
HttpUnaryTransportTrait::close() — Method in class HttpUnaryTransportTrait
{@inheritdoc}
TransportInterface::close() — Method in class TransportInterface
Closes the connection, if one exists.

D

OperationsGapicClient::deleteOperation() — Method in class OperationsGapicClient
Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.
OperationResponse::delete() — Method in class OperationResponse
Delete the long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation.
Serializer::decodeMessage() — Method in class Serializer
Decode PHP array into the specified protobuf message
Serializer::decodeMetadata() — Method in class Serializer
Decode metadata received from gRPC status object
Serializer::decodeAnyMessages() — Method in class Serializer
Decode an array of Any messages into a printable PHP array.
$ MockStatus#detailsProperty in class MockStatus
SerializationTrait::deserializeMessage() — Method in class SerializationTrait

E

Page::expandToFixedSizeCollection() — Method in class Page
Returns a collection of elements with a fixed size set by the collectionSize parameter. The collection will only contain fewer than collectionSize elements if there are no more pages to be retrieved from the server.
PagedListResponse::expandToFixedSizeCollection() — Method in class PagedListResponse
Returns a collection of elements with a fixed size set by the collectionSize parameter. The collection will only contain fewer than collectionSize elements if there are no more pages to be retrieved from the server.
Serializer::encodeMessage() — Method in class Serializer
Encode protobuf message as a PHP array
$ ProtobufMessageComparator#exporterProperty in class ProtobufMessageComparator

F

FixedSizeCollectionClass in namespace Google\ApiCore
A collection of elements retrieved using one or more API calls. The collection will attempt to retrieve a fixed number of elements, and will make API calls until that fixed number is reached, or there are no more elements to retrieve.
FixedHeaderMiddlewareClass in namespace Google\ApiCore\Middleware
Middleware to add fixed headers to an API call.
ForwardingCallClass in namespace Google\ApiCore\Transport\Grpc
Class ForwardingCall wraps a \Grpc\AbstractCall.
ForwardingServerStreamingCallClass in namespace Google\ApiCore\Transport\Grpc
Class ForwardingServerStreamingCall wraps a \Grpc\ServerStreamingCall.
ForwardingUnaryCallClass in namespace Google\ApiCore\Transport\Grpc
Class ForwardingUnaryCall wraps a \Grpc\UnaryCall.

G

ApiException::getStatus() — Method in class ApiException
ApiException::getBasicMessage() — Method in class ApiException
ApiException::getMetadata() — Method in class ApiException
BidiStream::getBidiStreamingCall() — Method in class BidiStream
Return the underlying gRPC call object
Call::getMethod() — Method in class Call
Call::getCallType() — Method in class Call
Call::getDecodeType() — Method in class Call
Call::getMessage() — Method in class Call
Call::getDescriptor() — Method in class Call
ClientStream::getClientStreamingCall() — Method in class ClientStream
Return the underlying gRPC call object
CredentialsWrapper::getQuotaProject() — Method in class CredentialsWrapper
CredentialsWrapper::getBearerString() — Method in class CredentialsWrapper
CredentialsWrapper::getAuthorizationHeaderCallback() — Method in class CredentialsWrapper
FixedSizeCollection::getCollectionSize() — Method in class FixedSizeCollection
Returns the number of elements in the collection. This will be equal to the collectionSize parameter used at construction unless there are no elements remaining to be retrieved.
FixedSizeCollection::getNextPageToken() — Method in class FixedSizeCollection
Returns a page token that can be passed into the API list method to retrieve additional elements.
FixedSizeCollection::getNextCollection() — Method in class FixedSizeCollection
Retrieves the next FixedSizeCollection using one or more API calls.
FixedSizeCollection::getIterator() — Method in class FixedSizeCollection
Returns an iterator over the elements of the collection.
GPBLabelClass in namespace Google\ApiCore
Container class for Protobuf label constants. See FieldDescriptorProto.Label in https://github.com/google/protobuf/blob/master/src/google/protobuf/descriptor.proto
GPBTypeClass in namespace Google\ApiCore
Container class for Protobuf type constants. See FieldDescriptorProto.Type in https://github.com/google/protobuf/blob/master/src/google/protobuf/descriptor.proto
GapicClientTraitClass in namespace Google\ApiCore
Common functions used to work with various clients.
GapicClientTrait::getTransport() — Method in class GapicClientTrait
Get the transport for the client. This method is protected to support use by customized clients.
GapicClientTrait::getCredentialsWrapper() — Method in class GapicClientTrait
Get the credentials for the client. This method is protected to support use by customized clients.
GrpcSupportTraitClass in namespace Google\ApiCore
Provides helper methods for gRPC support.
OperationsGapicClient::getOperation() — Method in class OperationsGapicClient
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
RetryMiddleware::getCurrentTimeMs() — Method in class RetryMiddleware
OperationResponse::getName() — Method in class OperationResponse
Get the formatted name of the operation
OperationResponse::getResult() — Method in class OperationResponse
Return the result of the operation. If operationSucceeded() is false, return null.
OperationResponse::getError() — Method in class OperationResponse
If the operation failed, return the status. If operationFailed() is false, return null.
OperationResponse::getDescriptorOptions() — Method in class OperationResponse
Get an array containing the values of 'operationReturnType', 'metadataReturnType', and the polling options initialPollDelayMillis, pollDelayMultiplier, maxPollDelayMillis, and totalPollTimeoutMillis. The array can be passed as the $options argument to the constructor when creating another OperationResponse object.
OperationResponse::getLastProtoResponse() — Method in class OperationResponse
OperationResponse::getOperationsClient() — Method in class OperationResponse
OperationResponse::getMetadata() — Method in class OperationResponse
Get the metadata returned with the last proto response. If a metadata type was provided, then the return value will be of that type - otherwise, the return value will be of type Any. If no metadata object is available, returns null.
Page::getNextPageToken() — Method in class Page
Returns the next page token from the response.
Page::getNextPage() — Method in class Page
Retrieves the next Page object using the next page token.
Page::getPageElementCount() — Method in class Page
Return the number of elements in the response.
Page::getIterator() — Method in class Page
Return an iterator over the elements in the response.
Page::getRequestObject() — Method in class Page
Gets the request object used to generate the Page.
Page::getResponseObject() — Method in class Page
Gets the API response object.
PageStreamingDescriptor::getRequestPageTokenGetMethod() — Method in class PageStreamingDescriptor
PageStreamingDescriptor::getRequestPageSizeGetMethod() — Method in class PageStreamingDescriptor
PageStreamingDescriptor::getResponsePageTokenGetMethod() — Method in class PageStreamingDescriptor
PageStreamingDescriptor::getResourcesGetMethod() — Method in class PageStreamingDescriptor
PageStreamingDescriptor::getRequestPageTokenSetMethod() — Method in class PageStreamingDescriptor
PageStreamingDescriptor::getRequestPageSizeSetMethod() — Method in class PageStreamingDescriptor
PagedListResponse::getIterator() — Method in class PagedListResponse
Returns an iterator over the full list of elements. If the API response contains a (non-empty) next page token, then the PagedListResponse object will make calls to the underlying API to retrieve additional elements as required.
PagedListResponse::getPage() — Method in class PagedListResponse
Return the current page of results.
PollingTrait::getCurrentTimeMillis() — Method in class PollingTrait
Protected to allow overriding for tests
RequestParamsHeaderDescriptor::getHeader() — Method in class RequestParamsHeaderDescriptor
Returns an associative array that contains request params header metadata.
Segment::getSegmentType() — Method in class Segment
Segment::getKey() — Method in class Segment
Segment::getValue() — Method in class Segment
Segment::getTemplate() — Method in class Segment
Segment::getSeparator() — Method in class Segment
RetrySettings::getNoRetriesRpcTimeoutMillis() — Method in class RetrySettings
RetrySettings::getRetryableCodes() — Method in class RetrySettings
RetrySettings::getInitialRetryDelayMillis() — Method in class RetrySettings
RetrySettings::getRetryDelayMultiplier() — Method in class RetrySettings
RetrySettings::getMaxRetryDelayMillis() — Method in class RetrySettings
RetrySettings::getInitialRpcTimeoutMillis() — Method in class RetrySettings
RetrySettings::getRpcTimeoutMultiplier() — Method in class RetrySettings
RetrySettings::getMaxRpcTimeoutMillis() — Method in class RetrySettings
RetrySettings::getTotalTimeoutMillis() — Method in class RetrySettings
Serializer::getGetter() — Method in class Serializer
Serializer::getSetter() — Method in class Serializer
ServerStream::getServerStreamingCall() — Method in class ServerStream
Return the underlying gRPC call object
GeneratedTestClass in namespace Google\ApiCore\Testing
MockBidiStreamingCall::getStatus() — Method in class MockBidiStreamingCall
MockGrpcTransport::getRequestArguments() — Method in class MockGrpcTransport
MockRequest::getPageToken() — Method in class MockRequest
Generated from protobuf field string page_token = 1;
MockRequest::getPageSize() — Method in class MockRequest
Generated from protobuf field uint64 page_size = 2;
MockRequestBody::getName() — Method in class MockRequestBody
Generated from protobuf field string name = 1;
MockRequestBody::getNumber() — Method in class MockRequestBody
Generated from protobuf field uint64 number = 2;
MockRequestBody::getRepeatedField() — Method in class MockRequestBody
Generated from protobuf field repeated string repeated_field = 3;
MockRequestBody::getNestedMessage() — Method in class MockRequestBody
Generated from protobuf field .google.apicore.testing.MockRequestBody nested_message = 4;
MockRequestBody::getBytesValue() — Method in class MockRequestBody
Generated from protobuf field .google.protobuf.BytesValue bytes_value = 5;
MockRequestBody::getDurationValue() — Method in class MockRequestBody
Generated from protobuf field .google.protobuf.Duration duration_value = 6;
MockRequestBody::getFieldMask() — Method in class MockRequestBody
Generated from protobuf field .google.protobuf.FieldMask field_mask = 7;
MockRequestBody::getInt64Value() — Method in class MockRequestBody
Generated from protobuf field .google.protobuf.Int64Value int64_value = 8;
MockRequestBody::getListValue() — Method in class MockRequestBody
Generated from protobuf field .google.protobuf.ListValue list_value = 9;
MockRequestBody::getStringValue() — Method in class MockRequestBody
Generated from protobuf field .google.protobuf.StringValue string_value = 10;
MockRequestBody::getStructValue() — Method in class MockRequestBody
Generated from protobuf field .google.protobuf.Struct struct_value = 11;
MockRequestBody::getTimestampValue() — Method in class MockRequestBody
Generated from protobuf field .google.protobuf.Timestamp timestamp_value = 12;
MockRequestBody::getValueValue() — Method in class MockRequestBody
Generated from protobuf field .google.protobuf.Value value_value = 13;
MockRequestBody::getField1() — Method in class MockRequestBody
Generated from protobuf field string field_1 = 14;
MockRequestBody::getField2() — Method in class MockRequestBody
Generated from protobuf field string field_2 = 15;
MockRequestBody::getField3() — Method in class MockRequestBody
Generated from protobuf field string field_3 = 16;
MockRequestBody::getOneofField() — Method in class MockRequestBody
MockResponse::getName() — Method in class MockResponse
Generated from protobuf field string name = 1;
MockResponse::getNumber() — Method in class MockResponse
Generated from protobuf field uint64 number = 2;
MockResponse::getResourcesList() — Method in class MockResponse
Generated from protobuf field repeated string resources_list = 3;
MockResponse::getNextPageToken() — Method in class MockResponse
Generated from protobuf field string next_page_token = 4;
MockServerStreamingCall::getStatus() — Method in class MockServerStreamingCall
MockStubTrait::getReceivedCallCount() — Method in class MockStubTrait
ReceivedRequest::getArray() — Method in class ReceivedRequest
ReceivedRequest::getFuncCall() — Method in class ReceivedRequest
ReceivedRequest::getRequestObject() — Method in class ReceivedRequest
ReceivedRequest::getMetadata() — Method in class ReceivedRequest
ReceivedRequest::getOptions() — Method in class ReceivedRequest
GrpcFallbackTransportClass in namespace Google\ApiCore\Transport
A transport that sends protobuf over HTTP 1.1 that can be used when full gRPC support is not available.
GrpcTransportClass in namespace Google\ApiCore\Transport
A gRPC based transport implementation.
ForwardingCall::getMetadata() — Method in class ForwardingCall
ForwardingCall::getTrailingMetadata() — Method in class ForwardingCall
ForwardingCall::getPeer() — Method in class ForwardingCall
ForwardingServerStreamingCall::getStatus() — Method in class ForwardingServerStreamingCall
Wait for the server to send the status, and return it.
Version::getApiCoreVersion() — Method in class Version

H

FixedSizeCollection::hasNextCollection() — Method in class FixedSizeCollection
Returns true if there are more elements that can be retrieved from the API.
Page::hasNextPage() — Method in class Page
Returns true if there are more pages that can be retrieved from the API.
HttpUnaryTransportTraitClass in namespace Google\ApiCore\Transport
A trait for shared functionality between transports that support only unary RPCs using simple HTTP requests.

I

ApiStatus::isValidStatus() — Method in class ApiStatus
FixedSizeCollection::iterateCollections() — Method in class FixedSizeCollection
Returns an iterator over FixedSizeCollections, starting with this and making API calls as required until all of the elements have been retrieved.
OperationResponse::isDone() — Method in class OperationResponse
Check whether the operation has completed.
Page::iteratePages() — Method in class Page
Return an iterator over Page objects, beginning with this object.
PagedListResponse::iterateAllElements() — Method in class PagedListResponse
Returns an iterator over the full list of elements. If the API response contains a (non-empty) next page token, then the PagedListResponse object will make calls to the underlying API to retrieve additional elements as required.
PagedListResponse::iteratePages() — Method in class PagedListResponse
Returns an iterator over pages of results. The pages are retrieved lazily from the underlying API.
PagedListResponse::iterateFixedSizeCollections() — Method in class PagedListResponse
Returns an iterator over fixed size collections of results.
MockStubTrait::isExhausted() — Method in class MockStubTrait
$ ForwardingCall#innerCallProperty in class ForwardingCall
UnaryInterceptorInterface::interceptUnaryUnary() — Method in class UnaryInterceptorInterface

L

OperationsGapicClient::listOperations() — Method in class OperationsGapicClient
Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.
RetrySettings::load() — Method in class RetrySettings
Constructs an array mapping method names to CallSettings.
Serializer::loadKnownMetadataTypes() — Method in class Serializer

M

GapicClientTrait::modifyClientOptions() — Method in class GapicClientTrait
Modify options passed to the client before calling setClientOptions.
GapicClientTrait::modifyUnaryCallable() — Method in class GapicClientTrait
Modify the unary callable.
GapicClientTrait::modifyStreamingCallable() — Method in class GapicClientTrait
Modify the streaming callable.
PathTemplate::matches() — Method in class PathTemplate
Check if $path matches a resource string.
PathTemplate::match() — Method in class PathTemplate
Matches a fully qualified path template string.
AbsoluteResourceTemplate::matches() — Method in class AbsoluteResourceTemplate
AbsoluteResourceTemplate::match() — Method in class AbsoluteResourceTemplate
RelativeResourceTemplate::matches() — Method in class RelativeResourceTemplate
RelativeResourceTemplate::match() — Method in class RelativeResourceTemplate
ResourceTemplateInterface::matches() — Method in class ResourceTemplateInterface
Check if $path matches a resource string.
ResourceTemplateInterface::match() — Method in class ResourceTemplateInterface
Matches a given $path to a resource template, and returns an array of bindings between wildcards / variables in the template and values in the path. If $path does not match the template, then a ValidationException is thrown.
Segment::matches() — Method in class Segment
Checks if $value matches this Segment.
MessageAwareArrayComparatorClass in namespace Google\ApiCore\Testing
MessageAwareExporterClass in namespace Google\ApiCore\Testing
MockBidiStreamingCallClass in namespace Google\ApiCore\Testing
The MockBidiStreamingCall class is used to mock out the \Grpc\BidiStreamingCall class (https://github.com/grpc/grpc/blob/master/src/php/lib/Grpc/BidiStreamingCall.php)
MockClientStreamingCallClass in namespace Google\ApiCore\Testing
The MockClientStreamingCall class is used to mock out the \Grpc\ClientStreamingCall class (https://github.com/grpc/grpc/blob/master/src/php/lib/Grpc/ClientStreamingCall.php)
MockGrpcTransportClass in namespace Google\ApiCore\Testing
MockRequestClass in namespace Google\ApiCore\Testing
Generated from protobuf message google.apicore.testing.MockRequest
MockRequestBodyClass in namespace Google\ApiCore\Testing
Generated from protobuf message google.apicore.testing.MockRequestBody
MockResponseClass in namespace Google\ApiCore\Testing
Generated from protobuf message google.apicore.testing.MockResponse
MockServerStreamingCallClass in namespace Google\ApiCore\Testing
The MockServerStreamingCall class is used to mock out the \Grpc\ServerStreamingCall class (https://github.com/grpc/grpc/blob/master/src/php/lib/Grpc/ServerStreamingCall.php)
MockStatusClass in namespace Google\ApiCore\Testing
$ MockStatus#metadataProperty in class MockStatus
MockStubTraitClass in namespace Google\ApiCore\Testing
The MockStubTrait is used by generated mock stub classes which extent \Grpc\BaseStub (https://github.com/grpc/grpc/blob/master/src/php/lib/Grpc/BaseStub.php) It provides functionality to add responses, get received calls, and overrides the _simpleRequest method so that the elements of $responses are returned instead of making a call to the API.
MockTransportClass in namespace Google\ApiCore\Testing
MockUnaryCallClass in namespace Google\ApiCore\Testing
The MockUnaryCall class is used to mock out the \Grpc\UnaryCall class (https://github.com/grpc/grpc/blob/master/src/php/lib/Grpc/UnaryCall.php)

O

OperationsGapicClientClass in namespace Google\ApiCore\LongRunning\Gapic
Service Description: Manages long-running operations with an API service.
OperationsClientClass in namespace Google\ApiCore\LongRunning
{@inheritdoc}
OperationsMiddlewareClass in namespace Google\ApiCore\Middleware
Middleware which wraps the response in an OperationResponse object.
OptionsFilterMiddlewareClass in namespace Google\ApiCore\Middleware
Middleware which filters the $options array.
OperationResponseClass in namespace Google\ApiCore
Response object from a long running API method.
OperationResponse::operationSucceeded() — Method in class OperationResponse
Check whether the operation completed successfully. If the operation is not complete, or if the operation failed, return false.
OperationResponse::operationFailed() — Method in class OperationResponse
Check whether the operation failed. If the operation is not complete, or if the operation succeeded, return false.
$ MockRequestBody#oneof_fieldProperty in class MockRequestBody

P

PagedMiddlewareClass in namespace Google\ApiCore\Middleware
Middleware which wraps the response in an PagedListResponses object.
OperationResponse::pollUntilComplete() — Method in class OperationResponse
Poll the server in a loop until the operation is complete.
PageClass in namespace Google\ApiCore
A Page object wraps an API list method response and provides methods to retrieve additional pages using the page token.
PageStreamingDescriptorClass in namespace Google\ApiCore
Holds the description information used for page streaming.
PagedListResponseClass in namespace Google\ApiCore
Response object for paged results from a list API method
PathTemplateClass in namespace Google\ApiCore
Represents a path template.
PollingTraitClass in namespace Google\ApiCore
ParserClass in namespace Google\ApiCore\ResourceTemplate
Collection of methods for parsing Segments.
Parser::parseSegments() — Method in class Parser
Parses a path into an array of segments.
MockBidiStreamingCall::popReceivedCalls() — Method in class MockBidiStreamingCall
Return a list of calls made to write(), and clear $receivedFuncCalls.
MockClientStreamingCall::popReceivedCalls() — Method in class MockClientStreamingCall
Return a list of calls made to write(), and clear $receivedFuncCalls.
MockStubTrait::popReceivedCalls() — Method in class MockStubTrait
Return a list of calls made to _simpleRequest, and clear $receivedFuncCalls.
MockStubTrait::popCallObjects() — Method in class MockStubTrait
ProtobufGPBEmptyComparatorClass in namespace Google\ApiCore\Testing
ProtobufMessageComparatorClass in namespace Google\ApiCore\Testing

R

AgentHeader::readGapicVersionFromFile() — Method in class AgentHeader
Reads the gapic version string from a VERSION file. In order to determine the file location, this method follows this procedure: - accepts a class name $callingClass - identifies the file defining that class - searches up the directory structure for the 'src' directory - looks in the directory above 'src' for a file named VERSION
ApiStatus::rpcCodeFromStatus() — Method in class ApiStatus
ApiStatus::rpcCodeFromHttpStatusCode() — Method in class ApiStatus
Maps HTTP status codes to Google\Rpc\Code codes.
BidiStream::read() — Method in class BidiStream
Read the next response from the server. Returns null if the streaming call completed successfully. Throws an ApiException if the streaming call failed.
ClientStream::readResponse() — Method in class ClientStream
Read the response from the server, completing the streaming call.
ResponseMetadataMiddlewareClass in namespace Google\ApiCore\Middleware
Middleware which transforms $response into [$response, $metadata]
RetryMiddlewareClass in namespace Google\ApiCore\Middleware
Middleware that adds retry functionality.
OperationResponse::reload() — Method in class OperationResponse
Reload the status of the operation with a request to the service.
PageStreamingDescriptor::requestHasPageSizeField() — Method in class PageStreamingDescriptor
PathTemplate::render() — Method in class PathTemplate
Renders a path template using the provided bindings.
RequestBuilderClass in namespace Google\ApiCore
Builds a PSR-7 request from a set of request information.
RequestParamsHeaderDescriptorClass in namespace Google\ApiCore
Encapsulates request params header metadata.
AbsoluteResourceTemplate::render() — Method in class AbsoluteResourceTemplate
RelativeResourceTemplateClass in namespace Google\ApiCore\ResourceTemplate
Represents a relative resource template, meaning that it will never contain a leading slash or trailing verb (":").
RelativeResourceTemplate::render() — Method in class RelativeResourceTemplate
ResourceTemplateInterfaceClass in namespace Google\ApiCore\ResourceTemplate
Represents a resource template that may or may not contain a leading slash, and if a leading slash is present may contain a trailing verb (":"). (Note that a trailing verb without a leading slash is not permitted).
ResourceTemplateInterface::render() — Method in class ResourceTemplateInterface
Renders a resource template using the provided bindings.
RetrySettingsClass in namespace Google\ApiCore
The RetrySettings class is used to configure retrying and timeouts for RPCs.
RetrySettings::retriesEnabled() — Method in class RetrySettings
ServerStream::readAll() — Method in class ServerStream
A generator which yields results from the server until the streaming call completes. Throws an ApiException if the streaming call failed.
MockBidiStreamingCall::read() — Method in class MockBidiStreamingCall
MockServerStreamingCall::responses() — Method in class MockServerStreamingCall
ReceivedRequestClass in namespace Google\ApiCore\Testing
Class ReceivedRequest used to hold the function name and request object of a call make to a mock gRPC stub.
ForwardingServerStreamingCall::responses() — Method in class ForwardingServerStreamingCall
RestTransportClass in namespace Google\ApiCore\Transport
A REST based transport implementation.
Version::readVersionFile() — Method in class Version
Reads a VERSION file and returns the contents. If the file does not exist, returns "".

S

ApiStatus::statusFromRpcCode() — Method in class ApiStatus
PollingTrait::sleepMillis() — Method in class PollingTrait
Protected to allow overriding for tests
SegmentClass in namespace Google\ApiCore\ResourceTemplate
Represents a segment in a resource template. This is used internally by RelativeResourceTemplate, but is not intended for public use and may change without notice.
SerializerClass in namespace Google\ApiCore
Collection of methods to help with serialization of protobuf objects
Serializer::serializeToJson() — Method in class Serializer
Serializer::serializeToPhpArray() — Method in class Serializer
ServerStreamClass in namespace Google\ApiCore
ServerStream is the response object from a gRPC server streaming API call.
ServiceAddressTraitClass in namespace Google\ApiCore
Provides helper methods for service address handling.
MessageAwareExporter::shortenedExport() — Method in class MessageAwareExporter
Exports a value into a single-line string
MockRequest::setPageToken() — Method in class MockRequest
Generated from protobuf field string page_token = 1;
MockRequest::setPageSize() — Method in class MockRequest
Generated from protobuf field uint64 page_size = 2;
MockRequestBody::setName() — Method in class MockRequestBody
Generated from protobuf field string name = 1;
MockRequestBody::setNumber() — Method in class MockRequestBody
Generated from protobuf field uint64 number = 2;
MockRequestBody::setRepeatedField() — Method in class MockRequestBody
Generated from protobuf field repeated string repeated_field = 3;
MockRequestBody::setNestedMessage() — Method in class MockRequestBody
Generated from protobuf field .google.apicore.testing.MockRequestBody nested_message = 4;
MockRequestBody::setBytesValue() — Method in class MockRequestBody
Generated from protobuf field .google.protobuf.BytesValue bytes_value = 5;
MockRequestBody::setDurationValue() — Method in class MockRequestBody
Generated from protobuf field .google.protobuf.Duration duration_value = 6;
MockRequestBody::setFieldMask() — Method in class MockRequestBody
Generated from protobuf field .google.protobuf.FieldMask field_mask = 7;
MockRequestBody::setInt64Value() — Method in class MockRequestBody
Generated from protobuf field .google.protobuf.Int64Value int64_value = 8;
MockRequestBody::setListValue() — Method in class MockRequestBody
Generated from protobuf field .google.protobuf.ListValue list_value = 9;
MockRequestBody::setStringValue() — Method in class MockRequestBody
Generated from protobuf field .google.protobuf.StringValue string_value = 10;
MockRequestBody::setStructValue() — Method in class MockRequestBody
Generated from protobuf field .google.protobuf.Struct struct_value = 11;
MockRequestBody::setTimestampValue() — Method in class MockRequestBody
Generated from protobuf field .google.protobuf.Timestamp timestamp_value = 12;
MockRequestBody::setValueValue() — Method in class MockRequestBody
Generated from protobuf field .google.protobuf.Value value_value = 13;
MockRequestBody::setField1() — Method in class MockRequestBody
Generated from protobuf field string field_1 = 14;
MockRequestBody::setField2() — Method in class MockRequestBody
Generated from protobuf field string field_2 = 15;
MockRequestBody::setField3() — Method in class MockRequestBody
Generated from protobuf field string field_3 = 16;
MockResponse::setName() — Method in class MockResponse
Generated from protobuf field string name = 1;
MockResponse::setNumber() — Method in class MockResponse
Generated from protobuf field uint64 number = 2;
MockResponse::setResourcesList() — Method in class MockResponse
Generated from protobuf field repeated string resources_list = 3;
MockResponse::setNextPageToken() — Method in class MockResponse
Generated from protobuf field string next_page_token = 4;
MockStubTrait::stripStatusFromResponses() — Method in class MockStubTrait
MockStubTrait::setStreamingStatus() — Method in class MockStubTrait
Set the status object to be used when creating streaming calls.
MockTransport::setAgentHeaderDescriptor() — Method in class MockTransport
MockTransport::startUnaryCall() — Method in class MockTransport
Returns a promise used to execute network requests.
MockTransport::startBidiStreamingCall() — Method in class MockTransport
Starts a bidi streaming call.
MockTransport::startClientStreamingCall() — Method in class MockTransport
Starts a client streaming call.
MockTransport::startServerStreamingCall() — Method in class MockTransport
Starts a server streaming call.
SerializationTraitClass in namespace Google\ApiCore\Testing
GrpcFallbackTransport::startUnaryCall() — Method in class GrpcFallbackTransport
Returns a promise used to execute network requests.
GrpcTransport::startBidiStreamingCall() — Method in class GrpcTransport
Starts a bidi streaming call.
GrpcTransport::startClientStreamingCall() — Method in class GrpcTransport
Starts a client streaming call.
GrpcTransport::startServerStreamingCall() — Method in class GrpcTransport
Starts a server streaming call.
GrpcTransport::startUnaryCall() — Method in class GrpcTransport
Returns a promise used to execute network requests.
HttpUnaryTransportTrait::startClientStreamingCall() — Method in class HttpUnaryTransportTrait
{@inheritdoc}
HttpUnaryTransportTrait::startServerStreamingCall() — Method in class HttpUnaryTransportTrait
{@inheritdoc}
HttpUnaryTransportTrait::startBidiStreamingCall() — Method in class HttpUnaryTransportTrait
{@inheritdoc}
RestTransport::startUnaryCall() — Method in class RestTransport
Returns a promise used to execute network requests.
TransportInterface::startBidiStreamingCall() — Method in class TransportInterface
Starts a bidi streaming call.
TransportInterface::startClientStreamingCall() — Method in class TransportInterface
Starts a client streaming call.
TransportInterface::startServerStreamingCall() — Method in class TransportInterface
Starts a server streaming call.
TransportInterface::startUnaryCall() — Method in class TransportInterface
Returns a promise used to execute network requests.

T

Serializer::toSnakeCase() — Method in class Serializer
Convert string from camelCase to snake_case
Serializer::toCamelCase() — Method in class Serializer
Convert string from snake_case to camelCase
TransportInterfaceClass in namespace Google\ApiCore\Transport

U

UnaryInterceptorInterfaceClass in namespace Google\ApiCore\Transport\Grpc
Temporary class to support an interceptor-like interface until gRPC interceptor support is available.
UriTraitClass in namespace Google\ApiCore
Provides a light wrapper around often used URI related functions.

V

ValidationExceptionClass in namespace Google\ApiCore
ValidationException represents a local error (i.e. not during an RPC call).
ValidationTraitClass in namespace Google\ApiCore
ValidationTrait::validate() — Method in class ValidationTrait
ValidationTrait::validateNotNull() — Method in class ValidationTrait
VersionClass in namespace Google\ApiCore

W

BidiStream::write() — Method in class BidiStream
Write request to the server.
BidiStream::writeAll() — Method in class BidiStream
Write all requests in $requests.
Call::withMessage() — Method in class Call
ClientStream::write() — Method in class ClientStream
Write request to the server.
ClientStream::writeAllAndReadResponse() — Method in class ClientStream
Write all data in $dataArray and read the response from the server, completing the streaming call.
RetrySettings::with() — Method in class RetrySettings
Creates a new instance of RetrySettings that updates the settings in the existing instance with the settings specified in the $settings parameter.
MockBidiStreamingCall::write() — Method in class MockBidiStreamingCall
Save the request object, to be retrieved via getReceivedCalls()
MockBidiStreamingCall::writesDone() — Method in class MockBidiStreamingCall
Set writesDone to true
MockClientStreamingCall::wait() — Method in class MockClientStreamingCall
Immediately return the preset response object and status.
MockClientStreamingCall::write() — Method in class MockClientStreamingCall
Save the request object, to be retrieved via getReceivedCalls()
MockUnaryCall::wait() — Method in class MockUnaryCall
Immediately return the preset response object and status.
ForwardingUnaryCall::wait() — Method in class ForwardingUnaryCall
Wait for the server to respond with data and a status.

_

ApiException::__construct() — Method in class ApiException
ApiException constructor.
ApiException::__toString() — Method in class ApiException
String representation of ApiException
BidiStream::__construct() — Method in class BidiStream
BidiStream constructor.
Call::__construct() — Method in class Call
ClientStream::__construct() — Method in class ClientStream
ClientStream constructor.
CredentialsWrapper::__construct() — Method in class CredentialsWrapper
CredentialsWrapper constructor.
FixedSizeCollection::__construct() — Method in class FixedSizeCollection
FixedSizeCollection constructor.
OperationsGapicClient::__construct() — Method in class OperationsGapicClient
Constructor.
CredentialsWrapperMiddleware::__construct() — Method in class CredentialsWrapperMiddleware
CredentialsWrapperMiddleware::__invoke() — Method in class CredentialsWrapperMiddleware
FixedHeaderMiddleware::__construct() — Method in class FixedHeaderMiddleware
FixedHeaderMiddleware::__invoke() — Method in class FixedHeaderMiddleware
OperationsMiddleware::__construct() — Method in class OperationsMiddleware
OperationsMiddleware::__invoke() — Method in class OperationsMiddleware
OptionsFilterMiddleware::__construct() — Method in class OptionsFilterMiddleware
OptionsFilterMiddleware::__invoke() — Method in class OptionsFilterMiddleware
PagedMiddleware::__construct() — Method in class PagedMiddleware
PagedMiddleware::__invoke() — Method in class PagedMiddleware
ResponseMetadataMiddleware::__construct() — Method in class ResponseMetadataMiddleware
ResponseMetadataMiddleware::__invoke() — Method in class ResponseMetadataMiddleware
RetryMiddleware::__construct() — Method in class RetryMiddleware
RetryMiddleware::__invoke() — Method in class RetryMiddleware
OperationResponse::__construct() — Method in class OperationResponse
OperationResponse constructor.
Page::__construct() — Method in class Page
Page constructor.
PageStreamingDescriptor::__construct() — Method in class PageStreamingDescriptor
PagedListResponse::__construct() — Method in class PagedListResponse
PagedListResponse constructor.
PathTemplate::__construct() — Method in class PathTemplate
PathTemplate constructor.
PathTemplate::__toString() — Method in class PathTemplate
RequestBuilder::__construct() — Method in class RequestBuilder
RequestParamsHeaderDescriptor::__construct() — Method in class RequestParamsHeaderDescriptor
RequestParamsHeaderDescriptor constructor.
AbsoluteResourceTemplate::__construct() — Method in class AbsoluteResourceTemplate
AbsoluteResourceTemplate constructor.
AbsoluteResourceTemplate::__toString() — Method in class AbsoluteResourceTemplate
RelativeResourceTemplate::__construct() — Method in class RelativeResourceTemplate
RelativeResourceTemplate constructor.
RelativeResourceTemplate::__toString() — Method in class RelativeResourceTemplate
ResourceTemplateInterface::__toString() — Method in class ResourceTemplateInterface
Segment::__construct() — Method in class Segment
Segment constructor.
Segment::__toString() — Method in class Segment
RetrySettings::__construct() — Method in class RetrySettings
Constructs an instance.
Serializer::__construct() — Method in class Serializer
Serializer constructor.
ServerStream::__construct() — Method in class ServerStream
ServerStream constructor.
MessageAwareArrayComparator::__construct() — Method in class MessageAwareArrayComparator
MockBidiStreamingCall::__construct() — Method in class MockBidiStreamingCall
MockBidiStreamingCall constructor.
MockClientStreamingCall::__construct() — Method in class MockClientStreamingCall
MockClientStreamingCall constructor.
MockGrpcTransport::__construct() — Method in class MockGrpcTransport
MockGrpcTransport::_simpleRequest() — Method in class MockGrpcTransport
MockGrpcTransport::_clientStreamRequest() — Method in class MockGrpcTransport
MockGrpcTransport::_serverStreamRequest() — Method in class MockGrpcTransport
MockGrpcTransport::_bidiRequest() — Method in class MockGrpcTransport
MockRequest::__construct() — Method in class MockRequest
MockRequestBody::__construct() — Method in class MockRequestBody
Constructor.
MockResponse::__construct() — Method in class MockResponse
MockServerStreamingCall::__construct() — Method in class MockServerStreamingCall
MockServerStreamingCall constructor.
MockStatus::__construct() — Method in class MockStatus
MockStubTrait::__construct() — Method in class MockStubTrait
MockStubTrait::_simpleRequest() — Method in class MockStubTrait
Overrides the _simpleRequest method in \Grpc\BaseStub (https://github.com/grpc/grpc/blob/master/src/php/lib/Grpc/BaseStub.php) Returns a MockUnaryCall object that will return the first item from $responses
MockStubTrait::_clientStreamRequest() — Method in class MockStubTrait
Overrides the _clientStreamRequest method in \Grpc\BaseStub (https://github.com/grpc/grpc/blob/master/src/php/lib/Grpc/BaseStub.php) Returns a MockClientStreamingCall object that will return the first item from $responses
MockStubTrait::_serverStreamRequest() — Method in class MockStubTrait
Overrides the _serverStreamRequest method in \Grpc\BaseStub (https://github.com/grpc/grpc/blob/master/src/php/lib/Grpc/BaseStub.php) Returns a MockServerStreamingCall object that will stream items from $responses, and return a final status of $serverStreamingStatus.
MockStubTrait::_bidiRequest() — Method in class MockStubTrait
Overrides the _bidiRequest method in \Grpc\BaseStub (https://github.com/grpc/grpc/blob/master/src/php/lib/Grpc/BaseStub.php) Returns a MockBidiStreamingCall object that will stream items from $responses, and return a final status of $serverStreamingStatus.
MockTransport::__call() — Method in class MockTransport
MockUnaryCall::__construct() — Method in class MockUnaryCall
MockUnaryCall constructor.
ProtobufMessageComparator::__construct() — Method in class ProtobufMessageComparator
ReceivedRequest::__construct() — Method in class ReceivedRequest
GrpcFallbackTransport::__construct() — Method in class GrpcFallbackTransport
GrpcTransport::__construct() — Method in class GrpcTransport
ForwardingCall::__construct() — Method in class ForwardingCall
ForwardingCall constructor.
RestTransport::__construct() — Method in class RestTransport