File tree 9 files changed +33
-41
lines changed
bigquery/google/cloud/bigquery
language/google/cloud/language
monitoring/google/cloud/monitoring
resource_manager/google/cloud/resource_manager
runtimeconfig/google/cloud/runtimeconfig
speech/google/cloud/speech
translate/google/cloud/translate
vision/google/cloud/vision
9 files changed +33
-41
lines changed Original file line number Diff line number Diff line change 18
18
19
19
20
20
class Connection (_http .JSONConnection ):
21
- """A connection to Google BigQuery via the JSON REST API."""
21
+ """A connection to Google BigQuery via the JSON REST API.
22
+
23
+ :type client: :class:`~google.cloud.bigquery.client.Client`
24
+ :param client: The client that owns the current connection.
25
+ """
22
26
23
27
API_BASE_URL = 'https://www.googleapis.com'
24
28
"""The base of the API call URL."""
Original file line number Diff line number Diff line change 18
18
19
19
20
20
class Connection (_http .JSONConnection ):
21
- """A connection to Google Cloud DNS via the JSON REST API."""
21
+ """A connection to Google Cloud DNS via the JSON REST API.
22
+
23
+ :type client: :class:`~google.cloud.dns.client.Client`
24
+ :param client: The client that owns the current connection.
25
+ """
22
26
23
27
API_BASE_URL = 'https://www.googleapis.com'
24
28
"""The base of the API call URL."""
Original file line number Diff line number Diff line change 18
18
19
19
20
20
class Connection (_http .JSONConnection ):
21
- """A connection to Google Cloud Natural Language JSON REST API."""
21
+ """A connection to Google Cloud Natural Language JSON REST API.
22
+
23
+ :type client: :class:`~google.cloud.language.client.Client`
24
+ :param client: The client that owns the current connection.
25
+ """
22
26
23
27
API_BASE_URL = 'https://language.googleapis.com'
24
28
"""The base of the API call URL."""
Original file line number Diff line number Diff line change 20
20
class Connection (_http .JSONConnection ):
21
21
"""A connection to Google Stackdriver Monitoring via the JSON REST API.
22
22
23
- :type credentials: :class:`oauth2client.client.OAuth2Credentials`
24
- :param credentials: (Optional) The OAuth2 Credentials to use for this
25
- connection.
26
-
27
- :type http: :class:`httplib2.Http` or class that defines ``request()``
28
- :param http: (Optional) HTTP object to make requests.
29
-
30
- :type api_base_url: str
31
- :param api_base_url: The base of the API call URL. Defaults to the value
32
- :attr:`Connection.API_BASE_URL`.
23
+ :type client: :class:`~google.cloud.monitoring.client.Client`
24
+ :param client: The client that owns the current connection.
33
25
"""
34
26
35
27
API_BASE_URL = 'https://monitoring.googleapis.com'
Original file line number Diff line number Diff line change 21
21
class Connection (_http .JSONConnection ):
22
22
"""A connection to Google Cloud Resource Manager via the JSON REST API.
23
23
24
- :type credentials: :class:`oauth2client.client.OAuth2Credentials`
25
- :param credentials: (Optional) The OAuth2 Credentials to use for this
26
- connection.
27
-
28
- :type http: :class:`httplib2.Http` or class that defines ``request()``.
29
- :param http: (Optional) HTTP object to make requests.
24
+ :type client: :class:`~google.cloud.resource_manager.client.Client`
25
+ :param client: The client that owns the current connection.
30
26
"""
31
27
32
28
API_BASE_URL = 'https://cloudresourcemanager.googleapis.com'
Original file line number Diff line number Diff line change 22
22
class Connection (_http .JSONConnection ):
23
23
"""A connection to Google Cloud RuntimeConfig via the JSON REST API.
24
24
25
- :type credentials: :class:`oauth2client.client.OAuth2Credentials`
26
- :param credentials: (Optional) The OAuth2 Credentials to use for this
27
- connection.
28
-
29
- :type http: :class:`httplib2.Http` or class that defines ``request()``.
30
- :param http: (Optional) HTTP object to make requests.
31
-
32
- :type api_base_url: str
33
- :param api_base_url: The base of the API call URL. Defaults to the value
34
- :attr:`Connection.API_BASE_URL`.
25
+ :type client: :class:`~google.cloud.runtimeconfig.client.Client`
26
+ :param client: The client that owns the current connection.
35
27
"""
36
28
37
29
API_BASE_URL = 'https://runtimeconfig.googleapis.com'
Original file line number Diff line number Diff line change 18
18
19
19
20
20
class Connection (_http .JSONConnection ):
21
- """A connection to Google Cloud Speech JSON REST API."""
21
+ """A connection to Google Cloud Speech JSON REST API.
22
+
23
+ :type client: :class:`~google.cloud.speech.client.Client`
24
+ :param client: The client that owns the current connection.
25
+ """
22
26
23
27
API_BASE_URL = 'https://speech.googleapis.com'
24
28
"""The base of the API call URL."""
Original file line number Diff line number Diff line change 18
18
19
19
20
20
class Connection (_http .JSONConnection ):
21
- """A connection to Google Cloud Translation API via the JSON REST API."""
21
+ """A connection to Google Cloud Translation API via the JSON REST API.
22
+
23
+ :type client: :class:`~google.cloud.translate.client.Client`
24
+ :param client: The client that owns the current connection.
25
+ """
22
26
23
27
API_BASE_URL = 'https://translation.googleapis.com'
24
28
"""The base of the API call URL."""
Original file line number Diff line number Diff line change 22
22
class Connection (_http .JSONConnection ):
23
23
"""A connection to Google Cloud Vision via the JSON REST API.
24
24
25
- :type credentials: :class:`oauth2client.client.OAuth2Credentials`
26
- :param credentials: (Optional) The OAuth2 Credentials to use for this
27
- connection.
28
-
29
- :type http: :class:`httplib2.Http` or class that defines ``request()``.
30
- :param http: (Optional) HTTP object to make requests.
31
-
32
- :type api_base_url: str
33
- :param api_base_url: The base of the API call URL. Defaults to the value
34
- :attr:`Connection.API_BASE_URL`.
25
+ :type client: :class:`~google.cloud.vision.client.Client`
26
+ :param client: The client that owns the current connection.
35
27
"""
36
28
37
29
API_BASE_URL = 'https://vision.googleapis.com'
You can’t perform that action at this time.
0 commit comments