Contact Center AI Insights API . projects . locations . authorizedViewSets

Instance Methods

authorizedViews()

Returns the authorizedViews Resource.

close()

Close httplib2 connections.

create(parent, authorizedViewSetId=None, body=None, x__xgafv=None)

Create AuthorizedViewSet

delete(name, force=None, x__xgafv=None)

Deletes an AuthorizedViewSet.

get(name, x__xgafv=None)

Get AuthorizedViewSet

list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)

List AuthorizedViewSets

list_next()

Retrieves the next page of results.

patch(name, body=None, updateMask=None, x__xgafv=None)

Updates an AuthorizedViewSet.

Method Details

close()
Close httplib2 connections.
create(parent, authorizedViewSetId=None, body=None, x__xgafv=None)
Create AuthorizedViewSet

Args:
  parent: string, Required. The parent resource of the AuthorizedViewSet. (required)
  body: object, The request body.
    The object takes the form of:

{ # An AuthorizedViewSet contains a set of AuthorizedView resources.
  "createTime": "A String", # Output only. Create time.
  "displayName": "A String", # Display Name. Limit 64 characters.
  "name": "A String", # Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}
  "updateTime": "A String", # Output only. Update time.
}

  authorizedViewSetId: string, Optional. A unique ID for the new AuthorizedViewSet. This ID will become the final component of the AuthorizedViewSet's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. See https://google.aip.dev/122#resource-id-segments
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # An AuthorizedViewSet contains a set of AuthorizedView resources.
  "createTime": "A String", # Output only. Create time.
  "displayName": "A String", # Display Name. Limit 64 characters.
  "name": "A String", # Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}
  "updateTime": "A String", # Output only. Update time.
}
delete(name, force=None, x__xgafv=None)
Deletes an AuthorizedViewSet.

Args:
  name: string, Required. The name of the AuthorizedViewSet to delete. (required)
  force: boolean, Optional. If set to true, all of this AuthorizedViewSet's child resources will also be deleted. Otherwise, the request will only succeed if it has none.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
}
get(name, x__xgafv=None)
Get AuthorizedViewSet

Args:
  name: string, Required. The name of the AuthorizedViewSet to get. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # An AuthorizedViewSet contains a set of AuthorizedView resources.
  "createTime": "A String", # Output only. Create time.
  "displayName": "A String", # Display Name. Limit 64 characters.
  "name": "A String", # Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}
  "updateTime": "A String", # Output only. Update time.
}
list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)
List AuthorizedViewSets

Args:
  parent: string, Required. The parent resource of the AuthorizedViewSets. (required)
  filter: string, Optional. The filter expression to filter authorized view sets listed in the response.
  orderBy: string, Optional. The order by expression to order authorized view sets listed in the response.
  pageSize: integer, Optional. The maximum number of view sets to return in the response. If the value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.
  pageToken: string, Optional. The value returned by the last `ListAuthorizedViewSetsResponse`. This value indicates that this is a continuation of a prior `ListAuthorizedViewSets` call and that the system should return the next page of data.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # The response from a ListAuthorizedViewSet request.
  "authorizedViewSets": [ # The AuthorizedViewSets under the parent.
    { # An AuthorizedViewSet contains a set of AuthorizedView resources.
      "createTime": "A String", # Output only. Create time.
      "displayName": "A String", # Display Name. Limit 64 characters.
      "name": "A String", # Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}
      "updateTime": "A String", # Output only. Update time.
    },
  ],
  "nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
}
list_next()
Retrieves the next page of results.

        Args:
          previous_request: The request for the previous page. (required)
          previous_response: The response from the request for the previous page. (required)

        Returns:
          A request object that you can call 'execute()' on to request the next
          page. Returns None if there are no more items in the collection.
        
patch(name, body=None, updateMask=None, x__xgafv=None)
Updates an AuthorizedViewSet.

Args:
  name: string, Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set} (required)
  body: object, The request body.
    The object takes the form of:

{ # An AuthorizedViewSet contains a set of AuthorizedView resources.
  "createTime": "A String", # Output only. Create time.
  "displayName": "A String", # Display Name. Limit 64 characters.
  "name": "A String", # Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}
  "updateTime": "A String", # Output only. Update time.
}

  updateMask: string, Optional. The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `display_name`
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # An AuthorizedViewSet contains a set of AuthorizedView resources.
  "createTime": "A String", # Output only. Create time.
  "displayName": "A String", # Display Name. Limit 64 characters.
  "name": "A String", # Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}
  "updateTime": "A String", # Output only. Update time.
}