Google Cloud BigQuery Analytics Hub V1 Client - Class CreateListingRequest (0.4.0)

Reference documentation and code samples for the Google Cloud BigQuery Analytics Hub V1 Client class CreateListingRequest.

Message for creating a listing.

Generated from protobuf message google.cloud.bigquery.analyticshub.v1.CreateListingRequest

Namespace

Google \ Cloud \ BigQuery \ AnalyticsHub \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource path of the listing. e.g. projects/myproject/locations/US/dataExchanges/123.

↳ listing_id string

Required. The ID of the listing to create. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Max length: 100 bytes.

↳ listing Google\Cloud\BigQuery\AnalyticsHub\V1\Listing

Required. The listing to create.

getParent

Required. The parent resource path of the listing.

e.g. projects/myproject/locations/US/dataExchanges/123.

Returns
TypeDescription
string

setParent

Required. The parent resource path of the listing.

e.g. projects/myproject/locations/US/dataExchanges/123.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getListingId

Required. The ID of the listing to create.

Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Max length: 100 bytes.

Returns
TypeDescription
string

setListingId

Required. The ID of the listing to create.

Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Max length: 100 bytes.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getListing

Required. The listing to create.

Returns
TypeDescription
Google\Cloud\BigQuery\AnalyticsHub\V1\Listing|null

hasListing

clearListing

setListing

Required. The listing to create.

Parameter
NameDescription
var Google\Cloud\BigQuery\AnalyticsHub\V1\Listing
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

Required. The parent resource path of the listing. e.g. projects/myproject/locations/US/dataExchanges/123. Please see Google\Cloud\BigQuery\AnalyticsHub\V1\AnalyticsHubServiceClient::dataExchangeName() for help formatting this field.

listing Google\Cloud\BigQuery\AnalyticsHub\V1\Listing

Required. The listing to create.

Returns
TypeDescription
Google\Cloud\BigQuery\AnalyticsHub\V1\CreateListingRequest